Windows XP Hacks Free Open Book

Windows XP Hacks

Previous Section Next Section

Hack 17 Remove "Uninstallable" XP Utilities

figs/moderate.giffigs/hack17.gif

Think you can't uninstall Windows Messenger, WordPad and similar components? Think again. This hack shows you how.

Windows has always had a problem with uninstalling software, and it's particularly poor at uninstalling its own utilities, such as WordPad or Windows Messenger. Uninstalling these utilities can free up hard disk space if your hard disk is starting to fill up. And if you never use Windows Messenger, you most likely will want to uninstall it, because the program frequently launches itself automatically even after you've shut it down repeatedly, kind of like Dracula returning from the dead. It won't bother you any longer if you uninstall it.

To remove XP utilities and components, you normally choose Control Panel Add or Remove Programs Add/Remove Windows Components to get to the Windows Component Wizard, shown in Figure 2-18. To uninstall a utility or component, just follow the wizard's instructions.

Figure 2-18. The Windows Component Wizard
figs/xph_0218.gif

Ah, but there's a catch. A number of Windows utilities and components—notably Windows Messenger and WordPad—don't show in the Windows Component Wizard, so there's no apparent way to uninstall them. But you can, in fact, remove these components. XP has a Setup Information file that controls what appears in the Windows Component Wizard. If you edit this file, you can force these components to appear in the Wizard, and you can then remove them as you would any others.

To start, use Notepad or another text editor to open the Setup Information file, sysoc.inf, which is generally found in the C:\WINDOWS\INF folder. For safety's sake, make a backup of the file before editing it, so you can revert to it if you need to. You should also set up a System Restore point before making the changes. To set up a System Restore point, choose Control Panel Performance and Maintenance System Restore and then follow the instructions.

C:\WINDOWS\INF is a hidden folder, so if you want to view its contents, you will have to enable hidden folders by going into Windows Explorer and choosing Tools Folder Options View and choosing Show Hidden Files and Folders.

When you open the file, look for the line describing the program you want to uninstall. Lines in the file have the format:

program=program.dll,OcEntry,program.inf,,numeral

Programs that are uninstallable all have the word hide (or HIDE) embedded in the string. When this word is included in the string, the program won't show up in the Windows Component Wizard. The Pinball game entry, which doesn't show up in the wizard, looks like this:

Pinball=ocgen.dll,OcEntry,pinball.inf,HIDE,7

To force it to show up in the wizard, remove the word hide from the entry that refers to the component that you want to remove. For example, if you want to remove Pinball, edit its entry to this:

Pinball=ocgen.dll,OcEntry,pinball.inf,,7

Save the sysoc.inf file, then run the Windows Component Wizard. The component will now show up in the wizard. Remove it as you would any other component.

Keep in mind that not all of the entries in sysoc.inf are as easy to understand as Pinball and WordPad. For example, if you want to remove Windows Messenger, look for the entry that starts with the text msmsgs. If you want to remove the Accessibility Wizard, look for the entry for AccessOpt. Table 2-4 lists the "uninstallable" programs their entries in the sysoc.inf file.

Table 2-4. "Uninstallable" programs and their sysoc.inf entries

Entry

What entry refers to

AccessOpt

Accessibility Wizard

MultiM

Multimedia components, including Media Player, Volume Control, and Sound Recorder

CommApps

Communications components, including Chat, Hyperterminal, and Phone Dialer

AutoUpdate

Windows Automatic Update

TerminalServer

Terminal Server

dtc

Distributed Transaction Coordinator

dom

COM+

WBEM

Windows Management Instrumentation

Pinball

Pinball game

MSWordPad

WordPad

msmsgs

Windows Messenger

You may run into a few gotchas when trying to remove "uninstallable" components. On some systems, you simply won't be able to remove Windows Messenger, because Windows Messenger won't show up on the Windows Component Wizard even after you edit the sysoc.inf file. And some components, such as Terminal Server, will show up in the wizard if you edit the sysoc.inf file, but the wizard still won't let you uninstall them.

2.11.1 Hide Components You Don't Want to Be Uninstalled

You can use this same technique in reverse to hide components you don't want to be uninstalled accidentally. Simply put the word HIDE in the proper place in the entry that you don't want to show up in the Windows Component Wizard. For example, if you want to hide the uninstall entry for the fax utility, edit its entry by changing:

Fax=fxsocm.dll,FaxOcmSetupProc,fxsocm.inf,,7

to:

Fax=fxsocm.dll,FaxOcmSetupProc,fxsocm.inf,HIDE,7
    Previous Section Next Section
    Index: [SYMBOL][A][B][C][D][E][F][G][H][I][J][L][M][N][O][P][Q][R][S][T][U][V][W][X][Z]


         Main Menu
    Main Page
    Table of content
    Copyright
    Credits
    Preface
    Chapter 1. Startup and Shutdown
    Chapter 2. The User Interface
    2.1 Hacks #8-20
    Hack 8 Customize the GUI with TweakUI
    Hack 9 Control the Control Panel
    Hack 10 Hack the Start Menu and Taskbar
    Hack 11 Clean Up the Most Frequently Used Programs List
    Hack 12 Rename and Change 'Unchangeable' Desktop Icons and System Objects
    Hack 13 Remove 'Unremovable' Desktop Icons
    Hack 14 Create Your Own XP Themes and Find Thousands Online
    Hack 15 Give XP a Makeover with WindowBlinds
    Hack 16 Hacking Your Way Through the Interface
    Hack 17 Remove 'Uninstallable' XP Utilities
    Hack 18 Create Transparent Windows
    Hack 19 Make Your Own Cursors and Icons
    Hack 20 Windows XP to Windows 2000: Retro is Cool
    Chapter 3. Windows Explorer
    Chapter 4. The Web
    Chapter 5. Networking
    Chapter 6. Email
    Chapter 7. The Registry
    Chapter 8. Basic Utilities
    Chapter 9. Applications
    Chapter 10. Graphics and Multimedia
    Chapter 11. System Performance
    Chapter 12. Hardware
    Colophon
    Index


    More Books
    PHP Hacks
    Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
    The Koran (Holy Qur'an)
    Macromedia Flash 8 Bible
    Search Engine Optimization for Dummies
    YouTube Traffic
    PHP 5 for Dummies
    Harry Potter and The Chamber of Secrets
    Harry Potter and the Sorcerer's Stone
    The Pilgrim's Progress
    Wireless Hacks
    Flash Hacks. 100 Industrial-Strength Tips & Tools
    PayPal Hacks. 100 Industrial-Strength Tips and Tools
    Amazon Hacks
    Pdf Hacks
    The Da Vinci Code
    Google Hacks
    The Holy Bible
    Windows XP For Dummies
    Harry Potter and the Half-Blood Prince
    Seo Book
    Upgrading and Repairing Networks
    Macromedia Dreamweaver 8 UNLEASHED
    Windows XP Annoyances
    Windows XP Hacks
    Microsoft Windows XP Power Toolkit
    Teach Yourself MS Office In 24Hours
    iPod & iTunes Missing Manual
    PC Hacks 100 Industrial-Strength Tips and Tools
    PC Overclocking, Optimization, and Tuning - 2th Edition
    PC Hardware In A Nutshell 3rd Edition
    PC Hardware in a Nutshell, 2nd Edition
    Upgrading and Repairing PCs
    Google for Dummies
    MySQL Cookbook
    Teach Yourself Macromedia Flash 8 In 24 Hours
    PHP CookBook
    Sams Teach Yourself JavaScript in 24 Hours
    PHP5 Manual
    Free Games Paper Airplanes
    500 Juegos Gratis 500 Giochi Gratis 500 Jeux Gratuits 500 Jogos Gratis 500 Kostenlose Spiele