6

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...

2

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.

5

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

0

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.

  • On the command line, of course, you can also use PowerShell or WMI or sc.exe for performing any service related tasks. – jan bernlöhr Dec 7 '15 at 23:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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