December 10 2011

Running program in SYSTEM context

This is an old trick, one that I have been using for many years, but I’ve never documented it. Often when working with SCCM, you will need to test how something will operate when running in the SYSTEM context (as opposed USER context) – scripts, exes, msis, lots of things. I’ve used the trick with PSEXEC, where you just run ‘psexec.exe -i -s cmd.exe’ and you are presented with a command prompt running in the SYSTEM context – from here you can run your test commands. There is a good writeup about it over here – if you need any further information.

I use a maximum of one Google Ad per post to help offset some of my blog hosting costs.


Tags: , , , ,

Posted December 10, 2011 by danovich in category "Scripting", "SMS / SCCM", "Tools", "Windows

Leave a Reply