IPB

Google Frontpage Forums Unattended CD/DVD Guide
2 Pages V   1 2 >  
Reply to this topicStart new topic
> [How-to] Add Recycle Bin to start menu, by Cygnus, Tom, VA(s)T & ricktendo64
ricktendo64
post Dec 30 2006, 03:28 PM
Post #1


Group: Banned Members
*******

Group: Members
Posts: 1530
Joined: 6-June 06
From: Honduras
Member No.: 98200
OS: Vista Ultimate x86
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:



CODE
Windows Registry Editor Version 5.00

;"Recycle Bin in Start Menu" RegTweak by Cygnus, Tom, VA(s)T & ricktendo64

;Adds Recycle Bin shortcut to Star Menu
[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}]
@="@%SystemRoot%\\system32\\SHELL32.dll,-8964"
"InfoTip"="@%SystemRoot%\\system32\\SHELL32.dll,-22915"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]
@="%SystemRoot%\\system32\\shell32.dll,32"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-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\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance]
"CLSID"="{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag]
"CLSID"="{13709620-C279-11CE-A49E-444553540000}"
"method"="ShellExecute"
"Command"="@%SystemRoot%\\system32\\SHELL32.dll,-8964"
"Param1"="::{645FF040-5081-101B-9F08-00AA002F954E}"

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

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

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

;Adds "[ ] Recycle Bin" Check Box to Strat Menu Properties (Show/Hide Start Menu Item)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink]
"Type"="checkbox"
"Text"="@%SystemRoot%\\system32\\SHELL32.dll,-8964"
"HKeyRoot"=dword:80000001
"RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced"
"ValueName"="Start_ShowOEMLink"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000001
"NoOEMLinkInstalled"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink\Policy\NoOEMLinkInstalled]
"RegKey"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\StartMenu\\StartPanel\\ShowOEMLink"

;Adds "[ ] Show Recycle Bin icon on desktop" to Folder Options (Show/Hide Recycle Bin)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop]
"RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\HideDesktopIcons\\NewStartPanel"
"Text"="Show Recycle Bin icon on the desktop"
"Type"="checkbox"
"ValueName"="{645FF040-5081-101B-9F08-00AA002F954E}"
"CheckedValue"=dword:00000000
"UncheckedValue"=dword:00000001
"DefaultValue"=dword:00000000
"HKeyRoot"=dword:80000001
Instructions:
Copy and Paste into notepad then save as Recycle.reg
Apply, Reboot and Enjoy

This post has been edited by ricktendo64: Dec 31 2006, 10:56 AM
Go to the top of the page
 
+Quote Post
Yzöwl
post Dec 31 2006, 09:33 AM
Post #2


MSFN Master
Group Icon

Group: Super Moderator
Posts: 2749
Joined: 13-October 04
Member No.: 33618
OS: none
Country Flag


Firstly, here are some snippets of script.
VBScript
CODE
WScript.CreateObject("Shell.Application").Explore "::{645FF040-5081-101B-9F08-00AA002F954E}"
JScript
CODE
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 File(s)
Attached File  Open_Bin.exe ( 430.58K ) Number of downloads: 82
Attached File  Recycler.exe ( 431.02K ) Number of downloads: 70
 
Go to the top of the page
 
+Quote Post
ricktendo64
post Dec 31 2006, 10:51 AM
Post #3


Group: Banned Members
*******

Group: Members
Posts: 1530
Joined: 6-June 06
From: Honduras
Member No.: 98200
OS: Vista Ultimate x86
Country Flag


Thank You Very Much Yzöwl but this did the trick
CODE
::{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
Go to the top of the page
 
+Quote Post
Yzöwl
post Dec 31 2006, 11:01 AM
Post #4


MSFN Master
Group Icon

Group: Super Moderator
Posts: 2749
Joined: 13-October 04
Member No.: 33618
OS: none
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.
Go to the top of the page
 
+Quote Post
ricktendo64
post Dec 31 2006, 11:06 AM
Post #5


Group: Banned Members
*******

Group: Members
Posts: 1530
Joined: 6-June 06
From: Honduras
Member No.: 98200
OS: Vista Ultimate x86
Country Flag


QUOTE (Yzöwl @ Dec 31 2006, 01:01 PM) *
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
Go to the top of the page
 
+Quote Post
MGadAllah
post Dec 31 2006, 11:33 AM
Post #6


Brain Voice
*****

Group: Banned
Posts: 869
Joined: 3-January 06
From: Egypt - Cairo
Member No.: 84180
Country Flag


That was a very good trick guys
Thanks a lot
Go to the top of the page
 
+Quote Post
MGadAllah
post Dec 31 2006, 02:35 PM
Post #7


Brain Voice
*****

Group: Banned
Posts: 869
Joined: 3-January 06
From: Egypt - Cairo
Member No.: 84180
Country Flag


is it possible to add such a thing to the link in the start menu
Attached File  untitled.JPG ( 5.27K ) Number of downloads: 20

Because the current start menu icon has this only
Attached File  untitled.JPG ( 32.08K ) Number of downloads: 18

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

This post has been edited by MGadAllah: Dec 31 2006, 06:42 PM
Go to the top of the page
 
+Quote Post
Cybertronic
post Jun 15 2007, 06:12 AM
Post #8


Member
**

Group: Members
Posts: 110
Joined: 28-January 04
From: Newcastle, UK
Member No.: 13332
OS: Vista Business x64
Country Flag


Sorry for bumping this thread blushing.gif

Is there a version of this for Vista? biggrin.gif
Go to the top of the page
 
+Quote Post
ricktendo64
post Jun 15 2007, 07:57 AM
Post #9


Group: Banned Members
*******

Group: Members
Posts: 1530
Joined: 6-June 06
From: Honduras
Member No.: 98200
OS: Vista Ultimate x86
Country Flag


Nope but maybe cygnus can pull one out of the air.

c'mon cyg where are ya tongue.gif
Go to the top of the page
 
+Quote Post
Cybertronic
post Jun 15 2007, 08:09 AM
Post #10


Member
**

Group: Members
Posts: 110
Joined: 28-January 04
From: Newcastle, UK
Member No.: 13332
OS: Vista Business x64
Country Flag


Cygnus, please do make a Vista version blushing.gif biggrin.gif
Go to the top of the page
 
+Quote Post
spacesurfer
post Jul 4 2007, 03:45 PM
Post #11


Pharmassist
******

Group: Members
Posts: 1318
Joined: 31-July 04
From: United States
Member No.: 25917
OS: XP Pro x86
Country Flag


QUOTE
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.
Go to the top of the page
 
+Quote Post
2forza
post Jul 4 2007, 04:13 PM
Post #12


"everybody was kungfu fighting"
**

Group: Members
Posts: 289
Joined: 14-March 05
From: Mars
Member No.: 47699
OS: XP Pro x86
Country Flag


QUOTE (spacesurfer @ Jul 4 2007, 11:45 PM) *
QUOTE
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.


CODE
; 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}"
Go to the top of the page
 
+Quote Post
spacesurfer
post Jul 4 2007, 09:15 PM
Post #13


Pharmassist
******

Group: Members
Posts: 1318
Joined: 31-July 04
From: United States
Member No.: 25917
OS: XP Pro x86
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.
Go to the top of the page
 
+Quote Post
spacesurfer
post Jul 4 2007, 09:25 PM
Post #14


Pharmassist
******

Group: Members
Posts: 1318
Joined: 31-July 04
From: United States
Member No.: 25917
OS: XP Pro x86
Country Flag


Eureka!! Thanks to 2Forza, here's how to add "Empty Recycle Bin" to the right-click menu:

CODE
; 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"


This post has been edited by spacesurfer: Jul 4 2007, 09:27 PM
Go to the top of the page
 
+Quote Post
spacesurfer
post Jul 6 2007, 02:42 PM
Post #15


Pharmassist
******

Group: Members
Posts: 1318
Joined: 31-July 04
From: United States
Member No.: 25917
OS: XP Pro x86
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.

CODE
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
Go to the top of the page
 
+Quote Post
bigfatroundguy
post Apr 3 2008, 07:16 PM
Post #16


Newbie


Group: Members
Posts: 44
Joined: 4-May 05
Member No.: 54707
Country Flag