How to restrict the My Computer icon

Posted On 2007-01-01 by FortyPoundHead
Keywords: My Computer Security restrict access
Tags: Tip Windows
Views: 1602

There is no easy way to remove the My Computer icon from the desktop.

It is possible, however, to restrict it so that no action is performed when someone attempts to double-click this icon.

Here is the procedure:

  • Run Registry Editor (RegEdit.exe). Please be very careful when using this tool, because if you do something wrong with it, you may end up reinstalling Windows from scratch!

  • Find the following key in the Registry:


    Create a new subkey under this key and rename it to open.

    (To create the subkey: right-click on shell, select New - Key from the shortcut menu, and then enter open as the name of the new key.)
    Now create another subkey, command, under the key open. The resulting structure of these keys should look like the following:


  • Now select the command subkey you've just created and open the Default value of this key (by double-clicking (Default) in the right pane of the Registry Editor window) and specify the following command as its Value data:

    Explorer.exe /root

Now, whenever the user attempts to open the My Computer item on the Desktop, it will not open.

To restore the original functioning of the My Computer icon, simply delete the open and command keys you've created during the procedure.

Note: Changing this setting affects all users of the computer.

Note: It is very easy to bypass this protection: simply right-click on the My Computer icon, and choose Open from the shortcut menu.

About the Author

FortyPoundHead has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links