-
Notifications
You must be signed in to change notification settings - Fork 1
/
PowerShell.reg
26 lines (22 loc) ยท 2.67 KB
/
PowerShell.reg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
๏ปฟWindows Registry Editor Version 5.00
%Author: EstebanMqz(www.github.com/EstebanMqz)
%regedit Existing Powershell & Powershell GUI Context Menus & Commands Deletion. - User's Option: Manual del)
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Powershell]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Powershell\command]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShell_ise]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShell_ise\command]
%% Create Windows PowerShell Registry Context Menu & Command
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShell]
@ = "PowerShell @ cd"
"Icon" = "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
MUIVerb = "PowerShell @ cd"
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShell\command]
@ = "C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe -NoExit -command Set-Location '%V'"
%% Create Windows PowerShell_ise Registry Context Menu & Command
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShell_ise]
@ = "PowerShell_ise GUI @ cd"
"Icon" = "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell_ise.exe"
MUIVerb = "PowerShell_ise GUI @ cd"
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShell_ise\command]
@ = "C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell_ise.exe"
="cmd /c start powershell_ise.exe"