How do you remove "Safely Remove Hardware" Icon?


Recommended Posts

I think I found it.

I'm wondering if it has to do with this file:

hotplug.dll.....(Safely Remove Hardware applet, or HotPlug Manager). Displays a System Tray icon with which you can unplug (or eject) USB (Universal Serial Bus) devices.

If so, it would seem that you could unregister or delete it this file to make the System Tray icon go away.

If it doesn't delete for you, it could be because the file is in use. You can then, either move the file to another location with a batch file, and reboot, or delete the file in safe mode.

  • 3 weeks later...

I have an Acer Aspire 1693 notebook and it shows the Safely Remove Hardware icon in the system tray thanks to my built-in (yet changeable) DVD drive. I think that rather than looking at a way to hide or kill the SRH icon we should be questioning why it only shows it for particular hardware.

Perhaps there is a value in the hardware driver's INF file, in the registry, or in the driver SYS files themselves that tells Windows, "hey, I'm removable!", and then Windows decides to show the icon. If we can find this value we can hide the icon for devices we never remove but still retain it for the occasional hardware that needs it.

- Jason

I have done some research. The SRH icon is getting information from the registry under the key HKLM\SYSTEM\ControlSetxxx\Enum\. For my Matshu****a DVD drive there are keys under IDE\Matsu****a\Modelxxxx\. The particular value that is relevant is the Capabilities DWORD which contains several flags ORed together. The value 2 means Eject Supported (eject hardware not media) and the value 4 means Removable so my Matsu****a has 6 in the Capabilities field.

I tried changing the permissions on this registry key and changing the Capabilities to zero but after a reboot the value had reverted back to 6 and the SRH icon was still there. I'm guessing these registry keys are just a cache for the real data that is coming from some other file or is being reported directly by the driver itself.

Guess I'll have to poke around some more.

- Jason

not that thing again :)

http://www.msfn.org/board/index.php?showtopic=34987&st=20

Also you can create a shortcut to open the Dialog box Without using the Tray Icon.

Just create a shortcut to:

%windir%\System32\RUNDLL32.EXE shell32.dll,Control_RunDLL hotplug.dll

  • 3 months later...

^ Unnecessary.

DigeratiPrime's post (#35) in the thread linked by him above says:

Further down the thread it also says, that this method also remove the sound icon from the tray, so if you dont mind loosing that too, then use this method ;)

im in the same situation looking for a solution, atm im currently running HideSRHI.exe manually after login :p

Thanks ALOT, man!!

I spent 2 days digging Inet trying to find SELECTIVE fix for SRH problem - just to disable SRH for SOME of my SATA drives (need nForce drivers to make RAID working). Unfortunately, my raid is not where Windows boots from, so it just let to remove any of raid disks on the fly. It's BAD in my case, 'cose dumb users can easily crash raid in this way :) And hiding SRH icon is not a solution for me - i need it to remove other devices.

So my idea is (based on your research):

1. Change permissions to registry key you mentioned allowing write "Capabilities" value

2. Make small .bat file setting desired "Capabilities" and put it to startup

In this way I got normal SRH icon with NO SATA RAID DISK in it!!! Just happy now :))

Cheers!

I have done some research. The SRH icon is getting information from the registry under the key HKLM\SYSTEM\ControlSetxxx\Enum\. For my Matshu****a DVD drive there are keys under IDE\Matsu****a\Modelxxxx\. The particular value that is relevant is the Capabilities DWORD which contains several flags ORed together. The value 2 means Eject Supported (eject hardware not media) and the value 4 means Removable so my Matsu****a has 6 in the Capabilities field.

I tried changing the permissions on this registry key and changing the Capabilities to zero but after a reboot the value had reverted back to 6 and the SRH icon was still there. I'm guessing these registry keys are just a cache for the real data that is coming from some other file or is being reported directly by the driver itself.

Guess I'll have to poke around some more.

- Jason

the hideSRHI.exe method sucks. my safely remove hardware icon is here for the USB wifi key (which I don't plan to ever unplug for the incoming monthes). hideSHRI launches at startup, displays some annoying error message ; then later my network connection and remove icon show up and stay there.

that's how it is for me ;)

so, I did the replace stobject.dll with dud.exe : safely remove hardware goes away, along with task manager's CPU meter and wireless connection status. CPU meter is not a problem, as long as my task manager is always running in the background (it's run minimized at startup). wifi connection was useful (it's an adhoc network) but I can live without it.

it's really nice to have only two useful tray icons at launch :D (and one more when I launch Gaim)

complicate life to simplify it, I often do that.

but I'm the kind of guy to think editing a few files and replacing dll is rather simple afterall.

I know about the "Show icon in notification area when connected" checkbox, but windows doesn't seem to care about it and this was not what I was after.

  • 1 year later...

I found a fix for it.

Its because they are SATA drives. (atleast for me they are.) Sata are actually removable devices, so we have to tell windows not to allow them to be removable.

Go here in the registry:

HKLM\SYSTEM\CurrentControlSet\Services\nvata - 32bit

HKLM\SYSTEM\CurrentControlSet\Services\nvata64 - 64bit

and create a DWORD value called DisableRemovable with value 1.

Restart and you're good to go!

For the life of me I cannot understand why theres so many people making a mountain out of a mole hill. The problem lies in the drivers installed from the mobo setup disc. Go to "add/remove" and uninstall the ide drivers loaded by the setup disc, and let windows use its own set of device drivers to handle it. This is so old its not funny, I researched this years ago and found this fix. No problems whatsoever afterwards, honest. :whistle:

For the life of me I cannot understand why theres so many people making a mountain out of a mole hill. The problem lies in the drivers installed from the mobo setup disc. Go to "add/remove" and uninstall the ide drivers loaded by the setup disc, and let windows use its own set of device drivers to handle it. This is so old its not funny, I researched this years ago and found this fix. No problems whatsoever afterwards, honest. :whistle:

fantastic for you! not to be a butthead, but you said the IDE drivers.

The hard drives we're having a problem with are SATA. And SATA drives ARE hot swappable. So you have to tell windows xp not to allow them to be. No matter the drivers you install.

Windows VISTA, on the other handle, you can disable this through system. XP is older than your casual sata drive; thus doesnt know how to use them correctly.

  • 6 years later...

I have discovered a way to remove that icon, which involves the following steps:

 

1. Download Dud (http://www3.telus.net/_/dud/'>http://www3.telus.net/_/dud/) and Replacer (http://www3.telus.net/_/replacer/).

2. Rename dud.exe to stobject.dll.

3. Give Ownership of the stobject.dll in \Windows\System32 to Administrators and give Full Permission to it.

4. Run Replacer to replace the original stobject.dll with the renamed dud.exe.

5. Restart the PC.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • See up until a few years ago y'all could get away with simply denying your war crimes, pretending it never happened. Unfortunately for you, it's the 2020s and Israel's genocide has been livestreamed in real time. You have to be dumber than a rock to think anyone still believes your propaganda. See the cat is already out of the bag. The world already knows who you are so do yourself a favor and just drop the facade. Bet it gets real tiring keep track of all the lies. Take some inspiration from Israeli ministers who boast on live TV they like massacring civilians. Every accusation is after all a confession.
    • He's just reporting what Microsoft posted. https://msmessagecenter.com/MC1381119 It just means that Windows Defender updates will no longer be bundled into the monthly Cumulative Windows security update and will now be a separate download. They'll still be on Microsoft update of course but now they can be released faster.
    • Apple announces iOS 27 with no changes to the list of supported iPhones by Taras Buria At WWDC 2026 in Cupertino, Apple announced iOS 27, the next mobile operating system for compatible iPhones. The update focuses on tweaking and improving last year's iOS 26, particularly in areas like app launch time, Liquid Glass design, and more. Additionally, Apple has reworked Apple Maps with a significantly enhanced Flyover view for a much more realistic view. Apple also promises better performance, smarter search, new Health features, new parental controls, and more. The most important part is that iOS 27 is compatible with all iPhones that can run iOS 26. That means that even the seven-year-old iPhone 11 can run iOS 27 (supposedly better than iOS 26). iOS 27 will be available this Fall, with the first developer betas expected later today. You can follow the live stream here.
    • WinSnap 6.2.3 by Razvan Serea WinSnap is a fast and user-friendly utility for taking and editing screenshots. It easily captures windows with rounded corners and transparent backgrounds from Aero Glass on Windows 7 to Mica Material on Windows 11. Right after capture, WinSnap instantly enhances screenshots with professional-looking shadows, reflections, outlines, highlights, watermarks, arrows, shapes and text annotations. WinSnap runs on Windows 11, 10, 8, 7, Vista and XP (32-bit and 64-bit). It handles Aero Glass and shadows on all supported OS. Native 64-bit version is included in the setup package. WinSnap key features: Flexible screen capture capabilities Smoothing shadow effect in Photoshop style Powerful image processing and basic canvas transformations Support of various image formats and advanced auto-save options Easy Web publishing and E-Mail sending Multilingual user interface (Unicode based) Easy makes screenshots of windows with rounded corners WinSnap saves info about window form and adds real smoothing shadows. Alpha-Channel and PNG/TIFF transparency are supported. Unique "Application" capture mode allows you to capture all visible windows of the foreground application with one click. Unique "Multi-Object" capture mode allows you to select multiple windows on the screen and easy combine them into one screenshot. Basic coloring effects and canvas transformations. Advanced auto-save and auto-copy options. Configurable External Tools menu to open image editors and optimizers. Usual keyboard and mouse control (Print Screen replacement). Advanced resize feature: to width/height and to percentage Outline color and larger shadows for shapes and text Pixelate tool to hide sensitive information on screenshots Larger icons and buttons for high-DPI screens Number keys are used for tool selection now WinSnap 6.2.3 changelog: Added Czech language and polished 12 other translations Live window resize without "Processing..." text Optimized drawing of multiple complex objects on screenshot Improved shadow/blur generation speed on 4k+ resolutions Reduced memory usage in region capture mode Fixed an issue with reflection in 24bpp format Some other minor improvements and bug fixes Download: WinSnap 6.2.3 | 3.6 MB (Shareware) View: WinSnap Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Very Popular
      Captain_Eric earned a badge
      Very Popular
    • One Month Later
      amusc earned a badge
      One Month Later
    • One Month Later
      DJC50PLUS earned a badge
      One Month Later
    • Week One Done
      DJC50PLUS earned a badge
      Week One Done
    • Proficient
      Eric Biran went up a rank
      Proficient
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      PsYcHoKiLLa
      238
    3. 3
      ATLien_0
      80
    4. 4
      Steven P.
      78
    5. 5
      +Edouard
      71
  • Tell a friend

    Love Neowin? Tell a friend!