New
#1
[How-To] Context menu "Open elevated Command Prompt Here" without UAC
1. Create a newTask named OpenCmdHereAsAdminNoUAC and activate "Run with the highest privileges"
2. Go to the Actions Tab, create a new Action "Start a Program" choose "C:\Windows\System32\cmd.exe" and set the Working Directory (Start in) to %CURDIR%
3. Create a Shortcut named OpenCmdHereAsAdminNoUAC.
In the "Type the location of the item" Field type:
C:\Windows\System32\schtasks.exe /run /TN "\OpenCmdHereAsAdminNoUAC"
and copy the created Shortcut to C:\Windows\System32
Finally, add the attached "Add_Open_Command_Window Here_Admin_No_UAC.reg" to Registry.
Code:Windows Registry Editor Version 5.00 ; Created by: Darth Nukem ; Created on: 08_20_16 [HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHereAsAdminNoUAC] @="Open Command Window Here (Admin)" "HasLUAShield"="" [HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHereAsAdminNoUAC\command] @="cmd /s /c \"setx CURDIR \"%V\"& start c:\\windows\\system32\\OpenCmdHereAsAdminNoUAC.\"lnk\"& exit\"" [HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHereAsAdminNoUAC] @="Open Command Window Here (Admin)" "HasLUAShield"="" [HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHereAsAdminNoUAC\command] @="cmd /s /c \"setx CURDIR \"%V\"& start c:\\windows\\system32\\OpenCmdHereAsAdminNoUAC.\"lnk\"& exit\"" [HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHereAsAdminNoUAC] @="Open Command Window Here (Admin)" "HasLUAShield"="" [HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHereAsAdminNoUAC\command] @="cmd /s /c \"setx CURDIR %V& start c:\\windows\\system32\\OpenCmdHereAsAdminNoUAC.\"lnk\"& exit\"" [HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHereAsAdminNoUAC] "HasLUAShield"="" @="Open Command Window Here (Admin)" [HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHereAsAdminNoUAC\command] @="cmd /s /c \"setx CURDIR \"%V\"& start c:\\windows\\system32\\OpenCmdHereAsAdminNoUAC.\"lnk\"& exit\""