Run cmd.exe process as System Account in Windows 7

  1. Download PsExec.exe (this is part of Sysinternals PsTools)
  2. Start command prompt (cmd) as Administrator
  3. Navigate to location of downloaded PsExec.exe
  4. Run: PsExec.exe -i -s cmd.exe
    -i - Run the program interactively
    -s - Run in the System account
    cmd.exe - Application to start

PsExec.exe -i -s cmd.exe

This will open another command prompt window which will run under Local System account. You can use the same method to start any other application in the System Account.

This works in Windows XP, Windows Vista and Windows 7. Another method which works only in Windows XP is described here.

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait