Remove CPU or casefan coolers from USB eject


Recommended Posts

One of the dumbest things about my 2023 PC upgrade that I came across is how very badly companies implement their expensive RGB offerings across devices.

If it isn't for the fact that almost every different company requires its own software, because apparently there's no standard when it comes to RGB, even though motherboard manufacturers have been including the headers on boards for years. Companies that make RGB coolers don't even bother to add an option like saving RGB lighting and fan preferences in an onboard memory inside the RGB controller that is required!

Aside from the crap software most of them have, the other extremely frustrating problem is that some of the RGB coolers are detected by Windows as ejectable devices too 🤷‍♂️ and this is down to the companies lazy and crap firmware.

Which sane person would ever want to eject their cooler?!

image.png

Yes, really LianLi and NZXT thought it would be helpful if we can eject the coolers, which can result in issues like the fans going on max RPM, the software not being able to access the controllers for configuration, until the next reboot when they are once again detected as ejectable devices.

You could say to yourself, "I'll just be careful then!" but no amount of being careful will avoid an accidental eject, when you meant to eject a USB drive. It is just some of the dumbest thing I've seen accompanying an expensive piece of equipment. For example the NZXT Kraken costs over €200 in Europe, and the case fans were almost €100 for 4.

So what can we do about it?

In a very roundabout way, and thanks to multiple articles that I researched over this past weekend, I was able to implement a fix that works for me and removes the devices from the "Safely Eject" systray.

 

  1. First go into Device Manager and look for Universal Serial Bus devices -> Your cooler(s).
    SNAG-0006.png
  2. Right click, open Properties, go to Details tab, select Property 'Hardware IDs', find the VID and the PID; For my NZXT Kraken Base it's USB\VID_1E71&PID_300E&MI_00 (shortest of 2 if more than 1 exists).
    image.png
  3. Open Registry Editor, navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB, find the directory called the same as your VID&PID found above, open it, then open the subdirectory inside; (My full path is Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_1E71&PID_300E\FBC5739BECAE7F54BC35F2A255DFDB9C).
    SNAG-0004.png
  4. Look for an entry called Capabilities. Mine has a value of 0x00000094 (decimal 148).
  5. Using another source I found out that we need to subtract 4 from 94 to signify a non-ejectable device, and I saved Capabilities as 90 (hex).
    SNAG-0005.png
  6. It will immediately disappear from Safely Remove Hardware and Eject Media.

The next time that you reboot however, they will be back as ejectable devices because the preference is not saved between boots, so we can automate it with Task Scheduler

Right click on the desktop and create a text document

In it paste the following:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\YOUR-COOLER-HARDWARE-ID1\SUB-KEY]
"Capabilities"=dword:00000090

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\YOUR-COOLER-HARDWARE-ID2\SUB-KEY]
"Capabilities"=dword:00000090

Ensure you change YOUR-COOLER-HARDWARE-ID1\SUB-KEY for your Hardware ID and sub key.. mine is VID_1E71&PID_300E\FBC5739BECAE7F54BC35F2A255DFDB9C and VID_0CF2&PID_A100\6243168001

As you can see you can add multiple entries for multiple coolers that are shown as ejectable, when they shouldn't be,

Save the file, and change the .txt extension to .reg.

Now we want this registry change to take place every time we boot Windows so that the coolers no longer show up as ejectable devices.

You can apply that solution as such:

  1. Open Task Scheduler, hit Create Task, and give it a name
  2. Click on Change User or Group and type System, save that - thanks V3n0mx
  3. Make sure to select 'Run with highest privileges'
  4. Go to the Triggers tab, create a new trigger, hit 'At Startup' and hit OK
  5. Go to the Actions tab, create a new action, select C:\Windows\System32\reg.exe as the program, and under 'Add arguments', add: import "C:\Your Path To\remove-coolers-from-usb-eject.reg"
  6. Hit OK (right click on Task and select Run to test)

Note: quotes allow you to specify a path with spaces in it for the argument field, but if you save the .reg file in a place without spaces you can also add the argument as like so: import E:\Software\remove-coolers-from-usb-eject.reg

Task Scheduler should now re-set the Capabilities value to one that marks the device as un-ejectable and the Safely Remove Hardware and Eject Media icon should not be present anymore in the systray.

Basically the things to remember for your configuration is the correct hardware ID in the registry, and changing the hex value by minus 4 to indicate it is not ejectable (from 94 to 90).

Hope this helps someone!

the one other fun fact is, u dont actually have to safley eject a usb stick so some people may not even realise this is a thing anymore "https://learn.microsoft.com/en-US/windows/client-management/client-tools/change-default-removal-policy-external-storage-media"

 

Also cool article hopefully thanks to yourself the companies actually fix their ######. or when windows enables the rgb ###### of their own

  • Like 3
  • 1 month later...

Tried this.

If I go to registry, change the value to 90, it then disappears from the taskbar. Great.

BUT

When I go into task scheduler, do as instructed above, do a reboot, the it then appears again.

If I click on the .reg file that I created ( manually ) it says  " The specified file is not a registry script. You can only import binary registry files from within the registry editor "

 

any ideas ?

  • 3 weeks later...

Use "USB Safely Remove" ( https://safelyremove.com/features.htm ) which can hide unwanted crap from this list and hide the stock USB icon. Occasionally they do giveaways/offer it free without updates. The 4.7 version was free.

  • Like 2
On 09/09/2023 at 08:28, MS Bob 11 said:

Use "USB Safely Remove" ( https://safelyremove.com/features.htm ) which can hide unwanted crap from this list and hide the stock USB icon. Occasionally they do giveaways/offer it free without updates. The 4.7 version was free.


I've been using this for years.  Great little utility!

  • Like 1
On 09/09/2023 at 09:46, V3n0mx said:

For some reason it keeps showing back up again and I have to keep going into task scheduler and hitting "run"

I had the same problem until I changed the task to run from SYSTEM and it has been great since.

Only difference I can see is that my task is reading a .reg file, and yours is running the argument.

Yeah I have tried doing it the .reg way and still it won't work. I have to do it the argument way. Every now and again it shows back up and I have to click run and do it manually. Seems as though task scheduler isn't running it by itself,

Reg way never works at all. Argument way  works half the time but usually I have to manually hit " run "

 

In regards to the  software linked above, after the 30 days is up, will the icon reappear ?

 

There has been an NZXT cam software update recently. This may have something to do with it.. either that or I did install a much faster CPU and I think task scheduler is trying to  execute the command before NZXT is even loaded

Edited by V3n0mx

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • "...a low price of just $340..." I don't think it means what you think it means.
    • This Corsair Vengeance DDR5-6000 32GB RAM with RGB is a great deal for limited time by Sayan Sen Memory prices have been through the roof for a while, though it seems like things might finally be getting better. If you are in the market for one, then grab this Corsair Vengeance DDR5 32GB (2x16GB) DDR5 6000 CL36 kit with RGB for a low price of just $340 (purchase link under the specs table down below). The kit is compatible with both AMD and Intel systems as it supports both EXPO and XMP overclocking profiles, respectively. 6000 MT/s is often the sweet spot for many systems as it provides ample data transfer speed while still being on Gear 1 mode. This Vengeance variant has RGB so if you love bright setups with such lighting, this is a win-win for you. The technical specifications of the Corsair Vengeance memory kit are given in the table below: Specification Value Memory Type DDR5 Memory Size (Total) 32GB Kit Configuration 2 × 16GB Form Factor UDIMM (Desktop) Pin Count 288-pin Speed (Data Rate) 6000 MT/s Speed Rating PC5-48000 Tested CAS Latency 38-44-44-96 Voltage (Tested) 1.35V Performance Profile AMD EXPO & Intel XMP Heat Spreader Aluminum heatspreader Cooling Type Passive (Heatsink) Lighting Ten Zone RGB Software Support Corsair iCUE Get it at the link below: CORSAIR Vengeance RGB DDR5 32GB (2 x 16GB) 6000 CL38 – Gray (CMH32GX5M1E6000Z38): $339.99 (Sold and Shipped by Woot US, Fulfilled by Amazon US) This Woot deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • The very fact that a TPM (v2.0 specifically which is part of the issue I suspect) is now a baseline for any supported Windows installation will naturally mean other vendors will start to leverage it as they know it'll be there. It's called progress, and it's always been the way. A TPM isn't a windows thing, it's just a module designed to securely store keys. Secure boot isn't a Windows thing (although MS are the TCA as I recall hence the upheaval this year as the 2011 certs expire), it's just a way to verify a bootloader is signed. Windows simply leverages them.
    • It's a local account with the ability to reset a password at a very base level. I really don't get the issue that gets whipped up around it But you do you
  • Recent Achievements

    • Proficient
      Eric Biran went up a rank
      Proficient
    • Dedicated
      Conjor earned a badge
      Dedicated
    • Week One Done
      Windows Guy earned a badge
      Week One Done
    • Dedicated
      Mark Spruce earned a badge
      Dedicated
    • Collaborator
      conkir earned a badge
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      479
    2. 2
      PsYcHoKiLLa
      244
    3. 3
      Steven P.
      72
    4. 4
      +Edouard
      66
    5. 5
      Skyfrog
      65
  • Tell a friend

    Love Neowin? Tell a friend!