Skip to main content

Registry Trick : Rename the Recycle Bin

In any Windows Operating System, you will not find rename option for Recycle Bin. Just for fun if you want to rename the Recycle Bin, you can do it by some Registry Trick.

Before going ahead please ensure that you are fully aware of windows registry editor and consequences of modifying the registry incorrectly.  To have a backup of the registry follow steps mentioned in the link Backup & Restore Windows Registry.

Now if you are ready to rename Recycle Bin then follow these steps in order:
1. Copy following lines in notepad on your computer.

Windows Registry Editor Version 5.00


[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder] 
"Attributes"=hex:50,01,00,20 
"CallForAttributes"=dword:00000000

2.  Save the file with name as "RegistryChanges.reg". Don't forget that we are using extention .reg for saving.
3. Now double click the file "RegistryChanges.reg". This will add the above mentioned registry keys to your computer registry. Double clicking will launch the dialog box, click Yes  and you are done.
4. Now go to desktop and right click the Recycle Bin, you will find Rename option in right click menu. 

Now as you have renamed your Recycle Bin, you will want that no one should rename that to anything else. 
To do this you will require to revert the registry keys you have modified in step 3. Follow below steps to revert the value of registry keys.
1. Copy following lines in notepad on your computer.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]
"Attributes"=hex:40,01,00,20
"CallForAttributes"=dword:00000040


2.  Save the file with name as "RegistryOriginal.reg". Don't forget that we are using extention .reg for saving.
3. Now double click the file "RegistryOriginal.reg". This will launch the dialog box, click Yes  and you are done.
4. Now go to desktop and right click the Recycle Bin, you will not find Rename option in right click menu. 

Comments

  1. excellent piece of information, I had come to know about your website from my friend kishori, pune,i have read atleast 7 posts of yours by now, and let me tell you, your site gives the best and the most interesting information. This is just the kind of information that i had been looking for, i'm already your rss reader now and i would regularly watch out for the new posts, once again hats off to you! Thanx a lot once again, Regards, rename recycle bin

    ReplyDelete
    Replies
    1. Thanks buddy!!! This will definitely encourages me to post more and more such findings on this blog.

      Delete

Post a Comment

Popular posts from this blog

How to boot Samsung Galaxy SL( GT-I9003) in recovery mode

** I Will Not responsible for any damage done with use of below mentioned methods. ** Power off your Samsung Galaxy SL (GT- I9003) to start in recovery mode. Once you have power off the phone, press and Hold Volume UP and Home button. Make sure you have hold volume up, don't press in  the middle of the volume buttons.  Now keep pressing these two buttons(VOL UP + HOME) and presspower button for 2-3 seconds. Release only power button, but keep pressing Volume Up + Home Button, until you see the screen shown below. Once you see recovery screen release the Home button else your phone will restart as first selected option will be restart and pressing home will make that happen.

In the recovery mode, volume up & down act as a up scroll and down scroll buttons, by pressing Home button you will be able to click the selected option.

How to flash CWM Recovery to Samsung Galaxy SL( GT-I9003) using Odin

** I Will Not responsible for any damage done with use of below mentioned methods. ** To flash the CWM recovery to your Samsung Galaxy SL you will require to following things in place: Odin  : you can download it from here.CWM Recovery image : you can download it from here. Thanks to XDA-developers. USB driver to connect your phone with computer. Install Samsung Kias so it will install the USB driver. Once you have downloaded above required items and installed the USB driver, reboot you phone to download mode. You can read how to reboot phone in download mode from here. Now connect the phone with USB cable to computer. 
Extract the Odin from the zip file that you have downloaded at some location on your computer and launch the Odin executable by double clicking it. Wait for Odin to detect your phone.You will be able to see it in yellow once detected on odin screen as shown below.
Click the PDA button to select the CWM recovery image. Once you have selected the recovery image, check the od…

Exception handling with RestTemplate

Spring framework offers RestTemplate for consuming RESTful services. Recently I used RestTemplate for consuming one of the third party RESTful service.

RestTemplate offers 'ResponseErrorHandler'; which you can extend to decide which are errors for you and how to handle those error. You can override hasError and handleError methods of ResponseErrorHandler.
In handleError you can throw customException if you want, as outlined in below code.

import org.springframework.http.HttpStatus; import org.springframework.http.client.ClientHttpResponse; import org.springframework.web.client.ResponseErrorHandler; import java.io.IOException; public class RestTemplateErrorHandler implements ResponseErrorHandler { @Override public void handleError(ClientHttpResponse response) throws IOException { throw new MyCustomException(response.getStatusText(), response.getStatusCode()); } @Override public boolean hasError(ClientHttpResponse response) throws IOException …