• No results found

Table 2-3 CLSIDs for desktop objects

In document O'Reilly Windows Xp Hacks pdf (Page 59-63)

Desktop object CLSID

My Computer {20D04FE0-3AEA-1069-A2D8-08002B30309D}

Recycle Bin {645FF040-5081-101B-9F08-00AA002F954E}

Microsoft Outlook {00020D75-0000-0000-C000-000000000046} Internet Explorer {FBF23B42-E3F0-101B-8488-00AA003E56F8}

Desktop object CLSID

The Internet {3DC7A020-0ACD-11CF-A9BB-00AA004AE837}

My Network Places {208D2C60-3AEA-1069-A2D7-08002B30309D}

Briefcase {85BBD920-42A0-1069-A2E4-08002B30309D}

Dial-Up Networking {992CFFA0-F557-101A-88EC-00DD010CCC48}

Armed with the proper CLSID, it's easy to change the name and balloon text of system objects. First, use Table 2-3 to find the CLSID for the object whose name or balloon text you want to change. Then run the Registry Editor [Hack #68] and go to

HKEY_CLASSES_ROOT\CLSID, a key that lets you change characteristics of system objects, and highlight the CLSID whose name or balloon text you want to change. For example, for My Computer, highlight the subkey

HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}. Keep in mind that HKEY_CLASSES_ROOT\CLSID has many CLSIDs listed under it, so it might take you a while to find the proper subkey.

Once you find the right subkey, if you want to edit the name of the object, open the Default value and type in the text that you want to appear underneath the object. If you want to edit the balloon text for the object, open the InfoTip value and type in the text that you want to appear as balloon text. Once you're done, exit the Registry and reboot.

You may also be able to force the changes to take effect without rebooting. After you exit the Registry, go to your Desktop and press F5 to refresh the screen. The new names and balloon tips might now appear.

2.6.2 Change the Desktop Icons of System Objects

You can hack objects besides names and balloon with this method. You can also change the desktop icons of system objects that appear to have unchangeable icons.

First, using Table 2-3, find the CLSID for the object whose icon you want to change. Then run the Registry Editor, go to

HKEY_CLASSES_ROOT\CLSID, and look for the CLSID subkey from Table 2-3 for the object whose icon you want to change. Open the subkey and then the DefaultIcon subkey under that. For example, to change the icon for My Computer, open the subkey

HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon. Change the Default value to the path of the icon that you want displayed. Exit the Registry. You may have to reboot in order for the new settings to take effect.

Some people aren't able to change their icons using this method. Instead of editing HKEY_CLASSES_ROOT\CLSID, they have to edit

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\, and that does the trick.

[ Team LiB ]

Hack 13 Remove "Unremovable" Desktop Icons

To create your own customized XP interface, you need to be able to remove certain desktop icons. A Registry hack lets you remove any you want, including those apparently protected by XP.

Creating the perfect, customized XP interface doesn't only mean changing icons; it also means removing them. For example, many power users look down their nose at America Online, and yet, on many systems, that icon can't be removed easily.

America Online isn't the only icon protected this way; many others are as well. Which desktop icons are protected on your system will depend on your exact version of XP (for example, SP-1) and the manufacturer of your PC. The Recycle Bin is protected on all versions, but the America Online icon is protected on some systems, and not on others.

To customize XP to your liking, you'll want to be able to delete these protected icons. To do so, you'll need a Registry hack. Run the Registry Editor [Hack #68] and go to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace. Here's where you'll find various special desktop icons. They're not listed by name, but instead by CLSID—for example,

{645FF040-5081-101B-9F08-00AA002F954E} for the Recycle Bin. Table 2-3 in [Hack #12] lists CLSIDs of common desktop objects, so use it to find the CLSID of the icon you want to delete.

To remove an icon from the desktop, simply delete the key of the icon—for example, {645FF040-5081-101B-9F08-00AA002F954E} for the Recycle Bin. Then exit the Registry, go to your Desktop, and press F5 to refresh the screen. The Recycle Bin icon should now be gone.

On some systems, the icons may not be deleted immediately. Instead, after making the Registry change, you might have to right-click on the icon and choose Delete.

Some CLSIDs in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace can be deleted from the desktop without having to go through this procedure, but when you try to delete them they may give you a special warning message. For example, when you try to delete Microsoft Outlook from the Desktop, you get the warning message "The Outlook Desktop icon provides special functionality and we recommend that you do not remove it." If you'd like, you can edit that message to display whatever you want. In the CLSID's subkey—for example, {00020D75-0000-0000-C000-000000000046} for Microsoft Outlook—you'll find the value Removal Message. Edit this value to whatever text you want, and your warning message will appear whenever someone tries to delete the icon.

Keep in mind that when you remove desktop icons you're removing only icons, not the underlying feature or program. So, the Recycle Bin still works even if you remove its icon. To open the Recycle Bin, go to C:\RECYCLER and open the folder inside it. To restore an item that's been deleted, right-click on it and choose Properties Restore. Delete items as you would any other item.

Some manufacturers make America Online an unremovable desktop icon. If that's the case with your PC and you want to remove it, delete the CLSID

{955B7B84-5308-419c-8ED8-0B9CA3C56985}. America Online will still work, but its icon will no longer be on the desktop.

[ Team LiB ]

Hack 14 Create Your Own XP Themes and Find Thousands Online

Customize the way XP looks and sounds, and dress it up with themes from the best sites on the Internet.

Themes control just about every part of the way XP looks and sounds, including its background wallpaper, colors, icons, cursors, sounds, fonts, screen saver, and the visual style of its windows and buttons. By default, your computer uses the basic Windows XP theme, which some people refer to as Luna because it was called that during XP's development. You can apply countless themes to XP, though it only ships with two: the basic Windows XP theme and the Windows Classic theme—a more stolid-looking theme, based on older versions of Windows, that uses rectangular windows and solid colors.

To change between themes, right-click on the desktop and choose Properties Themes. Choose the theme you want to use from the drop-down list, as shown in Figure 2-9. Click on OK, and the theme will be applied.

In document O'Reilly Windows Xp Hacks pdf (Page 59-63)