Occasionally you may need to run a command or application as Local System, say a service application that doesn’t produce enough log information and fails due to security rights.
One way to do it is by scheduling a command through Windows Task Scheduler, as explained here:
But I find easier to use psexec.exe from Sysinternals’ PsTools package.
Not only you can run an application locally, but you can also use it to run it on another machine remotely; run psexec without parameters to get a list of options.
psexec –s cmd.exe