If you don’t have it, download the PsTools Suite(link). PsTools is a subset of Sysinternals, a great compilation of extremely useful Windows utilities. Unzip PsTools to its own folder, preferably a root folder – mine is on G drive.
Next, copy a Command Prompt shortcut from the All Programs Menu to the Desktop. Right-click and select Properties, and on the Shortcut tab click the Advanced button. Put a check in the box by “Run as administrator”. It should already have a check by “run in separate memory space”.
Now change the command line in the “Target” field. My PsTools folder is on G drive, so mine is:
”C:Windowssystem32cmd.exe /c G:pstoolspsexec -i -s cmd.exe”.
What this produces is a System Level Command Prompt. A word of caution here; it is a powerful tool.
I use Regedit frequently, so I also have this one:
”C:Windowssystem32cmd.exe /c G:pstoolspsexec -i -s cmd.exe /c C:Windowsregedit.exe”
Using my System level Regedit, if I come across a TrustedInstaller key I want to modify, I can give ownership to SYSTEM, rather than Administrators, and make my modifications without side effects.
— edit — ( :fanfare: to RetiredGeek for this tip) I’ve changed the /k switch to the /c switch in my example shortcuts. Using the /c switch, closing the app opened using the System Level Command prompt closes the open Console windows as well. — /edit —
…and a visual: