Last active
September 12, 2022 12:48
-
-
Save denisemenov/6a791679ab43d158ba00a06b5ac03b30 to your computer and use it in GitHub Desktop.
Add Yandex.Disk and Googlre Drive to the Windows Explorer Sidebar (Navigation Pane) - use bat or reg, but not both of them
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reg add HKCU\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e} /ve /t REG_SZ /d "Google Drive" /f | |
reg add HKCU\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\DefaultIcon /ve /t REG_EXPAND_SZ /d "C:\Program Files\Google\Drive\googledrivesync.exe" /f | |
reg add HKCU\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e} /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0x1 /f | |
reg add HKCU\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e} /v SortOrderIndex /t REG_DWORD /d 0x42 /f | |
reg add HKCU\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\InProcServer32 /ve /t REG_EXPAND_SZ /d %SYSTEMROOT%\system32\shell32.dll /f | |
reg add HKCU\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\Instance /v CLSID /t REG_SZ /d {0E5AAE11-A475-4c5b-AB00-C66DE400274E} /f | |
reg add HKCU\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\Instance\InitPropertyBag /v Attributes /t REG_DWORD /d 0x11 /f | |
reg add HKCU\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\Instance\InitPropertyBag /v TargetFolderPath /t REG_EXPAND_SZ /d "%USERPROFILE%\Google Drive" /f | |
reg add HKCU\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\ShellFolder /v FolderValueFlags /t REG_DWORD /d 0x28 /f | |
reg add HKCU\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\ShellFolder /v Attributes /t REG_DWORD /d 0xF080004D /f | |
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{b198de94-893d-4969-8d4c-02cd9589276e} /ve /t REG_SZ /d "Google Drive" /f | |
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v {b198de94-893d-4969-8d4c-02cd9589276e} /t REG_DWORD /d 0x1 /f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}] | |
@="Google Drive" | |
"SortOrderIndex"=dword:00000042 | |
"System.IsPinnedToNamespaceTree"=dword:00000001 | |
[HKEY_CURRENT_USER\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\DefaultIcon] | |
@=hex(2):43,00,3A,00,5C,00,50,00,72,00,6F,00,67,00,72,00,61,00,6D,00,20,00,46,00,69,00,6C,00,65,00,73,00,5C,00,47,00,6F,00,6F,00,67,00,6C,00,65,00,5C,00,44,00,72,00,69,00,76,00,65,00,5C,00,67,00,6F,00,6F,00,67,00,6C,00,65,00,64,00,72,00,69,00,76,00,65,00,73,00,79,00,6E,00,63,00,2E,00,65,00,78,00,65,00,00,00 | |
[HKEY_CURRENT_USER\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\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_CURRENT_USER\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\Instance] | |
"CLSID"="{0E5AAE11-A475-4c5b-AB00-C66DE400274E}" | |
[HKEY_CURRENT_USER\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\Instance\InitPropertyBag] | |
"Attributes"=dword:00000011 | |
"TargetFolderPath"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,47,00,6f,00,6f,00,67,00,6c,00,65,00,20,00,44,00,72,00,69,00,76,00,65,00,00,00 | |
[HKEY_CURRENT_USER\Software\Classes\CLSID\{b198de94-893d-4969-8d4c-02cd9589276e}\ShellFolder] | |
"Attributes"=dword:f080004d | |
"FolderValueFlags"=dword:00000028 | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{b198de94-893d-4969-8d4c-02cd9589276e}] | |
@="Google Drive" | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] | |
"{b198de94-893d-4969-8d4c-02cd9589276e}"=dword:00000001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reg add HKCU\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf} /ve /t REG_SZ /d "Yandex.Disk" /f | |
reg add HKCU\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\DefaultIcon /ve /t REG_EXPAND_SZ /d %USERPROFILE%\AppData\Roaming\Yandex\YandexDisk\YandexDisk.exe /f | |
reg add HKCU\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf} /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0x1 /f | |
reg add HKCU\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf} /v SortOrderIndex /t REG_DWORD /d 0x42 /f | |
reg add HKCU\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\InProcServer32 /ve /t REG_EXPAND_SZ /d %SYSTEMROOT%\system32\shell32.dll /f | |
reg add HKCU\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\Instance /v CLSID /t REG_SZ /d {0E5AAE11-A475-4c5b-AB00-C66DE400274E} /f | |
reg add HKCU\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\Instance\InitPropertyBag /v Attributes /t REG_DWORD /d 0x11 /f | |
reg add HKCU\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\Instance\InitPropertyBag /v TargetFolderPath /t REG_EXPAND_SZ /d %USERPROFILE%\YandexDisk /f | |
reg add HKCU\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\ShellFolder /v FolderValueFlags /t REG_DWORD /d 0x28 /f | |
reg add HKCU\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\ShellFolder /v Attributes /t REG_DWORD /d 0xF080004D /f | |
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf} /ve /t REG_SZ /d Yandex.Disk /f | |
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v {b642b9a1-4726-44bc-879a-5eb0b3b9efbf} /t REG_DWORD /d 0x1 /f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}] | |
@="Yandex.Disk" | |
"SortOrderIndex"=dword:00000042 | |
"System.IsPinnedToNamespaceTree"=dword:00000001 | |
[HKEY_CURRENT_USER\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\DefaultIcon] | |
@=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52,00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,59,00,61,00,6e,00,64,00,65,00,78,00,5c,00,59,00,61,00,6e,00,64,00,65,00,78,00,44,00,69,00,73,00,6b,00,5c,00,59,00,61,00,6e,00,64,00,65,00,78,00,44,00,69,00,73,00,6b,00,2e,00,65,00,78,00,65,00,00,00 | |
[HKEY_CURRENT_USER\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\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_CURRENT_USER\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\Instance] | |
"CLSID"="{0E5AAE11-A475-4c5b-AB00-C66DE400274E}" | |
[HKEY_CURRENT_USER\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\Instance\InitPropertyBag] | |
"Attributes"=dword:00000011 | |
"TargetFolderPath"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,59,00,61,00,6e,00,64,00,65,00,78,00,44,00,69,00,73,00,6b,00,00,00 | |
[HKEY_CURRENT_USER\Software\Classes\CLSID\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}\ShellFolder] | |
"Attributes"=dword:f080004d | |
"FolderValueFlags"=dword:00000028 | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}] | |
@="Yandex.Disk" | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] | |
"{b642b9a1-4726-44bc-879a-5eb0b3b9efbf}"=dword:00000001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment