Pin Google Drive to File Explorer Navigation Pane

When you install Google Drive Backup and Sync client, the Google Drive folder is pinned to the Quick Access area, but isn’t shown as a separate category (like OneDrive or Dropbox). To Pin Google Drive to the left pane in File Explorer, you need to create a custom shell folder object and add the System.IsPinnedToNamespaceTree DWORD registry value, setting its value data to 1. (Example)

Pin Google Drive to the Explorer Navigation pane Using Registry Edit

Download the registry files, unzip and run the appropriate REG file, logoff and login back for the change to take effect.

You should see Google Drive Pinned as a separate item on the navigation pane.

pin google drive to explorer navigation pane

If you decide to remove Google Drive from the navigation pane, run the undo REG file gdrive-undo.reg.

REG File Contents

Windows Registry Editor Version 5.00
@="Google Drive"




@="Google Drive"

@="C:\\Program Files\\Google\\Drive\\googledrivesync.exe,0"



That’s it! This adds Google Drive icon to the File Explorer navigation pane.

The above registry settings were last tested with Google Backup & Sync Version 3.43.4275.9540.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded in 2005.

30 thoughts on “Pin Google Drive to File Explorer Navigation Pane”

  1. This works as I expected except in one instance: when I am asked by my browser or a third party program to navigate to a file to upload and I click the Gdrive icon it says the path doesn’t exist. Otherwise, there are no problems.

    • @Earl: Not sure why this happens. May be you can export the registry key and send it (or upload somewhere). I’ll see if I can repro the problem.

  2. These .reg files do NOT work if you have selected a different path than
    %USERPROFILE%\Google Drive
    like I did.

    I that case you need to change the two “TargetFolderPath” variables and insert the ascii hex string of your destination. You can use this tool for converting back and fourth:

    Remember to add “00” every two characters and add “,00,00” to the end. You don’t need the \ and if can fit in one line.

  3. Doesn’t work with google drive not in the default folder. The undo reg file doesn’t work either. Now stuck with shitty explorer setup. Thanks, no thanks.

    • @Neah. If you’re comfortable using regedit.exe, then you can alter the “TargetFolderPath” value to reflect the actual Google Drive folder path.

    • @Neah: I’ve updated the “undo” REG file inside the old one seemed to have some encoding issues. Pls download it again and run it.

  4. I can’t seem to remove quick access now, everything is where it should be. It tells me the undo isn’t a registry file. Any suggestions?

    • @VES: I’ve updated the “undo” REG file inside the old one seemed to have some encoding issues. Pls download it again and run it.

  5. In my win10 64 bits, the path for GoogleSync is at “Program Files” (64 bits version) and not “Program Files (x86)” as in your 64bits reg file.

    So for anyone that has the same config pls run the 32bits version.


  6. Hi, Ramesh. Thanks for the code. It actually helped a lot, but I had to do some minor customization: my Google Drive folder is not located in the default path, so I altered the “TargetFolderPath” value to reflect the actual folder. Also, as commented above by Daniel Crespo, the filenames “gdrive 32-bit.reg” and “gdrive 64-bit.reg” are inverted. So i used “gdrive 32-bit.reg” in my 64bit Windows 10 for it to set the correct path. Finally, the icon displayed by default is the Backup and Sync from Google icon and not Google Drive icon. So I substituted “googledrivesync.exe” for “contextmenu64.dll” and everything worked like a charm!

  7. Instead of the Google Drive icon (the little blue-green-yellow triangle), I’m getting a standard folder icon. Is it possible to change that?

  8. Hi Ramesh,
    Thanks for creating this. Before I use it, I want to ask a few things because I’m not familiar with editing a .reg file. Also, I’m using Win7Pro 64bit.
    – I would like to put the google drive in windows explorer and in the end have it appear as GoogleDriveNET (P:) just in front of the usual windows explorer drive icon in the left pane of explorer.

    Is this possible using what’ you’ve provided above for windows 10 (will it work the same for win7Pro 64?)
    Are there any mods I need to do to the .reg file to make it work the way I described above?
    Thanks for your help and I really appreciate it.

  9. 31/5/2019

    I tried it and it does indeed create two ‘google drive’ entries, one with a brown box, the other with the triangular logo. But neither leads me to the tree of my google drive, so they are of little use. What to do?
    w64 version, toshiba w10 laptop.

    • @Ed: “%USERPROFILE%\Google Drive” is the default folder path for Google Drive. Can you verify if it’s the same in your system?

  10. @Turing Machine – I am having the same problem. Standard yellow folder; not the Google Drive icon.

    Does anyone know how to fix?

  11. Can I edit this if I have two different accounts syncing and want to pin both? I tried generating a new unique ID and changing the name to match the new sync which was something like “Google Drive ([email protected])” It is pinned with the correct name but the file structure is the one from “Google Drive”

  12. I figured out my issue by reading your “How to Add a Custom Folder under “This PC” in Explorer” article. I just needed to rename the TargetFolderPath in the InitPropertyBag subkeys to my other drive’s location. Thanks for these excellent guides, was so helpful!

  13. Hello, this didn’t work for me and now I have a folder saying Google Drive, that I cannot remove. How can I remove it_

    Any help is appreciated.

  14. Thank you Ramesh and thanks also to ‘Some additional info’ and ‘Rod Cos’ as I managed to get it working with your combined help.


Leave a Comment