1RealTruth
10-18-2009, 03:24 AM
I need help starting and stopping services on a Remote Computer.
I do NOT want to use a 3rd party software such as PSExec, PSKill etc....
I also need to use a different Username and Password on each computer. I created a program that uses SC, Taskkill and Remote Desktop but SC has to be an admin.
I figured I would try the Net command but I don't know if you can use Net Stop or Net Start with a username and password. I know you can use Net User but I don't know if you can use Net User Start/Stop <ServiceName>?
I have done a ton of searches for this but it seems like everyone ends the thread with using SysInternals tools or something 3rd party that needs to be installed. I want this to be dynamic so it works on every Windows computer straight out of the box... Using only what Microsoft has standard on a Windows Computer.
Thank you
I do NOT want to use a 3rd party software such as PSExec, PSKill etc....
I also need to use a different Username and Password on each computer. I created a program that uses SC, Taskkill and Remote Desktop but SC has to be an admin.
I figured I would try the Net command but I don't know if you can use Net Stop or Net Start with a username and password. I know you can use Net User but I don't know if you can use Net User Start/Stop <ServiceName>?
I have done a ton of searches for this but it seems like everyone ends the thread with using SysInternals tools or something 3rd party that needs to be installed. I want this to be dynamic so it works on every Windows computer straight out of the box... Using only what Microsoft has standard on a Windows Computer.
Thank you