Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to start services.msc already attached to a remote system (e.g. from command line)? I want to avoid clicking Action -> Connect to remote computer, because I have to do it so often...

share|improve this question
up vote 2 down vote accepted

Start mmc.exe and create a new, custom console that contains the objects you want to use.

You can store these and run them from anywhere as long as they contain remote machine names.

share|improve this answer

services.msc /computer=Gregg1

I thought this wasn't possible, but after I found this other question & answer it worked wonders for me! They listed the better tool (Computer Management) which shows Event Viewer, Services, Disk Management, Device Manager: compmgmt.msc -a /computer=Gregg1

The -a doesn't appear to be necessary, I am honestly confused what it does even after reading the mmc documentation on it

share|improve this answer

Sorry for reviving a dead post but for anyone searching for this answer, another option is to use the sc.exe command line tool. It will allow you to manipulate services at the command line.

http://technet.microsoft.com/en-us/library/bb490995.aspx

Another possible alternative (that I'm currently using but trying to get rid of(hence how I found this post lol)) is using a custom built Auto-It macro that opens the plugin and goes through the step-by-step that you're trying to avoid. I do the same with the printmanagement.msc, msinfo32, and regedit tools as well.

share|improve this answer
    
On the command line, of course, you can also use PowerShell or WMI or sc.exe for performing any service related tasks. – janm Dec 7 '15 at 23:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.