

Now, wait while Google Drive is uninstalled and the remaining registry settings are found to be deleted. Then type product get name command and press Enter. In Command Prompt window, type wmic command and press Enter. Press Windows + R, type cmd, and press Ctrl + Shift + Enter to open elevated Command Prompt on Windows 10/11.
#Uninstall google drive plugin for office msi how to#
$uninstallResult - will have the exit code. Right-click the Google Drive icon and select Uninstall. How to Uninstall Programs Using CMD (Command Prompt) in Windows 10/11. $uninstall32 = gci "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" | foreach ).InvokeMethod("Create","$unInstallPath") This is very fast if you just know the name of the program you want to uninstall. The reason it was written as below is because it modifies the MSI to uninstall without intervention, which is not always the default case when using the native uninstall string.

I believe it's -First 1 but I'm not sure. This task will uninstall the MSI: Google Drive plug-in 1.6.6. Using the ARP (Add/Remove Programs) Applet. If there are more matches than 1 for the below script, it does not work and you must append the PowerShell filter that limits results to 1. If you never used this feature or have no need for this, then we would recommend you simply click the Uninstall plug-in button to continue with uninstalling the plug-in (And now you are done.I have not used PowerShell since, but I remember observing some issues: EDIT: Over the years this answer has gotten quite a few upvotes.
