Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Latest commit

 

History

History
55 lines (49 loc) · 4.83 KB

Windows-registry.md

File metadata and controls

55 lines (49 loc) · 4.83 KB

Add a link pointing to the mountpoint in the Windows explorer

We defined the app guid as 6C37F945-7EFC-480A-A444-A6D44A3D107F (any guid would do). Below are all registry keys to be added, with the value they should take.

HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\(Default) REG_SZ Parsec
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\SortOrderIndex REG_DWORD 0x42
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\System.IsPinnedToNamespaceTree REG_DWORD 0x1
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\DefaultIcon\
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\DefaultIcon\(Default) REG_SZ <PATH_PARSEC_EXE>,0
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\InProcServer32\(Default) REG_EXPAND_SZ %SYSTEMROOT%\system32\shell32.dll
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\Instance\
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\Instance\CLSID REG_SZ {0E5AAE11-A475-4c5b-AB00-C66DE400274E}
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\Instance\InitPropertyBag\
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\Instance\InitPropertyBag\Attributes REG_DWORD 0x11
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\Instance\InitPropertyBag\TargetFolderPath REG_SZ <PATH_MOUNTPOINT>
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\ShellFolder\
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\ShellFolder\Attributes REG_DWORD 0xf080004d
HKEY_CURRENT_USER\Software\Classes\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\ShellFolder\FolderValueFlags REG_DWORD 0x28

HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\(Default) REG_SZ Parsec
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\SortOrderIndex REG_DWORD 0x42
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\System.IsPinnedToNamespaceTree REG_DWORD 0x1
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\DefaultIcon\
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\DefaultIcon\(Default) REG_SZ <PATH_PARSEC_EXE>,0
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\InProcServer32\(Default) REG_EXPAND_SZ %SYSTEMROOT%\SysWow64\shell32.dll
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\Instance\
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\Instance\CLSID REG_SZ {0E5AAE11-A475-4c5b-AB00-C66DE400274E}
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\Instance\InitPropertyBag\
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\Instance\InitPropertyBag\Attributes REG_DWORD 0x11
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\Instance\InitPropertyBag\TargetFolderPath REG_SZ <PATH_MOUNTPOINT>
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\ShellFolder\
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\ShellFolder\Attributes REG_DWORD 0xf080004d
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\ShellFolder\FolderValueFlags REG_DWORD 0x28

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{6C37F945-7EFC-480A-A444-A6D44A3D107F}\(Default) REG_SZ Parsec

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel\{6C37F945-7EFC-480A-A444-A6D44A3D107F} REG_DWORD 0x1

Add the handling of parsec:// protocol (Parsec app will be opened if such a link is clicked)

HKEY_CLASSES_ROOT\parsec\
HKEY_CLASSES_ROOT\parsec\(Default) REG_SZ URL:parsec protocol
HKEY_CLASSES_ROOT\parsec\URL Protocol REG_SZ <no value>
HKEY_CLASSES_ROOT\parsec\DefaultIcon\
HKEY_CLASSES_ROOT\parsec\DefaultIcon\(Default) REZ_SZ parsec.exe
HKEY_CLASSES_ROOT\parsec\Shell\
HKEY_CLASSES_ROOT\parsec\Shell\Open\
HKEY_CLASSES_ROOT\parsec\Shell\Open\Command\
HKEY_CLASSES_ROOT\parsec\Shell\Open\Command\(Default) REZ_SZ "<PATH_PARSEC_EXE>" -- "%1" (this still needs a little investigation)