Skip to content

Sajal Choudhary

Garden Stream Nordletter Books About
Colophon Now Feeds
Evergreen TIL Shelf Stories Poems
Blog Micro Photos
Books Film TV Games
til powershell
Sajal Choudhary https://sajalchoudhary.net

How to Run Powershell as System Account

POWERSHELL

There are two ways to run your powershell script as the SYSTEM account:

  1. Use PsExec
Psexec.exe -i -s C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe`
  1. Create a scheduled task that runs it as system, use -User 'NT AUTHORITY\SYSTEM' .
Updated December 18, 2025 at 12:32 . Thoughts? Email me.
Posted to:
Mastodon Bluesky Threads
About Colophon Now Evergreen TIL Stories Poems Photos Bookshelf

© 2026 Sajal Choudhary

Streak New posts for 126 consecutive weeks