Welcome › Forums › General PowerShell Q&A › Running powershell in System Context
This topic contains 3 replies, has 2 voices, and was last updated by
Kindly help me running powershell in system context i.e. using NT AUTHORITY\SYSTEM without using psexec tool.
I have to run dsregcmd /debug command, kindly suggest any alternative.
you could call your script from a scheduled task running as system
Thanks a lot Simon for quick response. I'll try running it as task scheduler, but in case if task scheduler is not a option, do we have any other alternative?
Another option you may try from this blog, I know it is for cmd.exe but should still work for powershell
Two ways to launch a Windows Command Prompt as user SYSTEM
The topic ‘Running powershell in System Context’ is closed to new replies.