WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Hiding-Disabling Apps to Prevent User Intervention

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

How to Hide My Computer

Keywords: 	 My Computer icon

Question:

I can't find a program that hides the 'My Computer' and doesn't hide the entire desktop. TweakUI doesn't have an option to hide My Computer.

If you or anyone else on the forum has an idea, I'm listening.

I am working on creating an icon with a transparent image, and then inserting that in Explorer.exe with IntControl(37 right now it keeps telling me my new icon is too small, I am downloading an Icon editor that will do more than a 16 color icon in hopes that works.

Answer:

Per a Win95 registry reference manual and the the Win98 RK, it is not possible to truly hide the 'My Computer' icon.

There are several things you can do to disable it.

Under the HKEY_CLASSES_ROOT\CLSID key in the registry there will be a subkey named after the UUID (or GUID) value of the 'My Computer' icon's OLE server entry. That key name should be "{20D04FE0-3AEA-1069-A2D8-08002B30309D}". Set the default value of this key to an empty string to take away the name of the icon. Set the default value of the subkey 'DefaultIcon' to point to a transparent icon to make the desktop icon disappear. If you cannot find a transparent icon then use some sort of icon editing program to create one. The delete the 'InProcServer32' and 'shell' subkeys to disable all functionality for the 'My Computer' desktop icon. After all of this is done you can move the icon to some out of the way location on your desktop.

The presentation of this icon on the desktop is hard coded into the Explorer when it runs as a shell. You cannot easily get rid of it.

Question (cont'd):

Answer:

Yeah, I used to do exactly that with win 95. Unfortunately, Win 98 changed that :-(

Now, there is no transparent icon in explorer, and I am trying to insert one with little success, I will create an .ico file with one, but sometimes Win98 ignores the point and goes back to the default.

When you disable the InProc item the system crashes (Win98).


Article ID:   W14236
Filename:   Hide My Computer.txt
File Created: 1999:10:26:11:22:42
Last Updated: 1999:10:26:11:22:42