USB Registry Keys Cheat Sheet: Paths, GUIDs and Values

Registry-based USB control is scattered across a service key, a policy key and a handful of class GUIDs. This page collects the verified paths, value names and GUIDs in one place, with read-only checks and a short test plan for each change.

Editorial TeamNovember 20266 min readLast verified: November 2026
Quick answer

USB storage is controlled by two registry locations: the USBSTOR service key, where Start = 4 disables the driver, and the RemovableStorageDevices policy key, where Deny_All = 1 blocks all removable classes and per-class GUID subkeys hold Deny_Read, Deny_Write and Deny_Execute.

At a glance
LocationsServices key and Policies key
Main valuesStart, Deny_All, Deny_Read, Deny_Write
EditionHome, Pro, Enterprise, Education
NeedsAdministrator, then a restart
Last verifiedNovember 2026
Six device tiles showing which USB device classes a storage block affectsFlash driveUSBSTORBlockedKeyboardHIDKeeps workingMouseHIDKeeps workingPrinterPrint classKeeps workingPhone (MTP)WPDOwn policyDisc driveCD/DVDOwn policy

The two-location map

Two locations matter: the USBSTOR service key under Services, which switches the storage driver, and the RemovableStorageDevices key under Policies, which holds the same values Group Policy writes. The service key is a driver setting; the policy key is an access rule.

Policy registry tree down to Deny_Read and Deny_Write valuesHKLM\SOFTWARE\Policies\Microsoft\WindowsRemovableStorageDevices{53f5630d-...} (Removable Disks)Deny_Read = 1 Deny_Write = 1
Where the service key and the policy key sit, and which values live under each.

Keys and values at a glance

Four values cover nearly every case: Start under USBSTOR, Deny_All at the policy root, and Deny_Read and Deny_Write under a class GUID. Each takes a DWORD, with 1 meaning deny for the policy values and 4 meaning disabled for Start.

USB registry keys and values
KeyValueDataEffect
HKLM\SYSTEM\CurrentControlSet\Services\USBSTORStart3 default, 4 disabledLoads or disables the USB storage driver
HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevicesDeny_All1Denies all removable storage classes
Same key, class GUID subkeyDeny_Read1Denies reading from that class
Same key, class GUID subkeyDeny_Write1Denies writing to that class
Same key, class GUID subkeyDeny_Execute1Denies running programs from that class
Policy values and the main guideThe steps and rollback for the Start value are in the guide to disabling USB ports with Registry Editor. This page is the lookup table behind it.

Class GUIDs for the policy subkeys

Each removable storage class has a GUID that names its subkey under the policy key. Removable Disks uses {53f5630d-b6bf-11d0-94f2-00a0c91efb8b}, CD and DVD uses {53f56308-b6bf-11d0-94f2-00a0c91efb8b}, and phones use the two Windows Portable Device GUIDs listed below.

Removable storage class GUIDs
ClassGUID
Removable Disks{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
CD and DVD{53f56308-b6bf-11d0-94f2-00a0c91efb8b}
Floppy drives{53f56311-b6bf-11d0-94f2-00a0c91efb8b}
Tape drives{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}
Windows Portable Devices{6AC27878-A6FA-4155-BA85-F98F491D4F33}
{F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE}
One wrong digit does nothing, silentlyCopy GUIDs from this table rather than retyping them. A mistyped GUID creates a valid-looking key that Windows never reads, and the drive keeps working.

Read-only checks you can run any time

Use read-only commands to see the current state before and after any change. They print values without writing anything, so you can run them as often as you need while troubleshooting, and paste the output into your notes.

Read the service value
# Prints Start; changes nothing
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\USBSTOR" -Name Start
List any policy values already set
# Shows Deny_ values if the key exists
Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices" -ErrorAction SilentlyContinue

Copy-ready snippets

Two snippets cover the common cases: one blocks all removable storage through the policy key, and one denies only writes to removable disks while allowing reads. Save either as a .reg file, run it as an administrator, and keep the matching undo file beside it.

Deny all removable storage
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices]
"Deny_All"=dword:00000001
Deny writes to removable disks, allow reads
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}]
"Deny_Write"=dword:00000001
Undo: remove the values
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices]
"Deny_All"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}]
"Deny_Write"=-

A short test plan for every change

Test each change the same way: read the value, restart, test a drive, test a phone, test input devices, and read the value again. Six checks take about ten minutes and catch the usual failures, such as a typo in a GUID or a drive that was already connected.

Per-change test plan

0 completed
Phones need their own test

Phones use the portable devices class rather than the removable disks class, so a disk policy can pass the flash drive test and still leave file transfer open.

Read the value before and after

Reading before and after shows whether anything rewrote it, which is the pattern described on the page about the Start value resetting to 3.

USB Block Registered Version tab showing license details and a Buy More button
Software controls keep their settings in a program window rather than in registry keys you maintain yourself.

If you would rather not maintain keys by hand, compare the layers on the registry, policy and software comparison. For related reading on drive risks, the USB flash drive security best practices page is a useful starting point, and a guide to detecting and preventing USB data leaks covers the monitoring side.

About this guideWritten by the NewSoftwares.net team, the developer of USB Block. We describe free and built-in options alongside our own. Questions about the product go to the developer through the contact page for support questions.

Questions about USB registry keys

This section answers the lookups people repeat most when working with USB registry values: which key holds a setting, what a value does, which class GUID applies, and how to check or undo a change without damaging anything else on the PC.

Which registry key controls USB storage?

The service key HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR holds the Start value for the USB storage driver. A value of 3 is the default and 4 disables the driver. A separate policy key under Software\Policies\Microsoft\Windows\RemovableStorageDevices holds Deny_ values for removable storage classes. Export the key before editing it, so the original value is easy to restore.

What does Deny_All do?

Deny_All set to 1 under the RemovableStorageDevices policy key blocks all removable storage classes. CISA lists it in its countermeasure for blocking removable media, and it is the registry form of the Group Policy setting named All Removable Storage classes: Deny all access. A restart is the safe assumption after setting it.

What is the GUID for removable disks?

The removable disks class GUID is {53f5630d-b6bf-11d0-94f2-00a0c91efb8b}. Under the policy key, it is a subkey that can hold Deny_Read, Deny_Write and Deny_Execute values. Check the digits carefully, because a mistyped GUID creates a key that does nothing and shows no error.

Which GUIDs cover phones?

Phones in file-transfer mode appear as Windows Portable Devices. The commonly listed GUIDs are {6AC27878-A6FA-4155-BA85-F98F491D4F33} and {F33FDC04-D1AC-4E8E-9A30-19BBD4B108AE}. A Microsoft Q&A thread reports that the WPD policy was needed to block a phone when the disk policies alone did not. Test a phone separately after any disk policy, because passing the flash drive test does not prove file transfer is closed.

How do I read a value without changing it?

Use Get-ItemProperty in PowerShell with the key path and the value name, for example the USBSTOR path with the name Start. It prints the current number and changes nothing, which makes it safe for repeated checks while you troubleshoot. Regedit also shows the data in its right-hand pane.

Do I need administrator rights to edit these keys?

Yes. Both locations are under HKEY_LOCAL_MACHINE, and Windows refuses writes from a standard session without administrator approval. Reopen Registry Editor or PowerShell with the administrator prompt accepted, and export the key before changing anything. Keep the export somewhere other than the desktop of a shared PC, so you can import it later if the change needs undoing.

How do I remove a Deny value I added?

Delete the value in Registry Editor, or set it to 0, then restart. In a .reg file, a line that sets a value name to a minus sign deletes it on import. Remember to remove per-class values as well as Deny_All, since any of them can leave drives showing Access denied.

Related pages for the registry keys

These pages put the keys in context: the step-by-step registry procedure that uses the Start value, the explanation of why that value can revert to 3, and a comparison of registry, policy and software control for different PC counts.

Need a password and a log, not just a switch?

USB Block is our own Windows program for that job.