Shaun Cassells at MyITForum.com

SMS 2003 and ConfigMgr 2007, PowerShell, Scripting, Finance, Fitness and Fun

News

Locations of visitors to this page

3 methods to open a System Context command prompt

I was reading Chris Nackers post here: NT Authority Context Command Prompt

When it got me thinking of different ways to elevate your rights; I came up with two more:

  • 1) Using the system scheduled to launch a command prompt
    • a. at 16:30 /interactive cmd.exe
    • b. change the time to something soon
  • 2) SysInternals psexec
    • a. Psexec -s cmd.exe
    • b. Works great at opening as system on a remote machine too

Can you suggest any other quick methods?

Comments

cnackers said:

looks like you can do psexec -i -s powershell.exe as well, you need the -i though to see the powershell screen

# June 5, 2009 12:04 PM