See Our Top Pick →

Allow Only Approved USB Drives on Windows Server

Blocking every drive is easy. Keeping one backup disk working while the rest stay blocked is where most setups fail. This page shows how to find the ID, write the allow rule and prove it.

  • By the NewSoftwares.net editorial team
  • Published November 2026
  • Last verified: November 2026
  • 4 min read
Quick answer

To allow one approved USB drive on Windows Server, deny the storage class, then allow that drive by hardware or instance ID in Device Installation Restrictions and enable layered evaluation. Software with an authorized list does the same without ID rules.

At a glance
GoalOne approved drive, all others blocked
Applies toWindows Server 2016 to 2025
Time needed20 to 40 minutes
Last verifiedNovember 2026
An approved USB drive with a green check mark passing through a gate while other drives are stopped

The Allow-List Model: Deny the Class, Permit the Identity

An approved-drive setup has two halves: a broad deny that catches every storage device, and a narrow permit that names the one drive you trust.

Name the drive by something that does not change. A drive letter changes between machines, and a volume label can be typed by anyone. Windows identifies hardware by IDs read from the device, and those are what an allow rule can match. Even those are not perfect: cheap drives sometimes share an ID across a whole batch, so two “different” drives of one model may both pass.

  1. Pick the exact drive

    Choose one physical drive, ideally encrypted, and label it for the server it serves.

  2. Read its IDs

    Collect the hardware ID and, if you can, the device instance ID.

  3. Write the deny, then the allow

    Deny the class, allow the ID, and enable layered evaluation.

  4. Test three drives

    The approved one works, an identical-model spare behaves as you expect, and a random drive fails.

Find the Hardware ID and Instance ID of a USB Drive

Both IDs are in Device Manager, and you can also read them with PowerShell.

  1. Open Device Manager

    Press Windows key plus X and choose Device Manager, or run devmgmt.msc.

  2. Find the drive

    Expand Disk drives, right-click the USB drive and choose Properties.

  3. Read the IDs

    On the Details tab, pick Hardware Ids in the Property list, then repeat with Device instance path. Copy the value you will use in the rule.

PowerShell: list USB storage devices and their IDs
Get-PnpDevice -Class DiskDrive | Where-Object { $_.InstanceId -like "USBSTOR*" } |
  Select-Object FriendlyName, InstanceId | Format-List
Tip

The instance ID usually ends in a serial number segment, which makes it narrower than the hardware ID. Use the instance ID when you want one drive and the hardware ID when any drive of that model is acceptable.

Writing the Allow Rule in Group Policy

Both settings live under Computer Configuration, Administrative Templates, System, Device Installation, Device Installation Restrictions.

  1. Enable the layered evaluation setting

    Turn on Apply layered order of evaluation for Allow and Prevent device installation policies across all device match criteria. Without it a class Prevent defeats your Allow.

  2. Allow the drive

    Enable Allow installation of devices that match any of these device IDs, click Show and add the ID. Instance IDs have their own setting beside it.

  3. Prevent the class

    Enable Prevent installation of devices using drivers that match these device setup classes and add the disk drive class GUID, or use the removable devices prevention setting.

  4. Apply and test

    Run gpupdate /force and plug in the approved drive, a spare and a random drive.

Warning

Leave “Also apply to matching devices that are already installed” off at first. Microsoft cautions that applying a retroactive restriction to all Disk drives can block the boot disk.

Common mistake

Entering the ID with extra spaces or the wrong prefix. The value must match what Device Manager shows, for example one beginning with USBSTOR\ for a storage device.

Approving a Drive With USB Block Instead

USB Block keeps an Authorized Devices list with the serial number, type and name of each approved device, and a Remove from List button. The product page describes your own drives working without a prompt and unauthorized ones asking for a password.

That replaces the ID lookup with a click-based flow. We did not verify the approval prompt on a Windows Server install, so run the three-drive test on a spare machine before production. The product page names Windows Server 2008, 2012, 2016 and 2019.

Download USB Block →

USB Block Authorized Devices tab listing approved devices by serial number, type and name
The Authorized Devices tab in USB Block.

Protecting the Drive You Approve

An approved drive is also a drive that can be lost. Encrypt it before it goes into a server room. BitLocker To Go ships with Windows; USB Secure is NewSoftwares.net’s password-protection tool for USB and external drives. Windows Report’s encryption walkthrough covers the BitLocker steps.

Approved-drive checklist

0 of 7 completed

Return to the main guide, or see what to do if a block misfires in re-enabling USB ports.

Questions About Approved Drives

Can I allow one USB drive and block all others?

Yes. Block the storage class, then allow the drive by instance ID or hardware ID and turn on layered evaluation so the allow wins. Software with an authorized list does the same without ID rules. Test the exception and the block separately.

Why is my allowed drive still blocked?

The usual cause is a class-level Prevent winning because layered evaluation is off. A registry USBSTOR value of 4 also overrides every exception. Check both, then run gpresult to confirm the policy applied to the server.

Will two drives of the same model both work?

If you allowed the hardware ID, yes, since the ID identifies the model. If you allowed the instance ID, only the drive whose serial segment matches passes. Some low-cost drives reuse serials, so test the spare.

Does the allow list survive a reboot?

Group Policy and registry settings persist across restarts. Software lists are stored by the program, so check that its protection starts with Windows. Verify with a reboot test on one server before rolling out.

Is a volume label a safe way to identify a drive?

No. Anyone can rename a drive, so a label proves nothing. Rely on device IDs, and encrypt the drive so a lost one is useless to a finder.