Friday, May 12, 2017

Running commands as system on windows 10

Playing god on windows 10 :)

the method is to run PSEXEC which is part of windows pstools


Run - > cmd as Administrator

psexec -i -s cmd

A new command prompt window will pop-out with system privileges

Now you can almost any command with elevated privileges

C:\Windows\system32>start regedit