New
#400
I figured it out. Set targetfolderpath to regsz string and use D:\, E:\, F:\, etc. depending on what the letter is, for the value.
I figured it out. Set targetfolderpath to regsz string and use D:\, E:\, F:\, etc. depending on what the letter is, for the value.
Hello, and welcome.
The remove option in this tutorial only works if you used step 2 to add it. Otherwise, it may have been added by Google Drive instead.
Export the two keys below as REG files, then upload the REG files here to see if we can spot the entries for this Google Drive.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel
I found the registry entry for your Google Drive in the navigation pane. The REG file below should remove it for you.
Remove_Google_Drive_from_navigation_pane.reg
(Contents of REG file for reference)
Code:Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\CLSID\{81539FE6-33C7-4CE7-90C7-1C7B8F2F2D41}] "System.IsPinnedToNamespaceTree"=dword:00000000 [-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{81539FE6-33C7-4CE7-90C7-1C7B8F2F2D41}] [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] "{81539FE6-33C7-4CE7-90C7-1C7B8F2F2D41}"=-
Hello Brink,
I normally add more than one, up to 4 google drives. Please could you let me know as to how the reg. file can be updated by me.
For now, I need to add a second drive icon the target paths are below:Drive: "Y:\Google Drive Jashnani.Apps"Program: "C:\Program Files\Google\Drive File Stream"
The 1st drive Icon that is working correctly is:Drive: "Y:\Google Drive Harkishan"Program: "C:\Program Files\Google\Drive File Stream"
If possible please let me know as to how I could modify the reg to add more drive icons in future
Please find the existing registry entries in the attached file
Thank You for any help you can offer.
Existing Drive Icon Registry
- The icon that has been added and is working is:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B6}]
@="Harkishan Google"
"SortOrderIndex"=dword:00000042
"System.IsPinnedToNamespaceTree"=dword:00000001
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B6}\DefaultIcon]
@="C:\\Program Files\\Google\\Drive File Stream\\drive_fs.ico"
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B6}\InProcServer32]
@=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,54,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B6}\Instance]
"CLSID"="{0E5AAE11-A475-4c5b-AB00-C66DE400274E}"
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B6}\Instance\InitPropertyBag]
"Attributes"=dword:00000011
"TargetFolderPath"="Y:\Google Drive Harkishan"
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B6}\ShellFolder]
"FolderValueFlags"=dword:00000028
"Attributes"=dword:f080004d
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B6}\TypeLib]
@="{E27EC053-3263-4908-8ECD-5AFDFB754728}"
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B6}\Version]
@="1.0"
- Based on the above I tried using the script below, for the 2nd drive icon but it did not work.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B7}]
@="Jashnani.Apps"
"System.IsPinnedToNamespaceTree"=dword:00000001
"SortOrderIndex"=dword:00000042
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B7}\DefaultIcon]
@="C:\\Program Files\\Google\\Drive File Stream\\drive_fs.ico"
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B7}\InProcServer32]
@=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,54,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B7}\Instance]
"CLSID"="{0E5AAE11-A475-4c5b-AB00-C66DE400274E}"
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B7}\Instance\InitPropertyBag]
"Attributes"=dword:00000011
"TragetFolderPath"="Y:\\Google Drive Jashnani.Apps"
[HKEY_CLASSES_ROOT\CLSID\{CFE8B367-77A7-41D7-9C90-75D16D7DC6B7}\ShellFolder]
"FolderValueFlags"=dword:00000028
"Attributes"=dword:f080004d
Hello @jasu
The post below can help show you more about the basics of the registry entries that need to be modified for a different Google Drive location to help.
Add or Remove Google Drive from Navigation Pane in Windows 10
When you add more than one Google Drive, each one will need a unique GUID created using the method below.
Generate Globally Unique Identifier (GUID) in Windows
To further help, you can use the custom add and remove REG files in the post below as a template since they're for two Google Drives.
Add or Remove Google Drive from Navigation Pane in Windows 10
Once you go through all the above and have some fun testing, please just let me know if you have any questions.