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