Jump to content

How to remove Active Desktop from context menu?


bbone

Recommended Posts

Guys, I decided to remove the part of desktop context menu in my Windows 2000 SP4. More specifically the first menu "Active Desktop" ;)

I looked in the net a bit and gathered some infos, however not enought. In the end it looks like the Resource Hacker is need to modify the shell32.dll, witch is not a problem. These menus are in the String Table, item 261. The stringtable looks like this:

STRINGTABLE

LANGUAGE LANG_CZECH, 0x1

{

4161, "Ovládací panely"

4162, "Plocha"

4163, "Zpět: %s"

4164, "&Zpět: %s\tCtrl+Z"

4165, "&Zpět\tCtrl+Z"

4166, "Složky dokumentů"

4170, "Počet skrytých souborů v této složce: %1!d!.\nChcete-li vybrat i tyto soubory,\npovolte zobrazení skrytých souborů pomocí ovládacího panelu Možnosti složky."

4171, "Vybrat vše"

4173, "Systém Active &Desktop"

4174, "desk.cpl,,@Síť WWW"

4175, "desk.cpl,,@Pozadí"

}

As you can see, line 4173 it is. Now the menu under the Active Desktop thing is there, Menu 218:

218 MENUEX

LANGUAGE LANG_CZECH, 0x1

{

POPUP "", 0, MFT_STRING, MFS_ENABLED, 0

{

MENUITEM "&Vlastní nastavení plochy", 29696, MFT_STRING, MFS_ENABLED

MENUITEM "&Nová položka na ploše...", 29697, MFT_STRING, MFS_ENABLED

MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED

MENUITEM "Zobrazit obsah sítě &WWW", 29698, MFT_STRING, MFS_ENABLED

MENUITEM "Zobrazit i&kony na ploše", 29699, MFT_STRING, MFS_ENABLED

MENUITEM "&Zamknout položky na ploše", 29700, MFT_STRING, MFS_ENABLED

MENUITEM "&Synchronizovat", 29701, MFT_STRING, MFS_ENABLED

MENUITEM "", 29712, MFT_SEPARATOR, MFS_ENABLED

}

}

This is the sub-menu of the Active Desktop menu. Usualy only first there lines + the separator are show, but I did not want the whole submenu.

Anyone know what to change the values, to make the menu disappear? :angel

PS: some links with infos I gather there:

http://firest-dead.blogspot.com/2007/11/tweak-xp-home.html

http://www.virtualplastic.net/msgboard/thr...&thread=125

Edited by bbone
Link to comment
Share on other sites


There is, actually, much easier solution w/o any hacking :yes:

Simply use (Start-run) "Gpedit.msc" and check out the Desktop settings, you can set Active Desktop to disable there and that get you rid of the context menu. Other actions, even disabling the Active Desktop in TweakUI does not remove the menu :hello:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...