Geeks With Blogs

News
kazim mehdi August 2011 Entries
Stop/Start windows service remotely. Wait till it stops completely
I have to update the windows service.exe and related dll by using console on remote computer. I tried net start <servicename> but it not allowed to query or issue command on the remote computer. then I tried sc & PsService from SysInternals. sc \\<ServerName> stop <ServiceName> PsService \\<ServerName> stop <ServiceName> the problem is both of them issue stop command and returned the control but I want to sure that service is stopped completely so that I can update ......

Posted On Monday, August 1, 2011 11:55 AM

Copyright © kazim sardar mehdi | Powered by: GeeksWithBlogs.net