Jump to content

Recommended Posts

Posted

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?

Posted
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.
Posted
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...

 

ofkrik.png

  • Thanks 2
Posted

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

Posted
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...

 

ofkrik.png

 

Thanks that's great! I do need to brush up on my powershell a bit more.

Posted
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...

 

ofkrik.png

 

this be useful in hunting down java versions when i do upgrades to the hated software

Posted
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"

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...