Install Google Drive for Desktop using Intune

Google Drive for desktop can be installed on Windows 10/11 devices. It allows you to manage your cloud files in Google Drive and collaborate/share content with other users. It automatically keeps your files in Sync with the online copy.

In this blog post, we will demonstrate the steps to Install the Google Drive for Desktop app on Intune-managed Windows devices. The Installer is available in .exe format. Therefore, we would use the Win32 app option for deployment.

Step 1: Download Google Drive for desktop App

Download the latest version of Google Drive for desktop using the link: https://www.google.com/drive/download/. Click on Download Drive for desktop to download it.

Download Google Drive for desktop App
Download Google Drive for desktop App

Step 2: Note down the Version number of the App

The next step is to check the app’s version number. We will need this information while creating the app deployment on the Intune admin center.

  • Right-click on the GoogleDriveSetup.exe and click on Properties.
  • Go to the Details tab and check the Product version number.
Note down the Version number of the App
Note down the Version number of the App

Step 3: Create IntuneWin file

The next step is to create an IntuneWin file, which is required when creating a Win32 app deployment on the Intune admin center. You can log in to any Windows 10 or Windows 11 device to create this file. Let’s check the steps.

  • Create a new folder and copy the setup file. You can name it anything you like. I will create a new folder in G:\ drive called GoogleDriveSetup for demonstration purposes.
  • Copy GoogleDriveSetup.exe into this folder. Ensure that only the setup file is in this folder.
Copy GoogleDriveSetup.exe into GoogleDriveSetup folder
Copy GoogleDriveSetup.exe into GoogleDriveSetup folder
  • Create a new folder where we will generate the .intunewin file. You can also use an existing folder. I have created a new folder in G:\ drive called Intunewin.
Create a new folder called IntuneWin
Create a new folder called IntuneWin
Download Win32 Content prep tool and extract its files
Download Win32 Content prep tool and extract its files
  • Launch Powershell using administrator rights and change the directory where the IntuneWinAppUtil.exe file is stored. For example: cd C:\IntuneContentPrepTool\
  • Run IntuneWinAppUtil.exe file and provide the below values:
    • Source Folder: Enter the folder where setup files are stored. G:\GoogleDriveSetup.
    • Setup File: Provide the file name to execute when the Win32 app is deployed on the target devices. We will provide GoogleDriveSetup.exe.
    • Output folder: Provide the folder name for generating the Intunewin file, such as G:\Intunewin.
    • Catalog folder: Type and press Enter.
Create Intunewin file for google drive for desktop app
Create Intunewin file for google drive for desktop app
  • GoogleDriveSetup.Intunewin file was created successfully in the G:\Intunewin folder. We will use this file for creating a Win32 app deployment on the Intune admin center to deploy the app.
Intunewin file has been created successfully
GoogleDriveSetup.Intunewin file has been created successfully

If you find any issues with creating Intunewin file, you can refer to the link: How to Create an IntuneWin file.

More Information

Step 4: Create Win32 App deployment

The next step is to create a Win32 app deployment from the Intune admin center using the Intunewin file we created in the previous step.

  • Sign in to the Intune admin center.
  • Click on Apps and then click on All Apps.
  • Click on + Add and Select Windows app (Win32) from the app type.

App Information

Click on Select app package file and browse to the Intunewin file. Provide Information in the mandatory fields below. The rest of the fields are optional but useful for application documentation and troubleshooting issues. For example:

  • Name: Google Drive for Desktop
  • Description: Google Drive for Desktop App
  • Publisher: Google
Upload GoogleDrivesetup.intunewin file
Upload GoogleDrivesetup.intunewin file
App Information tab for Google drive for desktop
App Information tab for Google drive for desktop

Program

Provide the install and uninstall commands. For information about Google Drive for desktop silent parameters, please refer to the Google support article here.

  • Install Command:
GoogleDriveSetup.exe --silent --desktop_shortcut
  • Uninstall Command:
%PROGRAMFILES%\Google\Drive File Stream\<VERSION>\uninstall.exe --silent --force_stop

Replace the <version> parameter in the command with the version number we checked at the beginning of this blog post. That is 89.0.2.0.

The --force_stop argument is required if Drive for Desktop is currently running. The --silent argument will suppress any prompts during uninstall.

Note about Uninstall command.
  • Installation time required (min): Keep default.
  • Allow available uninstall: Yes
  • Install behaviour: System
  • Device restart behaviour: No specific action
Program Tab Information for Google drive for desktop app
Program Tab Information for Google drive for desktop app

Requirements

You can specify the requirements that devices must meet to deploy the app. If your devices mix 32-bit and 64-bit types, check the boxes for 32-bit and 64-bit in the Operating system architecture drop-down. Otherwise, go with 64-bit. I have selected the options below.

  • Operating System Architecture: Select 64-bit
  • Minimum operating system: Select the minimum operating system needed to install the app, such as Windows 10 1607.

Detection rules

We will add a detection rule as below:

  • Rules Format: Select Manually configure detection rules
  • Rule Type: File
  • Path: C:\Program Files\Google\Drive File Stream\<version>
  • File or Folder: GoogleDriveFS.exe
  • Detection Method: File or Folder Exits
  • Associated with a 32-bit app on 64-bit clients: No
Detection rules for Google drive for desktop app
Detection rules for Google drive for desktop app

Dependencies

Click Next.

Supersedence

Click Next.

Assignments

Click on Add group to add an Entra security group containing users or devices.

Review + create

Review the deployment and click on Create.

Monitor App Deployment progress

You can follow the below steps to monitor the installation:

From the Intune admin center > Apps > All apps. Click on the deployment and check the Overview page to show the deployment status.

Monitoring Google drive for desktop deployment on Intune admin center
Monitoring Google drive for desktop deployment on Intune admin center

Sync Intune Policies

The device check-in process might not begin immediately. If you’re testing this policy on a test device, you can manually kickstart Intune sync from the device itself or remotely through the Intune admin center.

Alternatively, you can use PowerShell to force the Intune sync on Windows devices. Restarting the device is another way to trigger the Intune device check-in process.

End-User Experience

After completing the Intune device check-in process, I noticed a Google Drive for desktop App Window launched automatically. This confirmed that the app was installed on the device.

End user experience of Google drive for desktop app installation on Windows 11 device
End user experience of Google drive for desktop app installation on a Windows 11 device

You can also check the start menu and search for Google Drive to confirm the app’s installation.

Check the start menu to confirm Google drive for desktop app installation
Check the start menu to confirm Google drive for desktop app installation

Another way to check and confirm the app installation is by using Settings App > Apps > Installed Apps. Search for Google Drive, and it should list it on the page.

Check settings app to confirm Google drive for desktop app installation
Check settings app to confirm Google drive for desktop app installation

Uninstall Google Drive for desktop App using Intune

You may have the requirement to remove/uninstall Google Drive for the desktop app after the deployment from Intune. We have created a Win32 app deployment in the previous steps to deploy this app; we can also use the same app deployment to uninstall this app.

  • Open the Win32 app deployment for Google Drive for Desktop App.
  • Edit the Assignments and then Add a group containing devices from which you want to remove this app under the Uninstall section.
  • Please ensure the same device is not in both the Required and Uninstall sections.

Once the Assignments are updated to uninstall the app from the target device, It will execute the Uninstall command we specified in the Program tab:

%PROGRAMFILES%\Google\Drive File Stream\89.0.2.0\uninstall.exe --silent --force_stop
Uninstall Google Drive for desktop App using Intune

Leave a Comment