Running CMD.EXE as Local System 
Friday, July 27, 2007, 03:24 PM
This page helped me figure out how to debug a problem I was having trying to run a windows service: blogs.msdn.com

In short, you can create a service that will launch cmd.exe as the local system user, by running this:

sc.exe create testsvc binpath= "cmd /K start" type= own type= interact

Comments