Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

The Windows Services control panel by default opens showing the console tree on the left and in extended mode which consumes additional space on the left. In order to view as much information as possible the first thing I do is click the toolbar button to hide the console and click the Standard tab at the bottom and expand the name column. I know I could do this with a macro, but I was wonder if anyone knew of a way to do any of these things automatically, perhaps with a registry change or a command line parameter.

share|improve this question

3 Answers 3

up vote 3 down vote accepted

From a command line as administrator take ownership of the services.msc:

takeown /f C:\Windows\System32\en-US\services.msc
cacls C:\Windows\System32\en-US\services.msc  /G Administrators:F

Start MMC in author mode opening the services.msc file:

start mmc c:\Windows\System32\en-US\services.msc /a

When you are done select Save from the File menu.

This works for all management consoles. just take care to

  1. Use the correct folder (system32/en-us not system32).
  2. Take Ownership.
  3. Launch mmc in /author mode.
share|improve this answer
    
+1 Wow! Over a year later and you provide the permissions magic to make Evan Anderson's answer useful. –  Leigh Riffel Aug 9 '10 at 12:58

I do the same thing you do. You can modify the %SystemRoot%\system32\services.msc file to open in the view you want, but you'll need to do that for ever machine you're opening that file on.

share|improve this answer
    
OK, I found how to turn the Console Tree off by setting ScopePaneVisible="false", but I haven't found how to switch from Extended to Standard. –  Leigh Riffel Jun 2 '09 at 19:02
    
Oh! You're editing the raw XML file. I just re-saved "services.msc" after opening it with MMC. Based on comparing two different versions of the same base file (with the view toggled differently but otherwise identical), I'm not seeing exactly how the Standard / Extended status is stored. I'm having success, though, using an "services.msc" that's been opened w/ MMC, modified, and re-saved. I'd give that a shot before getting too bogged down in the XML. –  Evan Anderson Jun 2 '09 at 19:19
    
I didn't know you could edit the XML using the GUI, but it looks like you can. I copied the services.msc file and opened the copy by right clicking on it and choosing "Author". I then made all the changes I wanted then choose save from the file menu. This works great except that I have to launch my copy. I haven't figured out yet how to replace the original services.msc. –  Leigh Riffel Jun 2 '09 at 19:35

A lightweight alternative would be to use command line equivalents(net or sc), especially if you are just restarting the same services routinely.

share|improve this answer

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.