Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

[How-to] Add Recycle Bin to start menu

- - - - -

  • Please log in to reply
25 replies to this topic

#1
ricktendo

ricktendo

    Group: Banned Members

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,281 posts
  • OS:Windows 7 x64
  • Country: Country Flag
How-To: Recycle Bin on the Start Menu
By Cygnus, Tom, VA(s)T & ricktendo64
NOTE: Also adds "Show Recycle Bin icon on desktop" to Folder Options, Show/Hide "Recycle Bin" to Start Menu Properties

I got it to work. Heres what I got it to put the Recycle Bin icon on the start menu using the Manufacturer Link in the registry.

Here was my end result:

Posted Image

Instructions:
Copy and Paste into notepad then save as Recycle.reg
Apply, Reboot and Enjoy

Edited by ricktendo64, 31 December 2006 - 10:56 AM.



How to remove advertisement from MSFN

#2
Yz÷wl

Yz÷wl

    Wise Owl

  • Super Moderator
  • 4,506 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Firstly, here are some snippets of script.

VBScript

WScript.CreateObject("Shell.Application").Explore "::{645FF040-5081-101B-9F08-00AA002F954E}"

JScript

new ActiveXObject("Shell.Application").Explore("::{645FF040-5081-101B-9F08-00AA002F954E}");
Secondly, here is a completed working solution Open_Bin.exe
Just double click it and either reboot explorer or switch from new to old startpanel and back again to see the result.
Note
The entry is for only the current user as should all tweaks of this type.

Happy New Year!

<Edit>
I have created another 'all users' version Recycler.exe using your full reg file as its basis.
</Edit>

Attached Files



#3
ricktendo

ricktendo

    Group: Banned Members

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,281 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Thank You Very Much Yz÷wl but this did the trick
::{645FF040-5081-101B-9F08-00AA002F954E}

Updated firs post and topic title to solved and now the RegTweak is available to all

Special thanks to Cygnus, Tom, VA(s)T and Yz÷wl

#4
Yz÷wl

Yz÷wl

    Wise Owl

  • Super Moderator
  • 4,506 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Had you checked my offering you would have noted that is how I'd done it too!

I just prefered to supply it in an easy to install SFX in order to prevent possible mistakes by the user.

#5
ricktendo

ricktendo

    Group: Banned Members

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,281 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Had you checked my offering you would have noted that is how I'd done it too!

I just prefered to supply it in an easy to install SFX in order to prevent possible mistakes by the user.

Yep you are correct Yz÷wl thats exactly what you did... ty

#6
MGadAllah

MGadAllah

    Brain Voice

  • Members
  • PipPipPipPipPip
  • 786 posts
That was a very good trick guys
Thanks a lot

#7
MGadAllah

MGadAllah

    Brain Voice

  • Members
  • PipPipPipPipPip
  • 786 posts
is it possible to add such a thing to the link in the start menu
Attached File  untitled.JPG   5.27KB   32 downloads
Because the current start menu icon has this only
Attached File  untitled.JPG   32.08KB   29 downloads
I do not mean the open function only, but I mean the menu that being used with right click, or at least Empty RB function
Thanks

Edited by MGadAllah, 31 December 2006 - 06:42 PM.


#8
Cybertronic

Cybertronic

    Junior

  • Members
  • Pip
  • 79 posts
Sorry for bumping this thread :blushing:

Is there a version of this for Vista? :D

#9
ricktendo

ricktendo

    Group: Banned Members

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,281 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Nope but maybe cygnus can pull one out of the air.

c'mon cyg where are ya :P

#10
Cybertronic

Cybertronic

    Junior

  • Members
  • Pip
  • 79 posts
Cygnus, please do make a Vista version :blushing: :D

#11
spacesurfer

spacesurfer

    Pharmassist

  • Patrons
  • 1,668 posts
  • OS:Windows 7 x86
  • Country: Country Flag

I do not mean the open function only, but I mean the menu that being used with right click, or at least Empty RB function


Yes, an "Empty Recycle Bin" context menu entry would be nice. That's one of the things that I do most commonly--keep the bin clean.

I've been trying to find this in the registry but have been unsuccessful as of yet.

#12
2forza

2forza

    "everybody was kungfu fighting"

  • Members
  • PipPip
  • 230 posts

I do not mean the open function only, but I mean the menu that being used with right click, or at least Empty RB function


Yes, an "Empty Recycle Bin" context menu entry would be nice. That's one of the things that I do most commonly--keep the bin clean.

I've been trying to find this in the registry but have been unsuccessful as of yet.


; Add Empty Recycle Bin To Right Click Menu
[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\{645FF040-5081-101B-9F08-00AA002F954E}]
@="Empty Recycle Bin"
[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Empty Recycle Bin]
@="{645FF040-5081-101B-9F08-00AA002F954E}"
[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\Empty Recycle Bin]
@="{645FF040-5081-101B-9F08-00AA002F954E}"
[HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\Empty Recycle Bin]
@="{645FF040-5081-101B-9F08-00AA002F954E}"
[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\Empty Recycle Bin]
@="{645FF040-5081-101B-9F08-00AA002F954E}"


#13
spacesurfer

spacesurfer

    Pharmassist

  • Patrons
  • 1,668 posts
  • OS:Windows 7 x86
  • Country: Country Flag
Dude, we are talking about adding "Empty Recycle Bin" to the Recycle Bin in Start Menu, not to EVERY folder, EVERY file, etc. That's unnecessary.

#14
spacesurfer

spacesurfer

    Pharmassist

  • Patrons
  • 1,668 posts
  • OS:Windows 7 x86
  • Country: Country Flag
Eureka!! Thanks to 2Forza, here's how to add "Empty Recycle Bin" to the right-click menu:

; Add Empty Recycle Bin To Right Click Menu
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers\{645FF040-5081-101B-9F08-00AA002F954E}]
@="Empty Recycle Bin"

Edited by spacesurfer, 04 July 2007 - 09:27 PM.


#15
spacesurfer

spacesurfer

    Pharmassist

  • Patrons
  • 1,668 posts
  • OS:Windows 7 x86
  • Country: Country Flag
Albinohawk already posted this in Vista section. Apparently, this is an old trick and is possible in Vista. In Vista he's replaced the "Default Programs" with Recycle Bin.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{E44E5D18-0652-4508-A4E2-8A090067BCB0}]
@="Recycle Bin command object for Start menu"
"LocalizedString"=hex(2):40,00,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,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,\
2c,00,2d,00,38,00,39,00,36,00,34,00,00,00
"InfoTip"=hex(2):40,00,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,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,\
2d,00,32,00,32,00,39,00,31,00,35,00,2c,00,2d,00,31,00,30,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{E44E5D18-0652-4508-A4E2-8A090067BCB0}\DefaultIcon]
@=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,69,00,6d,00,\
61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,35,\
00,35,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{E44E5D18-0652-4508-A4E2-8A090067BCB0}\Shell]

[HKEY_CLASSES_ROOT\CLSID\{E44E5D18-0652-4508-A4E2-8A090067BCB0}\Shell\Open]

[HKEY_CLASSES_ROOT\CLSID\{E44E5D18-0652-4508-A4E2-8A090067BCB0}\Shell\Open\Command]
@=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,65,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
65,00,20,00,2f,00,4e,00,2c,00,20,00,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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]
"{E44E5D18-0652-4508-A4E2-8A090067BCB0}"="Recycle Bin command object for Start menu"

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\StartMenu\StartPanel\ShowSetProgramAccessAndDefaults]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\StartMenu\StartPanel\ShowRecycleBin]
"Type"="checkbox"
"Text"="@shell32.dll,-8964"
"HKeyRoot"=dword:80000001
"RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced"
"ValueName"="Start_ShowRecycleBin"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\StartMenu\StartPanel\ShowRecycleBin\Policy]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\StartMenu\StartPanel\ShowRecycleBin\Policy\NoRecycleBin]

See his post here

#16
bigfatroundguy

bigfatroundguy

    Newbie

  • Members
  • 44 posts
In case anyone is interested, i have been tinkering with this Recycle Bin on the Desktop for a while as I wasn't satisfied with implementing the attached hack only to have to then still select it after windows booted up. here is what i discovered. i am including because i haven't found it anywhere else (i suspect I am not the first to discover this but maybe someone who will follow will be interested)

; ### will reveal whatever is set to OEMLink in Start Menu at logon (in this case Recycle Bin) even if default behavior hides it
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Start_ShowOEMLink"=dword:00000001

; ### will remove Recycle Bin from desktop at logon even if default behavior places Recycle Bin on desktop
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000001

; ### will set the default behavior of the OEMLink in Start Menu to VISIBLE
; ### in the absence of this setting the default behavior of the OEMLink in Start Menu is set to VISIBLE so this setting should really be unnecessary
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Start_ShowOEMLink"=dword:00000001

; ### will set the default behavior of the Recycle Bin on the desktop to HIDDEN
; ### in the absence of this setting the default behavior of the Recycle Bin on the desktop is set to VISIBLE
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000001

#17
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developers
  • 8,693 posts
  • OS:Windows 7 x64
  • Country: Country Flag
"{645FF040-5081-101B-9F08-00AA002F954E}"

These are usually randomly generated numbers...

#18
bigfatroundguy

bigfatroundguy

    Newbie

  • Members
  • 44 posts
forgive me, i know barely enough to be dangerous. the suggestions i made were built on top of the files that Cygnus and others have contributed towards which referenced the same number. from reviewing the file authored by Cygnus and others, it looks like the number i used was defined in an earlier registry entry. in any case it has worked consistently.

#19
bigfatroundguy

bigfatroundguy

    Newbie

  • Members
  • 44 posts
actually, i just unpacked and searched through the inf included in your UberPack and the it contains this random number, and looks defined.

#20
fdv

fdv

    MSFN Expert

  • Developers
  • 1,109 posts
  • OS:Windows 7 x64
  • Country: Country Flag

actually, i just unpacked and searched through the inf included in your UberPack and the it contains this random number, and looks defined.


He means CLSIDs in general. You can create them in Visual C++ for your apps, and MS's software generated them randomly. In the Windows OS, yes, they have a consistent meaning, but way back when, when Windows 2000 was created, all of the OS component CLSIDs started life this way -- as randomly generated numbers when Microsoft was compiling the libraries.

#21
arshad-nawaz

arshad-nawaz
  • Members
  • 1 posts
Thanks for this shairing

#22
Acheron

Acheron

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 985 posts
  • OS:XP Pro x86
  • Country: Country Flag
Instead of hiding the Recycle bin on the Desktop you can also move the Recycle bin to My computer. To show the Recyclebin on Start Menu I use the following tweaks:

[RunOnceEx.AddReg]
;Add Recycle bin to My computer
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}",,0x10
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}",,0x0,"Recycle Bin"
;Add Recycle Bin shortcut to the Start Menu
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}",,0,"@%%SystemRoot%%\system32\shell32.dll,-8964"
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}","InfoTip",0,"@%%SystemRoot%%\system32\shell32.dll,-22915."
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon",,0,"%11%\shell32.dll,31"
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\InProcServer32",,0x20000,"%%SystemRoot%%\system32\shdocvw.dll"
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\InProcServer32","ThreadingModel",0,"Apartment"
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance","CLSID",0,"{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag","CLSID",0,"{13709620-C279-11CE-A49E-444553540000}"
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag","method",0,"ShellExecute"
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag","Command",0,"@%%SystemRoot%%\system32\shell32.dll,-8964"
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag","Param1",0,"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{645FF040-5081-101B-9F08-00AA002F954E}"
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers\{645FF040-5081-101B-9F08-00AA002F954E}",,0
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex\MayChangeDefaultMenu",,0
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\ShellFolder","Attributes",0x10001,00,00,00,00

[RunOnceEx.DelReg]
;Remove Recycle bin from Desktop
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}"

NOTE: Only tested on Windows XP. I don't add extra options to any Windows menu. As I configure my CD no need to change options afterwards :whistle:

Edited by Acheron, 29 July 2008 - 09:11 AM.


#23
Chipicao

Chipicao
  • Members
  • 1 posts
I accidentally installed this in Vista. How do I restore everything so I can install the right one?
Please help :(

It seems all registry entries from this tweak are also modified in the Vista version. I tried removing everything and installing the Vista tweak but Recycle Bin doesn't show on my Start menu, whether the option is checked or not.
Removing it from the desktom works though...

Any ideas?

Edited by Chipicao, 21 February 2009 - 09:28 PM.


#24
spacesurfer

spacesurfer

    Pharmassist

  • Patrons
  • 1,668 posts
  • OS:Windows 7 x86
  • Country: Country Flag
If you used a registry file (*.reg), then you can add a "-" (minus sign) after all "[" and in front of "HKCU" or HKLM" or whatever it may be and it will delete all those entries.

So for example:
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}]
@="@%SystemRoot%\\system32\\SHELL32.dll,-8964"
"InfoTip"="@%SystemRoot%\\system32\\SHELL32.dll,-22915"
would become
[-HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}]
@="@%SystemRoot%\\system32\\SHELL32.dll,-8964"
"InfoTip"="@%SystemRoot%\\system32\\SHELL32.dll,-22915"


#25
nike123

nike123

    Newbie

  • Members
  • 12 posts
  • OS:XP Pro x86
  • Country: Country Flag
but how can i remove the recycle from start menu in xp?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users



How to remove advertisement from MSFN