ReverentCreature Posted December 7, 2017 Posted December 7, 2017 With file stream coming I need to withdraw Google Drive. Does anyone know the location of the file that does this or the command that's needed? Google say its outside of their scope of support and that I should use Control Panel manually on each computer!!! I can see that it might be MsiExec.exe /qn /norestart /X{93F80A63-936F-48FD-8496-0B01B08AEDD9}. How do I find out if this is the correct string or not?
6Foot2 Posted December 7, 2017 Posted December 7, 2017 This might be relevant/helpful: Link: Silent uninstall Google Drive client [spiceworks.com]
Katy Posted December 7, 2017 Posted December 7, 2017 HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall will give you the list of the GUIDs vs what they are, although it'd be a manual task to look through it you can at least confirm if it's right or not.
Arthur Posted December 7, 2017 Posted December 7, 2017 How do I find out if this is the correct string or not? Run the following in PowerShell... Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object { $_.DisplayName -match "Google" } | Select-Object -Property DisplayName, UninstallString You will then see the correct UninstallString to use... 2
ReverentCreature Posted December 7, 2017 Author Posted December 7, 2017 Hi Dave. Yes I saw that one but I didn't know how to locate the correct string in for MsiExec. I have just Googled PDQ which we don't have and stumbled across the command WMIC PRODUCT LIST which you can put into the command line. From here it gives the string but it also gives the location of the msi file. So now I have this I can uninstall the program! msiexec /x \\Curriculum-DC01\Apps$\GoogleDrive\2ec4661.msi /QN
ReverentCreature Posted December 7, 2017 Author Posted December 7, 2017 Run the following in PowerShell... Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object { $_.DisplayName -match "Google" } | Select-Object -Property DisplayName, UninstallString You will then see the correct UninstallString to use... Thanks that's great! I do need to brush up on my powershell a bit more.
6Foot2 Posted December 7, 2017 Posted December 7, 2017 ...now I have this I can uninstall the program!.. Glad you found an answer.
Arthur Posted December 7, 2017 Posted December 7, 2017 Thanks that's great! I do need to brush up on my powershell a bit more. Another benefit to the PowerShell method is that it's a lot quicker than WMIC and doesn't have the unfortunate side effect of reconfiguring every program installed from an MSI.
SHimmer45 Posted December 7, 2017 Posted December 7, 2017 Run the following in PowerShell... Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object { $_.DisplayName -match "Google" } | Select-Object -Property DisplayName, UninstallString You will then see the correct UninstallString to use... this be useful in hunting down java versions when i do upgrades to the hated software
Arthur Posted December 7, 2017 Posted December 7, 2017 this be useful in hunting down java versions when I do upgrades to the hated software For Java in particular, I have found the PowerShell App Deployment Toolkit a huge timesaver when it comes to uninstallation since you can either use the Remove-MSIApplications or Remove-MSIApplications functions to remove every single JRE version all in one hit. Remove-MSIApplications -Name 'Java' -FilterApplication (,('InstallLocation','*:\Program Files*','WildCard'),('Publisher','Oracle Corporation','Exact')) -ContinueOnError $True or # Uninstall all existing JREs (versions 1.4.x - 1.8.x) Remove-MSIApplications "Java 2 Runtime Environment" Remove-MSIApplications "J2SE Runtime Environment 5.0" Remove-MSIApplications "Java(TM) 6 Update" Remove-MSIApplications "Java 7 Update" Remove-MSIApplications "Java 8 Update" 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now