Software >> OS >> Windows >> Command Line >> How to use psexec to run cmd prompt with SYSTEM Privilege

locally

Firstly open CMD prompt with "Run as administrator"

from the cmd prompt

psexec -i -s -d CMD.exe

 

to run on remote system

psexec \remote_computer_name -i -s -d cmd.exe

or with username & password

psexec \remote_computer_name -u username -p password_or_password_hash -i -s -d cmd.exe