Thursday, June 13, 2013

Control a windows service remotely

,
Too many standups moving inside a networking environment to control services on different windows machines. This post will show you how to control a service remotely. Let's find out what's the name of the service which we're trying to control, to do so: sc.exe \\HOSTNAME query sc.exe is a service control application included in windows to control services in a remote computer. The previous command will query the computer 'hostname' to show all of it's available services and statuses. Now, it's time to control the service: sc.exe \\HOSTNAME stop "NAMEOFSERVICE" The...
Read more →