Safely remove hardware option in Windows 7 right click context menu


Safely remove hardware option in right click will enable you to remove any USB devices just from right click option.

We will a batch file to bring the Safely remove hardware window, which otherwise you had to click on the small arrow in 7 notification area, then right click the USB device, then click the Eject that option. 3 clicks were needed, more over, the Safely remove hardware window menu appears relatively slowly.

You can, however use the batch file as a standalone file in instead of Right click menu in Windows 7, so that, double clicking it will bring the Safely remove hardware option window.

It will look like this (the icon can be changed as per your wish):

 

Safely remove hardware option in Windows 7 right click context menu

 

Creating the batch files to open Safely remove hardware option window

We need a batch file to run the Safely remove hardware option window.

Open Notepad. Write the following things for Safely remove hardware option:

 

start/min RUNDLL32 SHELL32.DLL,Control_RunDLL hotplug.dll

 

Save the file as removeUSB.bat for the example above and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it. Obviously, you can save with any name you like, but you have to change the name in registry file in second step as well.

 

Double click to test the file. It should launch the Safely remove hardware option window.

After this step, you can use it as a standalone program:

  • Just keep it on the desktop and double click to launch
  • Move to any folder (other than desktop, like in C: drive;) and create a Shortcut to it bu right clicking over it and customize the icon by Right clicking on the Shortcut > Properties > Change icon. Just like we have done:

 

Safely remove hardware shortcut

 

Those who have not still subscribed to our RSS feed or free daily Email updates (remember to check your junk / spam folder for confirmation email from for our subscription; lot of visitors forget to confirm it after subscription, we can from account) might be astonished to where from the iPad like wooden bookshelf came in Windows 7 Desktop. We wrote a tutorial how to get it before, you can read that as well.

The download package contains the above shortcut to Safely remove hardware with icon as well.

 

For those who want Safely remove hardware in right click context menu in Windows 7

 


For those who want Safely remove hardware in Windows 7 right click context menu; need too create a registry file. Please do not forget to place the batch file in C drive (both for the shortcut to Safely remove hardware and right click menu).

 

This will add the functionality to get a working Safely remove hardware option with custom icon from right click context menu. Open Notepad, copy paste the following and modify as per your need:

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTLibraryFolderbackgroundshellSafely Remove Hardware]
“Icon”=”C:\Windows\32\DeviceEject.exe
“Position”=”Bottom

[HKEY_CLASSES_ROOTLibraryFolderbackgroundshellSafely Remove Hardwarecommand]
@=”C:\removeUSB.bat

[HKEY_CLASSES_ROOTDirectoryBackgroundshellSafely Remove Hardware]
“Icon”=”C:\Windows\System32\DeviceEject.exe
“Position”=”Bottom

[HKEY_CLASSES_ROOTDirectoryBackgroundshellSafely Remove Hardwarecommand]
@=”C:\removeUSB.bat

The blue text is the name you want to see in your right click menu. You name it as you like.

The orange text determines the position of the menu. You can use Top, Middle instead of Bottom.

The red text dictates the name and location of the batch file.

The green text is the location of the icon.

 

Save the file as Add Safely remove hardware.reg and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it. Name does not matter here at all. You can save as you like.

Now, double click the reg file and accept the security warnings and you will see the Safely remove hardware option in right click context menu when clicked on a folder or any empty place inside folder or Windows 7 desktop.

 

Removal:

Add a minus sign before the H starts after the third bracket; like [-HKEY_CLASSES.... to all where there is HKEY and save it (with some good name) as reg file and run it. It will break the association; so the Safely remove hardware option will disappear from right click context menu.

Obviously, you might delete the bat files manually too.

 

:

As usually all the required files are here for Safely remove hardware is for your download.

The rar file is protected, type thecustomizewindows.com as the password.

 

Signature


If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave Lame Behind - Get Engaged

Here’s what we’ve got for you:

Contact Us Today for Smarter Marketing of Knowledge

See each of the premium resources below:

For Publishers and Content Owners

Do you want to optimize your available content?

Do you want to increase the visibility of your content?

Do you want to increase your reliability as an Author?

Do you want your next or existing project to be technically planned?

If your answer to any of these is YES contact us with your approximate budget.

Contact Us Today

For the Media Companies and Advertisers

You must be seeking a publisher website like ours with real content to give an exposure to your client's business?

We provide Industry's Standard opportunities for advertisement.

Do you want some promotion that comes with proper invoicing, SLA on per annum basis?

If your answer is YES contact us today for a quote.

Contact Us Today for Quote

Mentions

  1. Safely remove hardware option in Windows 7 right click context menu « Windows 7 Tricks says:

    [...] How to safely remove hardware option in Windows 7 right click context menu [...]

  2. [...] Safely remove hardware option in Windows 7 right click context menu : Safely remove hardware option in Windows 7 Right Click menu will enable you to remove any USB devices just from right click option. [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>