Created
February 7, 2018 18:33
-
-
Save knoxyca/e9631448c0e2ade7beaa18335d5e77bf to your computer and use it in GitHub Desktop.
Registry entry to add VSCode to the Context Menu for non Admin User. Adds to HKCU, to add system wide change HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE
This file contains hidden or 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\*] | |
| [HKEY_CURRENT_USER\Software\Classes\*\shell] | |
| [HKEY_CURRENT_USER\Software\Classes\*\shell\VSCode] | |
| @=hex(2):4f,00,70,00,65,00,6e,00,20,00,77,00,26,00,69,00,74,00,68,00,20,00,43,\ | |
| 00,6f,00,64,00,65,00,00,00 | |
| "Icon"=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,4d,00,69,00,63,00,72,00,6f,00,73,00,\ | |
| 6f,00,66,00,74,00,20,00,56,00,53,00,20,00,43,00,6f,00,64,00,65,00,5c,00,43,\ | |
| 00,6f,00,64,00,65,00,2e,00,65,00,78,00,65,00,00,00 | |
| [HKEY_CURRENT_USER\Software\Classes\*\shell\VSCode\command] | |
| @=hex(2):22,00,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,4d,00,69,00,63,00,72,00,6f,00,73,00,\ | |
| 6f,00,66,00,74,00,20,00,56,00,53,00,20,00,43,00,6f,00,64,00,65,00,5c,00,43,\ | |
| 00,6f,00,64,00,65,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,00,25,00,31,00,\ | |
| 22,00,00,00 | |
| [HKEY_CURRENT_USER\Software\Classes\directory] | |
| [HKEY_CURRENT_USER\Software\Classes\directory\background] | |
| [HKEY_CURRENT_USER\Software\Classes\directory\background\shell] | |
| [HKEY_CURRENT_USER\Software\Classes\directory\background\shell\VSCode] | |
| @=hex(2):4f,00,70,00,65,00,6e,00,20,00,77,00,26,00,69,00,74,00,68,00,20,00,43,\ | |
| 00,6f,00,64,00,65,00,00,00 | |
| "Icon"=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,4d,00,69,00,63,00,72,00,6f,00,73,00,\ | |
| 6f,00,66,00,74,00,20,00,56,00,53,00,20,00,43,00,6f,00,64,00,65,00,5c,00,43,\ | |
| 00,6f,00,64,00,65,00,2e,00,65,00,78,00,65,00,00,00 | |
| [HKEY_CURRENT_USER\Software\Classes\directory\background\shell\VSCode\command] | |
| @=hex(2):22,00,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,4d,00,69,00,63,00,72,00,6f,00,73,00,\ | |
| 6f,00,66,00,74,00,20,00,56,00,53,00,20,00,43,00,6f,00,64,00,65,00,5c,00,43,\ | |
| 00,6f,00,64,00,65,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,00,25,00,56,00,\ | |
| 22,00,00,00 | |
| [HKEY_CURRENT_USER\Software\Classes\directory\shell] | |
| [HKEY_CURRENT_USER\Software\Classes\directory\shell\VSCode] | |
| @=hex(2):4f,00,70,00,65,00,6e,00,20,00,77,00,26,00,69,00,74,00,68,00,20,00,43,\ | |
| 00,6f,00,64,00,65,00,00,00 | |
| "Icon"=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,4d,00,69,00,63,00,72,00,6f,00,73,00,\ | |
| 6f,00,66,00,74,00,20,00,56,00,53,00,20,00,43,00,6f,00,64,00,65,00,5c,00,43,\ | |
| 00,6f,00,64,00,65,00,2e,00,65,00,78,00,65,00,00,00 | |
| [HKEY_CURRENT_USER\Software\Classes\directory\shell\VSCode\command] | |
| @=hex(2):22,00,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,4d,00,69,00,63,00,72,00,6f,00,73,00,\ | |
| 6f,00,66,00,74,00,20,00,56,00,53,00,20,00,43,00,6f,00,64,00,65,00,5c,00,43,\ | |
| 00,6f,00,64,00,65,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,00,25,00,56,00,\ | |
| 22,00,00,00 | |
| [HKEY_CURRENT_USER\Software\Classes\Drive] | |
| [HKEY_CURRENT_USER\Software\Classes\Drive\shell] | |
| [HKEY_CURRENT_USER\Software\Classes\Drive\shell\VSCode] | |
| @=hex(2):4f,00,70,00,65,00,6e,00,20,00,77,00,26,00,69,00,74,00,68,00,20,00,43,\ | |
| 00,6f,00,64,00,65,00,00,00 | |
| "Icon"=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,4d,00,69,00,63,00,72,00,6f,00,73,00,\ | |
| 6f,00,66,00,74,00,20,00,56,00,53,00,20,00,43,00,6f,00,64,00,65,00,5c,00,43,\ | |
| 00,6f,00,64,00,65,00,2e,00,65,00,78,00,65,00,00,00 | |
| [HKEY_CURRENT_USER\Software\Classes\Drive\shell\VSCode\command] | |
| @=hex(2):22,00,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,4d,00,69,00,63,00,72,00,6f,00,73,00,\ | |
| 6f,00,66,00,74,00,20,00,56,00,53,00,20,00,43,00,6f,00,64,00,65,00,5c,00,43,\ | |
| 00,6f,00,64,00,65,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,00,25,00,56,00,\ | |
| 22,00,00,00 | |
| [HKEY_CURRENT_USER\Software\Classes\vscode] | |
| "URL Protocol"="" | |
| @="URL:vscode" | |
| [HKEY_CURRENT_USER\Software\Classes\vscode\shell] | |
| [HKEY_CURRENT_USER\Software\Classes\vscode\shell\open] | |
| [HKEY_CURRENT_USER\Software\Classes\vscode\shell\open\command] | |
| @="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" --open-url -- \"%1\"" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment