This tip was submitted to the SearchWin2000 Tip Exchange by member Robert Shahon. Let other users know how useful it is by rating the tip below.
I first mentioned this technique in an old Technology Showcase for Windows 2000, but it still works in Windows XP and can be quite useful. For some reason, Microsoft has removed the ability to specify which Windows components you want to install during interactive setup, and when you go into Add/Remove Windows Components in the Control Panel, you still don't have the full list of applications and applets you can add and remove. Thankfully, this is easy to fix.
To dramatically expand the list of applications you can remove from Windows XP after installation, navigate to C:WINDOWS//inf (substituting the correct drive letter for your version of Windows,) and open the "sysoc.inf" file. Under Windows XP Professional Edition, this file will resemble the following by default:
Signature = "$Windows NT$"
IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf,,7
TerminalServer=TsOc.dll, HydraOc, TsOc.inf,hide,2
The entries that include the text hide or HIDE will not show up in Add/Remove Windows Components by default. To fix this, do a global search and replace for ",hide" and change each instance of this to "," (a comma). Then, save the file, relaunch Add/Remove Windows Components and tweak the installed applications to your heart's content.
This was first published in June 2002