• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Safely remove hardware option in Windows 7 right click context menu

By Abhishek Ghosh May 27, 2011 9:51 pm Updated on May 27, 2011

Safely remove hardware option in Windows 7 right click context menu

Advertisement

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

We will create a batch file to bring the Safely remove hardware window, which otherwise you had to click on the small arrow in Windows 7 notification area, then right click the USB device, then click the Eject that drive 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 desktop instead of Right click menu in Windows 7, so that, double clicking it will bring the Safely remove hardware option window.

Advertisement

---

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 Google for our subscription; lot of visitors forget to confirm it after subscription, we can see from account) might be astonished to see 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 custom 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:WindowsSystem32DeviceEject.exe”
“Position”=”Bottom”

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

[HKEY_CLASSES_ROOTDirectoryBackgroundshellSafely Remove Hardware]
“Icon”=”C:WindowsSystem32DeviceEject.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.

 

Downloads:

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

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

 

SignatureTagged With safely remove hardware windows 7 , remove eject from right click context menu , right click remove device , safely remove usb device windows 7 , windows 7 no eject option Safely Remove Hardware missing
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Safely remove hardware option in Windows 7 right click context menu

  • Windows 7 Right Click Menu Tips,Tricks and Tutorials : Index

    Windows 7 Right Click Menu Tips,Tricks and Tutorials those has been published within The Customize Windows till date is listed here along with description.

  • How to remove Adobe drive CSx option from right click context menu in Windows 7

    After installing Adobe Photoshop CSx, an option to connect Adobe Drive appears in Windows 7 Desktop and Folder right click context menu. If you do not use it, obviously you will want to remove this Adobe drive option in context menu. Here is how you can do it.

  • How to Add any program shortcut to Windows 7 right click Context Menu

    In this tutorial we will show how to add any program shortcut to Windows 7 right click Context Menu in easy steps.

  • Cascading list of websites in right click context menu in Windows 7

    After reading this tutorial, you will be able to add a right click custom named menu and cascading list of submenu of websites of your choice with icons of your choice in Windows 7.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

vpsdime

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cloud-Powered Play: How Streaming Tech is Reshaping Online GamesSeptember 3, 2025
  • How to Use Transcribed Texts for MarketingAugust 14, 2025
  • nRF7002 DK vs ESP32 – A Technical Comparison for Wireless IoT DesignJune 18, 2025
  • Principles of Non-Invasive Blood Glucose Measurement By Near Infrared (NIR)June 11, 2025
  • Continuous Non-Invasive Blood Glucose Measurements: Present Situation (May 2025)May 23, 2025
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2026 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy