Jump to content

"Eject PC" in the Start Menu


bigfatroundguy

Recommended Posts

Does anyone know how to remove "Eject PC" from the Start Menu with a registry hack? I have a docked notebook PC and am tired of accidently activating Eject PC rather than Shutdown. I never Eject PC so I would like to remove it from my Start Menu.

for the record, here are the hacks i tried that failed

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\IDConfigDB\CurrentDockInfo]

"EjectableDocks"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\IDConfigDB\CurrentDockInfo]

"EjectableDocks"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

"NoStartMenuEjectPC"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

"NoStartMenuEjectPC"=dword:00000001

i did come across something within MS Technet - The "Eject PC" command appears only if a computer is ACPI-enabled. and hunted around my registry for some clue but no luck so far, maybe this clue will resonate with someone else. also found a Win98 hack to remove "Suspend" from Start Menu but couldn't twist it to work on "Eject PC".

Link to comment
Share on other sites


I don't know how that's done in the registry, but editing explorer.exe's Menu resource for Start Menu can remove it:

MENUITEM "&Help", 503, MFT_STRING, MFS_ENABLED

MENUITEM "&Run...", 401, MFT_STRING, MFS_ENABLED

MENUITEM "", 450, MFT_SEPARATOR, MFS_ENABLED

MENUITEM "&Log Off %s...", 402, MFT_STRING, MFS_ENABLED

MENUITEM "Suspe&nd", 409, MFT_STRING, MFS_ENABLED

****** MENUITEM "&Eject PC", 410, MFT_STRING, MFS_ENABLED < remove this entry

MENUITEM "Sh&ut Down...", 506, MFT_STRING, MFS_ENABLED

}

}

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...