TO INSTALL
- Create a file named: admin-terminal.reg
- open the file with notepad and add the following:
Windows Registry Editor Version 5.00
; Add “Open Terminal as Administrator” to standard right-click context menu
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
@=”Open Terminal as Administrator”
“HasLUAShield”=””
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command]
@=”powershell.exe -windowstyle hidden -Command \”Start-Process wt.exe -ArgumentList ‘-d’, ‘\”%V\”‘ -Verb RunAs\””
3. Save and double click – now when you right click in Windows explorer, you can choose “More Options” and “Open Terminal in Administrator”
To UNINSTALL
- Create a file named: admin-terminal-remove.reg
- open the file with notepad and add the following:
Windows Registry Editor Version 5.00
; Remove “Open Terminal as Administrator” from right-click context menu
[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
3. Save and doubnle click – it will be removed from context menu
Leave a Reply