What is your favorite method of launching CMD.EXE as Local System? I found the following method after a little experimentation. Just run the command below to create a generic service called TESTSVC.

C:\>sc create testsvc binpath= "cmd /K start" type= own type= interact

[SC] CreateService SUCCESS


Then, whenever you need a new CMD running as Local System, just start the service, and a new CMD window will appear on the console desktop. You can ignore the error 1053, which is "by design" :-)


C:\>sc start testsvc

[SC] StartService FAILED 1053:


The service did not respond to the start or control request in a timely fashion.



P.S. If you are interested in technical details, I added a detailed discussion in this article...