Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Replace "Set Program Access and Defaults" on XP start Menu with Recycle Bin

127 views
Skip to first unread message

Gabtrat

unread,
Jan 13, 2006, 2:44:03 PM1/13/06
to
Several posts deal with similar questions to this, but I can't find one
that let me do what I want. I'll try to be thorough to avoid
confusion.

I have Windows XP and want a desktop clear of any icons, so I removed
My Computer, My Documents, Network Places, and Internet Explorer from
the Desktop. (Display Properties-->Desktop Tab-->click button that
says "Customize Desktop")

To remove the Recycle Bin from the Desktop, I used the program TweakUI.

In the new XP start menu, Places are on the right side of the menu
while programs you use often are put on the left side.

All of these places I removed from the desktop can be added to the
right side, except the Recycle Bin, and Windows XP has no User
Interface to add the Recycle Bin to the Right side of the XP start menu
(which is really stupid btw).

I know I can put a shortcut to the Recycle Bin on the left side of the
Start Menu (e.g. Pin to Start Menu), but being annul retentive as I am
I really want it on the right side with all the other places.

Could anyone give me a registry hack that would add the Recycle Bin to
the Right side of the XP Start menu???!?? If it has to replace another
shortcut to do so, I'd prefer to replace the "Set Program Access and
Defaults" (who needs to get to this a lot anyway??).

It would be cool to even rename the option in the Start Menu Properties
for adding\hiding "Set Program Access and Defaults" to say
"Recycle Bin."
(Right click taskbar-->Properties-->Start Menu tab-->click the
"Customize" Button-->click the "Advanced" tab).

PLEASE HELP!!

Ramesh, MS-MVP

unread,
Jan 14, 2006, 12:35:31 AM1/14/06
to
Very much possible. Read this article to get a better understanding how the
links work.

Creating Shell Extensions with Shell Instance Objects:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwui/html/shellinstobj.asp

BTW, the TargetSpecialFolder method does not seem to work for
CSIDL_BITBUCKET (Recycle Bin). So you'll have to use ShellExecute

REG files:
=======

Add Recycle Bin to Start Menu:
http://windowsxp.mvps.org/temp/recyclebin.reg

Undo REG file:
http://windowsxp.mvps.org/temp/SetProgramAccessDefaults.reg

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


"Gabtrat" <gab...@gmail.com> wrote in message
news:1137181443....@g43g2000cwa.googlegroups.com...

Gabtrat

unread,
Jan 14, 2006, 9:47:09 AM1/14/06
to
That's a start.

After running that reg file, opening "Set Program Access and Defaults"
on the start menu opens the Recycle Bin and it has the right icon. But
it's still called "Set Program Access and Defaults"

Here's what else I would like to do:

*Rename "Set Program Access and Defaults" to "Recycle Bin"

*Change the info tip (the message that is displayed when you hold
your mouse over the button, right now it says "Chooses default Programs
for certain activities, such as web browsing...")

*Add "Explore", and "Empty Recycle Bin" to the menu when you Right
click on it

*Rename "Set Program Access and Defaults" in the Start Menu
advanced properties to say "Recycle Bin" (Right click


taskbar-->Properties-->Start Menu tab-->click the

"Customize" Button-->click the "Advanced" tab). This is the option you
can check or uncheck to add or remove "Set Program Access and Defaults"
from the Start Menu.

Ramesh, MS-MVP

unread,
Jan 14, 2006, 12:17:30 PM1/14/06
to
>> *Rename "Set Program Access and Defaults" to "Recycle Bin"

It's already renamed. I used the same REG file in my system.

>> Change the info tip

No InfoTip set (using the same REG file). Customization of InfoTip is still
possible. Refer here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwui/html/shellinstobj.asp

>> Add "Explore", and "Empty Recycle Bin" to the menu

OK. Will look into that.

>> Rename "Set Program Access and Defaults" in the Start Menu

Change the "text" value in this key accordingly:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowSetProgramAccessAndDefaults

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


"Gabtrat" <gab...@gmail.com> wrote in message

news:1137250029.5...@g43g2000cwa.googlegroups.com...

Gabtrat

unread,
Jan 14, 2006, 7:19:55 PM1/14/06
to
THANKS A LOT, YOU ROCK.
I have everything figured out but the Right click menu.

Ramesh, MS-MVP

unread,
Jan 15, 2006, 2:10:53 AM1/15/06
to
You're welcome.

>> I have everything figured out but the Right click menu.

Recyclebin.reg is now updated. Re-download and apply.
http://windowsxp.mvps.org/temp/recyclebin.reg

You'll have a full-fledged recycle bin icon in Start Menu.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


"Gabtrat" <gab...@gmail.com> wrote in message

news:1137284395.7...@g47g2000cwa.googlegroups.com...

Gabtrat

unread,
Jan 16, 2006, 12:39:54 AM1/16/06
to
Sorry... it still is not quite right with the Right-click menu.

As I said above, before running the reg at
http://windowsxp.mvps.org/temp/recyclebin.reg everything is good except
the right-click menu. At this point, the only option on the
right-click menu is "Open" -which works, opening the Recycle Bin as it
is supposed to.

After running the http://windowsxp.mvps.org/temp/recyclebin.reg file
the right-click menu has all the options it is supposed to -but not
everything works.

Open *does nothing
Explore *opens to the desktop instead of the
Recycle Bin
Empty Recycle Bin *works
------------------------------
Properties *works

So on my computer the "Open" and "Explore" commands are not working yet.

Ramesh, MS-MVP

unread,
Jan 16, 2006, 8:08:25 AM1/16/06
to
Updated - the 3rd time. Please re-download and apply. Fixes the "open" and
"explore" functions. No Shellexecute this time.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


"Gabtrat" <gab...@gmail.com> wrote in message

news:1137389994.9...@g44g2000cwa.googlegroups.com...

Gabtrat

unread,
Jan 17, 2006, 1:51:05 AM1/17/06
to
FINISHED!!!! Here's all the peices put together and and "undo" for
anyone else who wants them.

To fully replace "Set Program Access and Defaults" with "Recycle Bin"
on the XP start menu (and rename it in the Start Menu advanced
properties) copy the following to notepad and save with the extension
.reg -then run.

All credit for this goes to Ramesh.
------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}]
"LocalizedString"="@C:\\WINDOWS\\system32\\SHELL32.dll,-8964"
"InfoTip"="@C:\\WINDOWS\\system32\\SHELL32.dll,-22915"
@="Recycle Bin"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]
@=hex(2):25,00,57,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73,\

00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,65,00,6c,00,6c,00,33,00,\
32,00,2e,00,64,00,6c,00,6c,00,2c,00,33,00,32,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\

00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
64,00,6f,00,63,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
"LoadWithoutCOM"=""

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance]
"CLSID"="{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag]
"CLSID"="{13709620-C279-11CE-A49E-444553540000}"
"command"="&Open"
"method"="ShellExecute"
"Param1"=hex(2):65,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,\
00,65,00,00,00
"Param2"=hex(2):3a,00,3a,00,7b,00,36,00,34,00,35,00,46,00,46,00,30,00,34,00,30,\

00,2d,00,35,00,30,00,38,00,31,00,2d,00,31,00,30,00,31,00,42,00,2d,00,39,00,\

46,00,30,00,38,00,2d,00,30,00,30,00,41,00,41,00,30,00,30,00,32,00,46,00,39,\
00,35,00,34,00,45,00,7d,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Shell]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Shell\explore]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Shell\explore\command]
@="explorer.exe /e, ::{645FF040-5081-101B-9F08-00AA002F954E}"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Shell\open]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Shell\open\command]
@="explorer.exe ::{645FF040-5081-101B-9F08-00AA002F954E}"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}]
@=""

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers\{645FF040-5081-101B-9F08-00AA002F954E}]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\MayChangeDefaultMenu]
@=""

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\PropertySheetHandlers\{645FF040-5081-101B-9F08-00AA002F954E}]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\ShellFolder]
"CallForAttributes"=dword:00000040
"Attributes"=hex:40,01,00,20

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowSetProgramAccessAndDefaults]
"Type"="checkbox"
"Text"="Recycle Bin"
"HKeyRoot"=dword:80000001
"RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced"
"ValueName"="Start_ShowSetProgramAccessAndDefaults"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowSetProgramAccessAndDefaults\Policy]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowSetProgramAccessAndDefaults\Policy\NoSMConfigurePrograms]
@=""

------------------------------------------------------------------------------------------
To undo:
------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}]
@="Set Program Access and Defaults"
"LocalizedString"="@xpsp1res.dll,-10077"
"InfoTip"="@xpsp1res.dll,-10078"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]
@=hex(2):6d,00,6f,00,72,00,69,00,63,00,6f,00,6e,00,73,00,2e,00,64,00,6c,00,6c,\
00,2c,00,2d,00,31,00,31,00,34,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\

00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
64,00,6f,00,63,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance]
"CLSID"="{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag]
"CLSID"="{13709620-C279-11CE-A49E-444553540000}"
"command"="@xpsp1res.dll,-10077"
"method"="ShellExecute"
"Param1"="appwiz.cpl,,3"
"Param2"="control.exe"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}]
@=""

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\MayChangeDefaultMenu]
@=""

[HKEY_CLASSES_ROOT\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\ShellFolder]
"Attributes"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowSetProgramAccessAndDefaults]
"Type"="checkbox"
"Text"="@xpsp1res.dll,-10077"
"HKeyRoot"=dword:80000001
"RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced"
"ValueName"="Start_ShowSetProgramAccessAndDefaults"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowSetProgramAccessAndDefaults\Policy]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowSetProgramAccessAndDefaults\Policy\NoSMConfigurePrograms]
@=""

Ramesh, MS-MVP

unread,
Jan 17, 2006, 2:11:01 AM1/17/06
to
Excellent! Thanks for credits.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


"Gabtrat" <gab...@gmail.com> wrote in message

news:1137480665....@g44g2000cwa.googlegroups.com...

0 new messages