How to change the key value of the registry to disable USB storage devices, but headphones, keyboards, mice and other USB devices without storage function can be used normally;

tj_zero 65 Reputation points
2024-02-21T08:42:45.16+00:00

I want to disable USB storage device access on the computer by modifying the system registry; However, USB without storage function can be used normally;

Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
Windows for business | Windows Server | User experience | Other
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-02-23T06:52:05.1266667+00:00

     Hi tj_zero, Thanks for your post. There are two options to disable the use of USB storage devices on Windows 10 computer. Option 1: Disable/restrict access to USB storage devices by Group Policy Editor Step 1: Open Local Group Policy Editor in Windows 10 by running gpedit.msc in Run (Win + R) dialog box. Type gpedit.msc in Run box Step 2: Expand Computer Configuration > Administrative Templates > System, and select Removable Storage Access. On the right-side pane, locate ''Removable Disks: Deny execute access'', ''Removable Disks: Deny read access'', and ''Removable Disks: Deny write access''. Double-click on each of them to configure it. Restrict acess to removable disks Step 3: Select Enabled, then click Apply and click OK. This will disable execute, read, and write access to any removable disks including USB storage devices connected to the computer. If you want to enable the use of USB storage devices, set it to ''Not configured'' or ''Disabled''. Select Enabled Option 2: Disable the use of USB storage devices by Registry Editor Step 1: Open Registry Editor in Windows 10 by running regedit in the Run dialog box. Type regedit in Run box Step 2: Go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR, and then locate the DWORD value named ''Start'' on the right-side pane. The default value data of Start is ''3''. Double-click on Start, and set its value data to ''4''. Change value data Step 3: Restart Windows 10 for the changes to take effect. This will prevent any USB storage device from connecting to the computer, and thus disable the use of USB storage devices on the computer. Note: By Registry Editor, you just disable the use of USB storage devices, but it won't affect the use of USB mouse, keyboard, and printer on the computer. Best Regards, Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it. Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

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.