Skip to content

Instantly share code, notes, and snippets.

@schlarpc
Last active August 29, 2015 14:02
Show Gist options
  • Save schlarpc/8b61ed6a0d72317ba8dc to your computer and use it in GitHub Desktop.
Save schlarpc/8b61ed6a0d72317ba8dc to your computer and use it in GitHub Desktop.
Registry settings for PowerShell on right click
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\powershell]
@="Open PowerShell here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\powershell\command]
@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -nologo -noexit"
[HKEY_CLASSES_ROOT\Directory\shell\powershell]
@="Open PowerShell here"
[HKEY_CLASSES_ROOT\Directory\shell\powershell\command]
@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -nologo -noexit -command set-location -literalpath '%L'"
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\powershell]
@="Open PowerShell here"
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\powershell\command]
@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -nologo -noexit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment