Running powershell in System Context

This topic contains 3 replies, has 2 voices, and was last updated by  Simon B 1 week, 2 days ago.

  • Author
    Posts
  • #98347

    amit aman
    Participant

    Hi Team,

    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.

    Thanks,

  • #98350

    Simon B
    Participant

    you could call your script from a scheduled task running as system

    • #98353

      amit aman
      Participant

      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?

  • #98380

    Simon B
    Participant

    Another option you may try from this blog, I know it is for cmd.exe but should still work for powershell

You must be logged in to reply to this topic.