How to prevent WinUSB device to show in Safely Remove Hardware?

Rikka 0 Reputation points
2024-09-10T07:00:44.9066667+00:00

User's image

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,625 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hania Lian 17,296 Reputation points Microsoft Vendor
    2024-09-10T09:03:49.5266667+00:00

    Hello.

    If you want a WinUSB device not to appear in the "Safely Remove Hardware and Pop Media" tray icon on Windows, you can do so by modifying the registry.

    Note, however, that modifying the registry may have irreversible effects on the system, so make sure to back up important data before doing so.

    Here is one possible way to hide a particular USB device:

    1. Create a system restore point or backup your registry to prevent any unwanted issues.
    2. Open the Registry Editor:
    • Press the 'Win + R' keys to open the run dialog.
    • Type 'regedit' and press Enter to open the registry editor.
    1. Navigate to the following path:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesusbstor

    1. Inside the 'usbstor' key, find the sub-key named 'Parameters'. If it doesn't exist, you need to create it. Right-click on 'usbstor', select the new > item, and name it 'Parameters'. Look for or create a DWORD (32-bit) value called 'DisableRemovalInterface' inside the 'Parameters' subkey. Double-click on the value and set its value to '1' (either hexadecimal or decimal), then click OK.
    2. Restart your computer: For the changes to take effect, you may need to restart your computer.

    Finally, this method doesn't work in all situations, especially if your device isn't a standard USB storage device. In addition, hiding the device may affect the safe removal process of the device, leading to data loss or other issues. So, make sure you understand the potential risks before making any changes.


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.