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

G

Gabtrat

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!!
 
R

Ramesh, MS-MVP

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


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!!
 
G

Gabtrat

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

Ramesh, MS-MVP

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

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

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

OK. Will look into that.

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


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

Gabtrat

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
 
R

Ramesh, MS-MVP

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


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
 
G

Gabtrat

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]
@=""
 
R

Ramesh, MS-MVP

Excellent! Thanks for credits.

--
Regards,

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


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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top