Show custom Windows 2000 components in Add/Remove Programs.
Posted: Tue Apr 22, 2003 3:09 pm
Credited to Paul Thurrow.
Removing Windows components after installation: A technology showcase
As I noted in my review of Windows 2000 professional Beta 3, one of the more annoying new "features" in this product is the removal of a custom install option, which allows the user to pick and choose the desired components that are installed during Setup. Windows 95, 98, and NT 4.0 offer this feature and I don't know of a single Windows NT administrator that doesn't choose the "Custom" option during install. Why it was removed has yet to be answered to my satisfaction.
In any event, you can script a Windows 2000 custom install if you're going to be installing a number of identical Windows 2000 Professional systems. This achieves the goal, in theory, of a custom install, but it's likely to be an option that is pursued at large installations only. What if you've already installed Beta 3 (Professional or Server) and would like to remove some of the more annoying Windows components, such as the accessibility features or
the games?
First stop: Add/Remove Programs
If you're like me, you were probably confused by the lack of a custom install. And, you probably went right to Control Panel --> Add/Remove Programs to get rid of some of the stuff you'd never have installed were you given the chance. But a quick look at the Windows Component Wizard (Figure 1), which is launched when you choose "Add/Remove Windows Components" from the Add/Remove Programs dialog, shows that none of these components are anywhere to be found. On a Professional setup, the following components are available for installation:
Internet Information Services (IIS)
Management and Monitoring Tools
Message Queuing Services (formerly MSMQ)
Microsoft Indexing Service (formerly Index Server)Microsoft Script Debugger
Networking Services
Other Network File and Print Services.
And that's it. No games. No Accessibility. No Communications.
But fear not, there is a way.
Time to edit an INF file
Hidden in the C:\WINNT\INF directory is a file called sysoc.inf. On my Windows 2000 Professional system, this file contains the following text:
[Version]
Signature = "$Windows NT$"
DriverVer=04/06/1999,5.00.2015.1
[Components]
NtComponents=ntoc.dll,NtOcSetupProc
Display=desk.cpl,DisplayOcSetupProc
Fax=faxocm.dll,FaxOcmSetupProc,faxsetup.inf,hide
NetOC=netoc.dll,NetOcSetupProc,netoc.inf
iis=iis.dll,OcEntry,iis.inf
com=comsetup.dll,OcEntry,comnt5.inf,hide
dtc=comsetup.dll,OcEntry,dtcnt5.inf,hide
IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf
msmq=msmqocm.dll,MsmqOcm,msmqocm.inf
ims=imsinsnt.dll,OcEntry,ims.inf
fp=fp40ext.dll,FrontPage4Extensions,fp40ext.inf
iisdbg=iisdbg.dll,ScrptDbg,iisdbg.inf
imagevue=ockodak.dll,ImagingOcEntry,imagevue.inf,hide
; old base components
Games=ocgen.dll,OcEntry,games.inf,HIDE
AccessTop=ocgen.dll,OcEntry,accessor.inf,HIDE
CommApps=ocgen.dll,OcEntry,communic.inf,HIDE
media_clips=ocgen.dll,OcEntry,mmopt.inf,HIDE
MultiM=ocgen.dll,OcEntry,multimed.inf,HIDE
AccessOpt=ocgen.dll,OcEntry,optional.inf,HIDE
Pinball=ocgen.dll,OcEntry,pinball.inf,HIDE
MSWordPad=ocgen.dll,OcEntry,wordpad.inf,HIDE
[PageAdd]
[Global]
WindowTitle=%WindowTitle%
WindowTitle.StandAlone=%WindowTitle_Standalone%
[Strings]
WindowTitle=Windows 2000 Professional Setup
WindowTitle_Standalone=Windows Components Wizard
The key here is the section titled "old base components." If you remove the ",HIDE" text from the lines in that section, those components will show up in Add/Remove Programs. You can also remove the ",hide" text from the Image Vue and Fax entries above it if you so desire. When you're done editing the file (it's wise to make a
backup first just in case), save it and re-run Add/Remove Programs.
Voila! The Add/Remove Programs we always wanted.
Now that's more like it. With this simple editing session, the Windows Component Wizard (again, launched from Add/Remove Programs) now allows you to uninstall the following components (Figure 2):
Accessibility Wizard Accessories - Calculator, Character Map, Clipboard Viewer, Desktop Wallpaper, Document templates, Mouse pointers, Object Packager, Paint, Screen Savers (OpenGL and Standard), WordPad Communications - Chat, HyperTerminal, Phone Dialer Games - FreeCell, Minesweeper, Pinball, Solitaire Imaging Microsoft
Fax Service
By removing the components you don't want and will never use, you can save hard drive space and tweak your system the way you want, not the way Microsoft hands it to you. And, as Martha Stewart would say, that's a good thing.
Removing Windows components after installation: A technology showcase
As I noted in my review of Windows 2000 professional Beta 3, one of the more annoying new "features" in this product is the removal of a custom install option, which allows the user to pick and choose the desired components that are installed during Setup. Windows 95, 98, and NT 4.0 offer this feature and I don't know of a single Windows NT administrator that doesn't choose the "Custom" option during install. Why it was removed has yet to be answered to my satisfaction.
In any event, you can script a Windows 2000 custom install if you're going to be installing a number of identical Windows 2000 Professional systems. This achieves the goal, in theory, of a custom install, but it's likely to be an option that is pursued at large installations only. What if you've already installed Beta 3 (Professional or Server) and would like to remove some of the more annoying Windows components, such as the accessibility features or
the games?
First stop: Add/Remove Programs
If you're like me, you were probably confused by the lack of a custom install. And, you probably went right to Control Panel --> Add/Remove Programs to get rid of some of the stuff you'd never have installed were you given the chance. But a quick look at the Windows Component Wizard (Figure 1), which is launched when you choose "Add/Remove Windows Components" from the Add/Remove Programs dialog, shows that none of these components are anywhere to be found. On a Professional setup, the following components are available for installation:
Internet Information Services (IIS)
Management and Monitoring Tools
Message Queuing Services (formerly MSMQ)
Microsoft Indexing Service (formerly Index Server)Microsoft Script Debugger
Networking Services
Other Network File and Print Services.
And that's it. No games. No Accessibility. No Communications.
But fear not, there is a way.
Time to edit an INF file
Hidden in the C:\WINNT\INF directory is a file called sysoc.inf. On my Windows 2000 Professional system, this file contains the following text:
[Version]
Signature = "$Windows NT$"
DriverVer=04/06/1999,5.00.2015.1
[Components]
NtComponents=ntoc.dll,NtOcSetupProc
Display=desk.cpl,DisplayOcSetupProc
Fax=faxocm.dll,FaxOcmSetupProc,faxsetup.inf,hide
NetOC=netoc.dll,NetOcSetupProc,netoc.inf
iis=iis.dll,OcEntry,iis.inf
com=comsetup.dll,OcEntry,comnt5.inf,hide
dtc=comsetup.dll,OcEntry,dtcnt5.inf,hide
IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf
msmq=msmqocm.dll,MsmqOcm,msmqocm.inf
ims=imsinsnt.dll,OcEntry,ims.inf
fp=fp40ext.dll,FrontPage4Extensions,fp40ext.inf
iisdbg=iisdbg.dll,ScrptDbg,iisdbg.inf
imagevue=ockodak.dll,ImagingOcEntry,imagevue.inf,hide
; old base components
Games=ocgen.dll,OcEntry,games.inf,HIDE
AccessTop=ocgen.dll,OcEntry,accessor.inf,HIDE
CommApps=ocgen.dll,OcEntry,communic.inf,HIDE
media_clips=ocgen.dll,OcEntry,mmopt.inf,HIDE
MultiM=ocgen.dll,OcEntry,multimed.inf,HIDE
AccessOpt=ocgen.dll,OcEntry,optional.inf,HIDE
Pinball=ocgen.dll,OcEntry,pinball.inf,HIDE
MSWordPad=ocgen.dll,OcEntry,wordpad.inf,HIDE
[PageAdd]
[Global]
WindowTitle=%WindowTitle%
WindowTitle.StandAlone=%WindowTitle_Standalone%
[Strings]
WindowTitle=Windows 2000 Professional Setup
WindowTitle_Standalone=Windows Components Wizard
The key here is the section titled "old base components." If you remove the ",HIDE" text from the lines in that section, those components will show up in Add/Remove Programs. You can also remove the ",hide" text from the Image Vue and Fax entries above it if you so desire. When you're done editing the file (it's wise to make a
backup first just in case), save it and re-run Add/Remove Programs.
Voila! The Add/Remove Programs we always wanted.
Now that's more like it. With this simple editing session, the Windows Component Wizard (again, launched from Add/Remove Programs) now allows you to uninstall the following components (Figure 2):
Accessibility Wizard Accessories - Calculator, Character Map, Clipboard Viewer, Desktop Wallpaper, Document templates, Mouse pointers, Object Packager, Paint, Screen Savers (OpenGL and Standard), WordPad Communications - Chat, HyperTerminal, Phone Dialer Games - FreeCell, Minesweeper, Pinball, Solitaire Imaging Microsoft
Fax Service
By removing the components you don't want and will never use, you can save hard drive space and tweak your system the way you want, not the way Microsoft hands it to you. And, as Martha Stewart would say, that's a good thing.