• RSS
  • Twitter
  • FaceBook

Installing components from the command line

  • Section(s): Admin
  • Published on Jul 19, 2011.
  • Last Modified on Jul 09, 2010.
  • Last Modified by Mitch Tulloch.
  • Rated 5 out of 5 based on 1 votes.
How to install Windows Server 2003 R2 operating system components from the command line.

You can use the sysocmgr.exe command-line utility to install specific Windows Server 2003 R2 operating system components from the command line. For example, let's say you want to install only the Hardware Management subcomponent of the Managing and Monitoring Tools component. Here's how you could install this component from the command line:

Use Notepad to create a textfile named R2comp.inf that contains the following:

[Version]
Signature = "$Windows NT$"
[Components]
;Hardware Management
HWMGMT =on

Now type the following command at a command prompt:

sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:r2comp.inf

If you have feedback concerning this tip, please email me. And be sure to check out my website!

About Mitch Tulloch

Mitch Tulloch is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see www.mtit.com .


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred data recovery solution?