New
#160
Kbird and Brink,
I too have seen the overlay icons not appearing in all places. I have been working on other updates and have discovered that it is just a matter of waiting long enough. Eventually, they all appear. Also, the sync program must be running.
I also noticed that OneDrive recently updated and how has more spaces in front of the icon overlay names than Dropbox. This will push Google Drive further down the priority list. I have updated the batch file to include a menu to prioritize the Google Drive overlays by preceding them with the 0x01 character ... thus sorting before any names with leading spaces. So, while the cloud drives battle it out by adding more spaces to the front of the names, this will override all of them ... until they catch on to this idea, or Microsoft finally fixes the 15 icon overlay limit.
My updated "Add Google Drive to Navigation Pane - Version 2018-03-05.bat" can be found here:
https://drive.google.com/file/d/1f2h...ew?usp=sharing
Regarding fixes ...
https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx
Shows to add everything to HKEY_CURRENT_USER, nothing to HKEY_CLASSES_ROOT.
The .reg files are writing values to HKEY_CLASSES_ROOT, which is global. I doesn't make sense to add the keys globally, as other users may not use Google Drive Sync.
Registry virtualization makes this confusing to observe.
1. reg add HKEY_CURRENT_USER\Software\Classes\CLSID\{3935ea0f-5756-4db1-8078-d2baf2f7b7b2} /f /ve /t REG_SZ /d "Google Drive"
2. reg query HKEY_CURRENT_USER\Software\Classes\CLSID\{3935ea0f-5756-4db1-8078-d2baf2f7b7b2} /ve
3. Virtual values are seen at: reg query HKEY_CLASSES_ROOT\CLSID\{3935ea0f-5756-4db1-8078-d2baf2f7b7b2}
4. The virtual values override matching global registry values.
Also:
The "remove" sections in both the add and remove .reg files are missing the "-" in the keys and add the values instead of deleting them.
You can observe the problem by using the new "View associated registry entries" feature in the batch file.
The batch file was not running with administrator privileges and was not able to remove those HKEY_CLASSES_ROOT conflicting values.
I have updated the batch file to delete the HKEY_CLASSES_ROOT keys as administrator as a cleanup process when adding or deleting the Google Drive at the Navigation Pane.
I do not run the entire script as administrator so that restarting explorer does not accidentally elevate its privileges. The script will ask for permission only as needed.
KBird, if you choose to take the time to try the batch file again, please let me know your results.
Any feedback on how to improve this is appreciated. Thank you.