Share via

Uninstalling Google Drive through Win32 not Powershell

Alex Demetriou 40 Reputation points
Jul 16, 2024, 5:05 PM

So, I'm trying to have Intune uninstall Google Drive, and I'm using the Intune Win Utility. I have tried both way. Neither work. The Registry Key is correct, I've checked it multiple times. The only thing I can think of is that the uninstall command is wrong, though no idea how to proceed from here.

User's image

User's image

User's image

User's image

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
2,053 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
998 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,570 questions
0 comments No comments
{count} votes

Accepted answer
  1. ZhoumingDuan-MSFT 17,075 Reputation points Microsoft External Staff
    Jul 17, 2024, 1:54 AM

    @Alex Demetriou, Thanks for posting in Q&A.

    From your description, I know you want to uninstall Google Drive via Intune win32 but failed.

    Based on my research, only silently install and uninstall command can be work via Intune win32, and it seems that you got the wrong install and uninstall command, so that you cannot uninstall Google Drive successfully.

    Here is a link with correct install and uninstall command you can refer.

    https://silentinstall.info/how-to-silent-install-and-google-drive-desktop/

    Non-official, just for reference.

    Hope it will help.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


2 additional answers

Sort by: Most helpful
  1. glebgreenspan 2,240 Reputation points
    Jul 16, 2024, 5:44 PM

    Hello Alex

    You are correct you need to change Uninstall Command

    Use the correct parameters:

    When running the uninstall command, make sure you're using the correct parameters. For example, if the uninstall command is "MsiExec.exe /x{8B018C4C-8B3D-4F9E-A7A0-B6B9CEB0F5F5}", you might need to add additional parameters like /quiet or /norestart to complete the uninstallation process.

    For Uninstall string:

    Drive. You can find this information in the registry key you mentioned earlier (HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Google\Drive). Look for the "UninstallString" value and note down the command.

    Here can be this step as well

    • Google Drive install command: “GoogleDriveSetup.exe” –silent –desktop_shortcut –skip_launch_new –gsuite_shortcuts=false
    • Google Drive Uninstall command: “%ProgramW6432%\Google\Drive File Stream\88.0.0.0\uninstall.exe” –silent –force_stop

  2. Pavel yannara Mirochnitchenko 12,916 Reputation points MVP
    Jul 16, 2024, 9:15 PM

    Both your install and uninstall parameters are missing silent switches.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.