cygnus

[How-to] Add Recycle Bin to start menu

84 posts in this topic

very nice ! ...

but with the first try, when I click on the recycle bin icon, I had a message from Windows Explorer that the access root doesn't exist or it not in the repertory.

I tweak XP to hide the recycle bin on my desktop, so I re-edit to show it and now it working !

afaik this will not work if you tweak XP to hide the recycle bin on your desktop.

Scrat

Share this post


Link to post
Share on other sites

Now if you want an easy way to change the recycle bin icon in the start menu, just use "ActivIcons" (freeware)

downloadbb.png

on default system icons, scroll down and click on the icon under @%SystemRoot%\system32\SHELL.. and Change Icon

this one will change the icon in the start menu. ;)

Scrat

Share this post


Link to post
Share on other sites

Excuse me, Could you make this tip (The Recycle Bin on Start menu) in a .reg form, please?

Or could you show me how I can make it?

Thanks in advice, It's a cool tip!! ;)

I was trying to install the .inf file then reboot system, but an error message appears.

(I'm using XP-SP2).

Edited by KaaMoS

Share this post


Link to post
Share on other sites

Its pretty easy, just edit this line and add any infotip you like

[RecycleBin.AddReg]

; ### 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."

Share this post


Link to post
Share on other sites

No, man... Didn't work... I think that this problem appears because I use WindowsXP-SP2 (BUT IN SPANISH).

The "Recycle Bin" Doesn't show on my Start Menu.

Do you think that changing the name "Recycle Bin" for "Papelera de Reciclaje" (name in Spanish) fix this error?

If is true, what lines I need to change?

Thanks one more time, and excuse me the inconveniences (and my poor english in this forum too) ( ^_^ )!! .

PD: Bueno, eres de Honduras, supongo que ser

Edited by KaaMoS

Share this post


Link to post
Share on other sites

The installation of the .inf go without any issues on my WindowsXP SP2 in French.

It could be usefull sometime for the others, if you post what the message error tell, even in Spanish (we can use online translator ;) )

Scrat

Share this post


Link to post
Share on other sites

That INF is universal, it will put the recycle bin in the start menu and give it the correct name and infotip no matter what language you are using.

You can open shell32.dll in reshacker and go to this location and you will see the Recycle Bin name

SHELL32.dll
String Table>561>10XX>8964

This is the location of the localized info tip

SHELL32.dll
String Table>1433>10XX>22915

You may need to go to the start menu properties and check the Recycle bin option

recyi6.jpg

Share this post


Link to post
Share on other sites

Well... these are the results:

SHELL32.dll
String Table>561>10XX>8964

"Papelera de reciclaje"

SHELL32.dll
String Table>1433>10XX>22915

"Contiene archivos y carpetas que ha eliminado."

You may need to go to the start menu properties and check the Recycle bin option

recyi6.jpg

This Option Doesn't appears (neither "Palelera de reciclaje").

Edited by KaaMoS

Share this post


Link to post
Share on other sites

Oh, Sure!!

Of Course!

But, when I Reboot System, before the "explorer.exe" process opens, this message appears:

errorlr1.jpg

I have 2 Files in the same folder, and I choose "install" from "Recycle.inf" file.

This is the information:

"Entries_RecycleBin_StarMenu"


;===================================================================
; Recycle Bin Strart Menu Add-On by ricktendo64 |
; Special Thanks to Cycnus, Tom, VA(s)T, oxcopxp, Arnab and Sanjay |
;===================================================================
[general]
builddate=2007/01/24
description=Adds Show/Hide Recycle Bin Options to Start Menu & Desktop.
language=en-US
title=Recycle Bin
version=0.4
website=http://www.wincert.net/forum/index.php?showtopic=552

[sysoc]
RecycleBin=ocgen.dll,OcEntry,Recycle.inf,HIDE,7

[dosnet_files]
d1,Recycle.inf

[txtsetup_files]
Recycle.inf = 1,,,,,,,20,0,0

[i386_compress]
rvmtemp\extracted\Recycle.inf

"Recycle"


;ricktendo64

[Version]
Signature=$Windows NT$

[Optional Components]
RecycleBin

[DefaultInstall]
OptionDesc ="Recycle Bin shortcut in Start Menu"
Tip ="by cygnus, Tom, VA(s)T, ricktendo64, oxcoxp, Arnab and Sanjay"
Modes =0,1,2,3
AddReg =RunOnceEx.AddReg

[RecycleBin]
OptionDesc ="Recycle Bin shortcut in Start Menu"
Tip ="by cygnus, Tom, VA(s)T, ricktendo64, oxcoxp, Arnab and Sanjay"
Modes =0,1,2,3
AddReg =RunOnceEx.AddReg

[RecycleInstall]
AddReg=RecycleBin.AddReg

[RunOnceEx.AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",,0x00000012
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Title,0x00000000,"Adding Recycle Bin to Start Menu"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Flags,0x00010001,0x00000080
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Ric-cycle Bin",,,"Custom Recycle Bin Options"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Ric-cycle Bin",1,,"rundll32 setupapi,InstallHinfSection RecycleInstall 128 %17%\Recycle.inf"

[RecycleBin.AddReg]
; ### 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",,0x00020000,"%%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,"::{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",0x00010001,00,00,00,00
; ### Add Recycle Bin check box option to Star Menu Properties (Show/Hide)
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink","Type",0,"checkbox"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink","Text",0,"@%%SystemRoot%%\system32\SHELL32.dll,-8964"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink","HKeyRoot",0x00010001,01,00,00,80
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink","RegPath",0,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink","ValueName",0,"Start_ShowOEMLink"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink","CheckedValue",0x00010001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink","UncheckedValue",0x00010001,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink","DefaultValue",0x00010001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink","NoOEMLinkInstalled",0x00010001,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink\Policy\NoOEMLinkInstalled","RegKey",0,"Software\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink"
; ### Add Show Recycle Bin icon on desktop check box option to Folder Options (Show/Hide)
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","RegPath",0,"Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","Text",0,"Show Recycle Bin icon on the desktop"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","Type",0,"checkbox"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","ValueName",0,"{645FF040-5081-101B-9F08-00AA002F954E}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","CheckedValue",0x00010001,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","UncheckedValue",0x00010001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","DefaultValue",0x00010001,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","HKeyRoot",0x00010001,01,00,00,80
; ### Command Lines for Recycle Bin by oxcoxp
; explorer /root,::{645FF040-5081-101B-9F08-00AA002F954E}
; explorer /e,/root,::{645FF040-5081-101B-9F08-00AA002F954E}

; ### Add Context Menu to SMRB (REG_BINARY) This Breaks the links
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\ShellFolder","Attributes",0x00000001,40,01,00,20

; ### Renamable Recycle Bin on Start Menu (REG_BINARY)
;HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\ShellFolder","Attributes",0x00000001,50,01,00,20

; ### Include Shell extentions
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\ShellFolder","CallForAttributes",0x00010001,1

; ### Fix Properties Option in Context Menu
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex\PropertySheetHandlers\{645FF040-5081-101B-9F08-00AA002F954E}",,0

; ### Fix Broken Links (Explore seems to open Explore view but nothing else is listed in the folder list
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Shell\Open\Command",,0,"explorer ::{645FF040-5081-101B-9F08-00AA002F954E}"
HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Shell\Explore\Command",,0,"explorer /e,::{645FF040-5081-101B-9F08-00AA002F954E}"

; ### CCleaner Users Edit/Remove the SemiColon from the begining of the RegEntries
;HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Shell\Open CCleaner...\command",,0,"%16422%\CCleaner\ccleaner.exe"
;HKCR,"CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Shell\Run CCleaner\command",,0,"%16422%\CCleaner\ccleaner.exe /AUTO"

; ### Dont Show Recycle Bin in Start Menu On Startup (Makes you have to select it manually)
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowOEMLink",0x00010001,00,00,00,00

Edited by KaaMoS

Share this post


Link to post
Share on other sites

Copy Recycle.inf to %WinDir%\inf then retry (the reason it failed is the installer is not manual install friendly)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

You can use nircmd command to refresh,instead reboot.

nircmd.exe shellrefresh

NirCmd is a small utility that allows you to do many useful tasks from command-line, without displaying any user interface: change your display settings, ...

Share this post


Link to post
Share on other sites

Upgraded RAM on my Dell Inspiron 6400 to 4Gb.

Finnally vista runs aswell as XP. Have got all stuff to work with vista tha I want (so far except for RecycleSMD)

Was wondering if this works under Vista Business Edition, it was really useful in XP as I don't really use the desktop.

Thanks for the XP one and Thanks for the Vista one (if there is one) If not I'll just add to the L.H.S. of the start menu.

post-10225-1217072745_thumb.jpg

Share this post


Link to post
Share on other sites

Ok I appear to have replaced default programs with the recycle bin I guess that was that registry file posted abvove, thanks alot.

Share this post


Link to post
Share on other sites

I installed your inf file, and the recycle bin always appears empty even when it is full. The icon for full bin never shows although I am still able to empty it from the start menu. Is there a fix for this?

Share this post


Link to post
Share on other sites

Lurker,

If I remember right, this addon does that too. It will add an option in Folder Options to remove the icon from the desktop :)

Hopefully memory serves me right.

Share this post


Link to post
Share on other sites

Hi,

Sorry for revive and old post.

This customization works like a charm in XP Start Menu but can be used when user select classic start menu ?

I tried and not working, someone know a way to customize the classic start menu ?

Thanks,

Robert Jr.

Share this post


Link to post
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