Jump to content

Deleting shortcuts in the Start/Programs menu


Recommended Posts

i'd like to know what the path is (if any) to the programs section in the start menu of XP Pro (32bit).

i've used this command with no luck.

DEL  "%allusersprofile%\start menu\programs\shortcut.lnk"

i've also tried different variations of this.

anyone have any ideas?

Link to comment
Share on other sites


DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"

DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"

DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"

DEL "%USERPROFILE%\Start Menu\Programs\Remote Assistance.lnk"

DEL "%USERPROFILE%\Start Menu\Programs\Accessories\Tour Windows XP.lnk"

Some don't exist at cmdlines, delete at runonceex instead:

del "%ALLUSERSPROFILE%\Start Menu\Programs\Windows Movie Maker.lnk"

del "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\System Tools\Security Center.lnk"

del "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\System Tools\System Restore.lnk"

IE, OE and WMP are handled differently.

Link to comment
Share on other sites

thank you for this. you said IE OL and WMP are handled differently, these are the ones i wanted to remove, lol. anyway, thanks for confirming

what's the difference between DEL and del commands?

Link to comment
Share on other sites

you said IE OL and WMP are handled differently, these are the ones i wanted to remove, lol.

Then you wanted to say so in your first post...

You can put these in winnt.sif, but they kill start menu icons and desktop ones - probably overkill

[Components]
IEAccess = Off
OEAccess = Off
wmPOCM = off

The icons get created by active setup - so you could try removing the offending entries:

;ie UserIconConfig
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\>{26923b43-4d38-484f-9b9e-de460746276c}]
"StubPath"=-

or add your own active setup to run after the others:

SET KEY=HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
REG ADD %KEY% /V "addStub1" /d "reg add \"HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\^>{ffff_new_user\" /V StubPath /d \"wscript %systemroot%\_new_user.vbs\" /t REG_EXPAND_SZ"
REG ADD %KEY% /V "addStub2" /d "reg add \"HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\^>{ffff_new_user\" /VE /d \"New user\""
REG ADD %KEY% /V "addStub3" /d "reg add \"HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\^>{ffff_new_user\" /V Locale /d \"*\""
REG ADD %KEY% /V "addStub4" /d "reg add \"HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\^>{ffff_new_user\" /V Version /d \"1,0,0,0\""

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