How can I launch an interactive cmd prompt running in SYSTEM context?
Hello all, In XP one could launch this by using at TIME /interactive cmd and it would pop up ausablecmd prompt. However my attempts to launch this in win7 with the equiv schtasks or the GUI result only in the process being spawned with no interactive function. The reason why this is quite important for me is I use SC:Configuration Manager to manage our software and it runs all applications in an administrative context (Local System). In XP I would load up a cmd prompt and test how the apps react to being rolled out in a non-user profile way. The inability to do this in Win7 is really frustrating :S Any help would be very much appreciated, thankyou -Dan
September 16th, 2009 3:47am

Hello Dan, To run CMD by local SYSTEM account, you can use the following method: 1. Run CMD as administrator and then type in the followling command lines: sc create testsvc binpath= "cmd /K start" type= own type= interact sc start testsvc 2. You will get a popup window from "Interactive Services Detection". Click View the message. Then you will receive a cmd promptrunning by SYSTEM. More information, please refer the followling link: http://blogs.msdn.com/adioltean/articles/271063.aspx
Free Windows Admin Tool Kit Click here and download it now
September 17th, 2009 12:28pm

Thanks very much. I tried some of the sc stuff but it was from XP, glad to know there's still a way to do it :)
September 21st, 2009 3:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics