Home

How to Allow Only One Specific USB Drive on a PC: Step-by-Step Guide 2026

A drive from a conference bag or a colleague can carry malware in, and a copy of your files can leave on the same stick. Blocking every USB port stops that but also strands the one drive you actually need. This guide covers the narrower job: Windows accepts one named drive and refuses the rest.

Editorial TeamNovember 20269 min readLast verified: November 2026
Quick answer

Allowing only one specific USB drive on a PC means Windows accepts that single drive and refuses every other USB storage device. On Windows 10 and 11 Pro, Enterprise and Education, allow the drive's device instance IDs in Local Group Policy, turn on layered evaluation and prevent removable devices. Windows Home has no Local Group Policy Editor, so Home needs a dedicated USB access-control program.

At a glance
At a glance
Applies toWindows 10 and 11 (Group Policy needs Pro, Enterprise or Education)
Time needed20 to 40 minutes the first time
DifficultyModerate, because several device nodes need IDs
CostFree with built-in tools; dedicated software is separate
NeedsAdministrator account, the approved drive, a second drive to test
Last verifiedNovember 2026
Illustration of a PC with four USB drives, one approved drive accepted and three unknown drives refusedApproved driveUnknown drive AUnknown drive BUnknown drive C

How to Allow Only One Specific USB Drive on a PC: Quick Answer

To allow one USB drive on a Windows PC, give Windows a list containing that drive's device instance IDs and tell it to refuse every other removable device. The list lives in Group Policy on Pro editions, in registry policy values, or inside dedicated software. All three work; they differ in cost, edition support and effort.

Here is the whole job in one sentence: identify the drive, write its identity into an allow-list, block everything else, then prove it with a second drive. The first step is where most attempts fail, because a USB flash drive is not one device to Windows. It is a chain of devices, and each link has its own ID.

Before you start
  • An administrator account and a second administrator as a fallback.
  • The approved drive, plus a different drive that you want blocked.
  • Windows 10 or 11 Pro, Enterprise or Education for Group Policy.
  • A restore point or a reg export of the policy key.
Pick your path

Choose the question that matches your situation.

Method picker

Answer three questions and get the route that fits.

Use Local Group Policy. Allow the drive's device instance IDs, turn on layered evaluation and prevent removable devices. It costs nothing and covers one PC in about 20 minutes. Keep an administrator override and a second admin account until you have tested.

Why Block USB Ports at All

USB storage is the quietest way data leaves a PC and the easiest way unknown files arrive. A flash drive needs no network, no login to a cloud account and no permission prompt, so one open port can bypass controls that guard everything else on the machine.

Two risks justify the effort. The first is outbound: an employee, visitor or family member copies files to a personal drive. The second is inbound: an unknown drive carries a file that looks like a folder or document and installs something when opened. Current Windows versions no longer run programs from a drive automatically, but social engineering does not need autorun, only a curious click.

2risks: data leaving and files arriving
0network access needed to copy to a drive
1approved drive after this guide
Why this matters

An allow-list is a policy about identity, not a lock on the port. Anyone who holds the approved drive still carries your data out, so decide who holds it.

For the wider picture of how drives leak data, see this write-up on USB flash drive security risks and habits, and a short explainer on detecting and preventing USB data leaks.

How USB port blocking differs from disabling a single device

Blocking a port closes a physical or logical doorway for everything, while disabling or allowing a single device decides by identity. Port-level methods cannot keep one drive, because they cannot tell drives apart. Identity-based rules can, as long as the drive reports a stable ID.

Diagram of the device chain from USB host controller through hub and mass storage device to disk drive and volumeHostcontrollerUSB classRoothubUSB classUSBMass Storageinstance ID 1Diskdriveinstance ID 2Volumedrive letterEvery node between the port and the drive letter is a separate deviceHighlighted nodes are the two that carry the drive's own IDs
Each node from the port to the drive letter is its own device with its own ID.

Windows discovers a flash drive in stages: the host controller and root hub already exist, then a USB Mass Storage node appears, then a Disk drive node, then a volume with a drive letter. Microsoft's own Group Policy walkthrough for one authorized thumb drive treats the chain as a unit, and the Microsoft Tech Community advice is to make sure every device that precedes the target is allowed, not only the drive itself.

Myth

Disabling USB ports in the BIOS or Device Manager can leave one drive working.

Fact

Port-level switches are all or nothing. Keeping one drive needs an identity rule that names it.

An Intune example in Microsoft's documentation shows the failure mode: with undescribed devices prevented, the system reported USB\ROOT_HUB30 itself as restricted. If your policy blocks the hub, even the allowed drive has no path to the PC.

Built-in Windows Methods Compared

Windows offers four built-in ways to restrict USB storage: device installation restrictions, registry policy values, removable storage access policies and the driver switch-off. Only device installation restrictions can name one drive, and they take effect at installation time, not as a live gate on files.

Methods to allow one USB drive on Windows, compared
MethodDifficultySecurityCostBest forLimitations
Group Policy: device installation restrictionsModerateGood against casual useFree on Pro, Enterprise, EducationOne or many PCs with ProControls driver installation; already-installed devices may keep working; wrong IDs block the drive
Registry policy valuesModerate to hardSame as Group Policy where honoredFreeScripted setups, Pro PCsHome may ignore the values; value names need checking; no safety net
Removable Storage Access policiesEasyBluntFree on ProBlocking a whole classWorks by class, so it cannot exempt one drive
Device Manager or driver switch-offEasyBluntFreeBlocking all USB storageCannot keep one drive; easily reversed by an administrator
Defender for Endpoint or Intune device controlHardStrong when it worksNeeds a Microsoft management licenceManaged fleetsSome administrators report inconsistent allow-by-ID results; needs testing
USB Block (dedicated software)EasyGood, password-gatedPaid; see the store for current pricingWindows Home, fast setups, audit logOfficial page lists Windows 10, 8 and 7; Windows 11 is not listed
VerdictPro, one PC: Group Policy. Home or quick setup: software.No method stops a person who already holds the approved drive

The first row is the one to learn. Its settings sit at Computer Configuration, Administrative Templates, System, Device Installation, Device Installation Restrictions. Microsoft ranks the match types: device instance IDs outrank device IDs, which outrank device setup classes, which outrank the removable devices type. That ranking is what lets one drive beat a broad block.

Diagram of the four layers Windows checks when allowing or preventing a device, from device instance ID down to removable devicesDevice instance IDhighest rank, one specific unitDevice ID (hardware ID)every drive of that modelDevice setup classevery drive in the classRemovable deviceslowest rank, broadestHigher layers win when layered evaluation is on
Layered evaluation lets the narrowest match, a single instance ID, override broader block rules.

Best Free Methods to Allow Only One Specific USB Drive on a PC

Two free methods can name a single drive: Local Group Policy on Pro, Enterprise and Education, and the equivalent registry policy values. Both write to the same place, so the registry method is a scripted version of the first. Neither needs a download, but both need correct IDs.

Windows edition note: Home versus Pro

Microsoft Learn Q&A answers and several tutorial sites agree that the Local Group Policy Editor (gpedit.msc) ships with Windows Pro, Enterprise and Education and is missing from Home. Third-party tools can add the editor to Home, but a recent write-up warns that settings may show without being enforced. Check Settings, System, About before you plan.

Registry policy values

The Group Policy engine stores its result under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions. The allow list for device IDs uses the value AllowDeviceIDs, confirmed in Microsoft's Policy CSP reference. Because value names for the other settings should be confirmed on your own build, set the policy once in the editor on a test PC and export that key with reg export before copying it anywhere.

Safe to skip: editing the registry by hand

If the Group Policy editor is present, use it. Hand-edited policy keys have no validation, and one wrong value can block the keyboard.

The Microsoft Defender for Endpoint route is free only if you already license it. It can allow removable storage by serial number, vendor or product ID, but administrators in Microsoft's forums report uneven results, so run it on one machine first.

Step-by-Step: Allow Only One Specific USB Drive on a PC

On Windows Pro, Enterprise or Education, collect the approved drive's instance IDs from Device Manager, create an allow list under Device Installation Restrictions, enable layered evaluation, prevent removable devices, then reload policy and test. The order matters because the allow list only wins when layered evaluation is on.

  1. Collect the IDs

    Plug in the approved drive. In Device Manager choose View, Devices by connection, expand the hub, and open the properties of the USB Mass Storage Device and the Disk drive beneath it. On each Details tab, pick Device instance path and copy the value. Our full walkthrough for finding the hardware ID and instance ID covers drives that hide in other branches.

  2. Open the policy editor

    Press Win + R, type gpedit.msc, press Enter, and go to the Device Installation Restrictions node.

  3. Turn on layered evaluation

    Enable Apply layered order of evaluation for Allow and Prevent device installation policies across all device match criteria. Microsoft recommends it where available, and it replaces the older undescribed-devices switch.

  4. Add the allow list

    Enable Allow installation of devices that match any of these device instance IDs, press Show, and paste one ID per row, including the hub or parent entries that Device Manager shows for your drive.

  5. Prevent removable devices

    Enable Prevent installation of removable devices. It sits at the lowest rank, so your instance IDs override it.

  6. Apply and test

    Run gpupdate /force in an administrator prompt and restart. Then follow the test and undo checklist.

Group Policy path:
Computer Configuration > Administrative Templates > System > Device Installation > Device Installation Restrictions

1. Apply layered order of evaluation for Allow and Prevent device installation policies across all device match criteria = Enabled
2. Allow installation of devices that match any of these device instance IDs = Enabled > Show > add each instance ID
3. Prevent installation of removable devices = Enabled
4. Allow administrators to override Device Installation Restriction policies = Enabled (safety net while testing)

Admin rights and a rollback plan

Every change needs an administrator account, and Windows lets you add Allow administrators to override Device Installation Restriction policies as a safety net. Before editing, run reg export "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall" backup.reg. If the key does not exist yet, note that, because deleting it later is your rollback.

Common mistake

Device installation restrictions govern installing and updating drivers. A drive that Windows already installed earlier may keep working until you uninstall it in Device Manager, so a policy that looks active can still let old drives through.

Office policy generator

Paste one instance ID per line to produce a reviewable registry file for a test PC. The names come from the same policy file as the editor, so check them against a test PC before use.

How to Allow Approved Drives Only

An approved-drives list is the same allow list, grown on purpose: each entry is one drive that someone is accountable for. Keep it short, keep a register with the owner and purchase date, and review it whenever a drive is lost or retired.

Treat the list like a key cabinet. When a drive goes missing, delete its instance IDs the same day, because the approval belongs to the physical unit. Adding a second drive follows the same steps as the first; add every node ID and retest, rather than assuming a similar model will match.

Fields worth keeping for each approved drive
FieldWhy it helps
Instance ID of the Disk drive nodeThe ID the policy actually matches
Instance ID of the USB Mass Storage nodeNeeded so the chain can install
Owner and departmentSomeone answers for the drive
Date approved and date retiredLets you prune the list

Logging and auditing USB device activity

An allow list says what may connect, not what did. Windows keeps device installation history locally; for evidence you can show an auditor, software that records each insertion and blocked attempt is easier to read. Whichever route you choose, record the date of the last review of the list.

Before and after diagram showing all drives accepted before a policy change and only one drive accepted afterBefore a policy changeAfter the allow-list is live
The same PC before the policy and after the allow list is live.

USB device classes at a glance

Every USB device announces a class, and Group Policy can allow or prevent whole classes by GUID. A short reference prevents the worst accident in this guide: blocking the keyboard and mouse together with the storage. The table lists the classes you are most likely to meet.

Common USB device types and the setup class GUID Windows uses
DeviceSetup classGUIDAllow on a locked-down PC?
Flash drive or diskDiskDrive{4D36E967-E325-11CE-BFC1-08002BE10318}Only the approved unit
KeyboardKeyboard{4D36E96B-E325-11CE-BFC1-08002BE10318}Yes, almost always
MouseMouse{4D36E96F-E325-11CE-BFC1-08002BE10318}Yes, almost always
Phone or camera in file modeWPD{EEC5AD98-8080-425F-922A-DABF3DE3F69A}No, unless required
PrinterPrinter{4D36E979-E325-11CE-BFC1-08002BE10318}Depends on the office

Allow keyboard and mouse while blocking storage

Keyboards and mice appear in a different class from disks, so a class-based allow for the two keeps them alive. Allow them first and test with a remote or second input path available. Verify GUIDs in your Device Manager before relying on any row of the table.

Where do I look?

Open Device Manager, switch View to Devices by connection and look for the drive under a USB hub.

Policy rollout for offices, schools and kiosks

A rollout multiplies every small mistake by the number of PCs. Test the policy on a single machine of the same model, deploy by Group Policy or device management only after that test passes, and document the rollback before the first deployment.

Rollout checklist

USB blocking on shared, school and kiosk PCs

Shared and kiosk machines suit a firm allow list because the user never needs a personal drive. Keep the administrator account separate from the daily account, and for several PCs read how mobile device management policies lock files and limit data leaks.

Common Mistakes When You Allow Only One Specific USB Drive on a PC

Five mistakes account for nearly every failed allow list: copying the wrong ID, allowing only one node, blocking the keyboard class, testing only the approved drive, and leaving the old driver installed. Each has a quick check that takes under a minute.

Do not
  • Copy a hardware ID and assume it names one drive. Identical models share it.
  • Allow the Disk drive node and forget the USB Mass Storage node.
  • Test only with the approved drive.
  • Edit policy while logged in as the only administrator.
Do this
  • Use instance IDs when one unit must stand alone.
  • Allow every node of the chain.
  • Test an unapproved drive after every change.
  • Keep a second admin account and a registry export.

The ID check deserves a second look. A hardware ID such as USBSTOR\DiskGeneric_Flash_Disk______8.07, quoted in a Microsoft walkthrough, describes a make and firmware revision, so two identical drives match it. Only the instance ID carries a serial.

How to Verify It Worked After You Allow Only One Specific USB Drive on a PC

Verification means proving two things: the approved drive opens, and a different drive does not. Restart between checks, because a policy that looks active in the editor may not have reached the device stack. The full checklist, with expected results, lives on its own page.

  1. Plug in the approved drive and confirm a drive letter appears in File Explorer.
  2. Plug in an unapproved drive and confirm no drive letter appears.
  3. Run gpresult /h policy.html and confirm the device installation settings appear under Computer Configuration.
  4. Restart and repeat steps 1 and 2.
The two-drive rule

A policy is not finished until an approved drive passes and an unapproved drive fails.

For expected results and what to do when step 2 fails, follow the checklist for testing and undoing the policy.

Is This Enough? What Else to Do After You Allow Only One Specific USB Drive on a PC

An allow-list stops unknown drives from mounting, but it does not protect the approved drive, the data on it, or attacks that arrive through other doors. Encrypt the approved drive, control who holds it, and add logging if the files matter.

Three gaps remain. The approved drive can be lost, so encrypt what is on it; a password tool such as USB Secure targets exactly that case. The PC can still be attacked through hardware, such as direct memory access over ports, discussed in this security question about USB DMA attacks. And files can still leave by email or cloud upload.

Risk score card: is your PC exposed through USB?

Tick every statement that is true today.

Which setup sounds like yours?

Most readers fall into one of four situations: one Pro PC at home, several Pro PCs in an office, a Windows Home machine, or a shared kiosk. Each tile names the route that fits and the section to read next.

The tool we recommend for most readers

Of the options covered, we recommend USB Block for readers who run Windows Home, want an authorized-devices list without handling device IDs, or need a record of what was plugged in. We also say plainly where it does not fit: its official page lists Windows 10, 8 and 7, and Windows 11 is not listed.

USB Block's authorized-devices list lets you permit your own drives so they open without a prompt, while it asks for a password before an unauthorized device can be opened. It logs which devices were allowed and when, along with wrong-password attempts, and it can also block discs, network drives and non-system partitions. Installation needs administrator rights and then protects every user on the PC, according to the product page.

Strengths
  • No device IDs to collect.
  • Works without the Group Policy editor.
  • Password-gated and logged.
Limits
  • Windows 11 is not listed on the official page.
  • Paid; pricing is on the store page.
  • Software that you install can itself be targeted, so keep the password private.

The official page does not state trial terms, so read them before you rely on the evaluation. A press release on the product is archived at a PR distribution site.

USB Block boxshot in red with the tagline data leak prevention
Red shield icon used as the USB Block application logo

USB Block vs Group Policy and Microsoft device control

USB Block, Group Policy device installation restrictions and Microsoft device control all answer the same question, which drives may connect, but they differ in where the list lives and who must manage IDs. Pick by edition, headcount and need for an audit trail.

USB Block compared with Microsoft's own approaches
FeatureUSB BlockGroup Policy installation restrictionsDefender or Intune device control
Needs device IDs entered by handNo, per its authorized listYesYes, or vendor and product
Works on Windows HomeYes, where Windows 10, 8 or 7 is usedNo Group Policy editor on HomeNeeds Microsoft management
Password before unauthorized openYesNoNo
Built-in activity logYes, devices and wrong passwordsEvent logs onlyReports in the Microsoft console
CostPaidFree with ProLicence required
VerdictBest for Home and quick setupsBest for one or two Pro PCsBest for managed fleets

Software-Based USB Blocking Step-by-Step

With dedicated software, the steps are install, set a password, switch on blocking, authorize your drive and test with a second one. The sequence takes minutes. It is based on the documented features of USB Block, so confirm prompt wording on your own version.

  1. Install the program as an administrator

    Download the Windows installer from the developer's official page and run it from an administrator account.

  2. Set the program password

    Choose a password the program asks for before an unauthorized device can be opened, and store it somewhere safe.

  3. Switch on blocking in Control Center

    Open Control Center and turn on the option that blocks unauthorized USB drives, external drives and memory cards.

  4. Authorize your drive

    Insert the one drive you want to keep, enter the password when asked, and confirm the drive appears in the authorized devices list.

  5. Test with a second drive and read the log

    Insert a different drive, confirm it is blocked, then open Reports and Logs to see both events recorded.

USB Block Control Center with switches to block USB drives, discs, network access and non-system drives
Control Center switches the blocks on and off.
USB Block Authorized Devices tab with a Remove from List button and an empty device table
The Authorized Devices tab lists the approved drive.

Download the installer from the official NewSoftwares.net download page instead of a mirror.

What USB Block offers

USB Block blocks USB storage, discs, network access and non-system drives, keeps your own devices on an allow list, asks for a password before an unauthorized device can be opened, and logs activity. The official page lists these features; it does not state a version number or trial length.

Best for

  • Windows Home PCs without Group Policy.
  • Parents and owners who want a password gate.
  • Readers who want a log of inserted devices.

Not ideal for

  • Windows 11-only fleets until support is confirmed.
  • Managed estates that deploy everything by policy.
  • Cases where charging-only access is the goal.
USB Block Reports and Logs tab with a Clear Report and Logs button and device report tables
Reports and Logs shows device and usage reports.

How the lock works in more detail

Dedicated blockers work by intercepting device access and checking each new device against an authorized list, then asking for a password when the device is not on it. Four details matter: the list, the password, the log and what else is blocked.

The list holds the devices you approved. Per the screenshot, items are removed with a Remove from List button, so a lost drive can be revoked in seconds.

The product page says a password is required before an unauthorized device can be opened. Program Options in the interface also offers a Change Password button.

The official page says the program logs which devices were allowed and when, plus incorrect password attempts.

Beyond USB, the page lists blocking for CD, DVD, Blu-ray, floppy and Zip media, mapped drives and shares, and non-system drives and partitions.

USB Block detailed summary window shown on a desktop monitor with device status lines

USB Block pricing: what to check

The USB Block page on the developer's site shows a Buy Full Version button and no price, so we do not quote one. Current pricing appears on the store page. The honest comparison is time against money: Group Policy costs hours on Pro PCs, software costs a licence and saves the ID work.

Worth it when
  • You use Windows Home.
  • You want a password gate and an activity log.
  • Your time costs more than the licence.
Skip it when
  • You run Pro on one PC and are comfortable with Device Manager.
  • Your estate already deploys policy centrally.

View full version pricing →

How to Re-enable USB Ports Safely

To re-enable USB ports as the administrator, set each prevent setting to Not Configured, keep or remove the allow entries as needed, run gpupdate /force and restart. If you cannot sign in with a working keyboard, use another administrator account or restore the saved registry export.

  1. Open the Device Installation Restrictions node and set Prevent installation of removable devices to Not Configured.
  2. Set the layered evaluation setting to Not Configured if you no longer need it.
  3. Run gpupdate /force, then restart.
  4. Check Device Manager: drives that were blocked should install again when re-plugged.

Software blockers follow the same idea: switch off the block in the program, or authorize the device. If a password is lost, use the vendor's licence-email and support route. Detailed rollback steps are on the undo page.

Troubleshooting: problem, cause and fix

Most problems fall into three groups: the approved drive is blocked, an unapproved drive still works, or the keyboard stopped responding. The table lists likely causes and the first fix to try. The full diagnosis for a blocked approved drive sits on its own page.

Troubleshooting a one-drive USB allow list
ProblemLikely causeFirst fix
Approved drive does not openA parent or disk node ID is missingAdd every node ID and reload policy
Unapproved drive still worksDriver was installed before the policyUninstall the old device, restart
Policy shows but nothing changesLayered evaluation is offEnable layered evaluation
Keyboard stops after policyClass not allowedBoot with another admin; allow class
ID changes in another portDrive reports no serialAllow in a fixed port or use a drive with a serial
Cannot find Group Policy editorWindows HomeUse software or upgrade the edition

For the step-by-step diagnosis, read what to check when your allowed drive is still blocked.

Who should use which option

A single Pro user should use Group Policy, a Home user should choose software, a managed fleet should use central policy, and a parent or kiosk owner should add a password gate. The right method follows edition and ownership more than technical skill.

Decision guide by reader
ReaderRecommended methodDoes USB Block fit?Honest alternative
Home user, one PCDedicated softwareYes, on listed Windows versionsUpgrade to Pro and use Group Policy
Pro user, one PCGroup PolicyOptionalRegistry export from a test PC
Small officeGroup Policy by domainPer PC if no domainIntune device control
Parent or kiosk ownerSoftware with passwordYesGroup Policy with a separate admin

For a side-by-side decision flow, open the comparison of Group Policy, registry and software.

Frequently asked questions

These are the questions readers ask most often about allowing one USB drive. Filter by topic with the chips, or read straight down. Answers start with the direct answer and add conditions after it. Pick a chip to narrow the list.

Use Local Group Policy on Windows Pro, Enterprise or Education: plug in the drive, copy its device instance IDs from Device Manager, allow those IDs under Device Installation Restrictions, turn on layered evaluation and prevent removable devices. Windows Home has no Group Policy editor, so Home users rely on dedicated software.

Yes, on Windows Pro, Enterprise and Education, because Local Group Policy ships with those editions at no extra cost. The cost is your time, roughly 20 to 40 minutes the first time, plus care with device IDs. On Windows Home the free route is unreliable, so expect to upgrade the edition or buy a program.

Open an allow-list tool that already holds an authorized-devices list, add the drive, and switch blocking on. Dedicated USB access-control software takes minutes because it handles the ID matching for you. The Group Policy route is slower, since you collect IDs for several nodes and test the result.

Three mistakes cause most lockouts: allowing only the drive's top-level ID and forgetting its disk node, preventing every undescribed device without allowing the keyboard and mouse, and testing only the allowed drive. Always test a second, unapproved drive, and keep a second administrator account.

Plug in the approved drive and confirm it opens with a drive letter. Then plug in a different drive and confirm Windows refuses to install it or shows no drive letter. Finally restart, repeat both checks, and run gpresult to confirm the policy is applied to the computer account.

Keyboards and mice use different device classes from storage, so you can keep them working. Allow those classes before you prevent anything, or rely on the removable-devices layer, which ranks lowest and does not name input devices. Test with a second input path, since this mistake is the commonest lockout.

Usually not. The policies in this guide control whether Windows installs a device and whether storage is readable, while the port keeps supplying power. A phone may still charge but fail to appear as a storage device. Test with your own phone and cable, since some chargers negotiate data first.

Group Policy-based blocking will not, since Windows Home does not include the Local Group Policy Editor. Hand-written registry policies may be ignored on Home, so verify with a second drive. Dedicated software that enforces its own list does not rely on Group Policy, but check that it lists your Windows version.

Reverse your changes in the same order: set the prevent settings to Not Configured, remove the allow entries if you want a clean state, run gpupdate /force and restart. If you are locked out, boot with another administrator account or Safe Mode and use the saved registry export from before the change.

Yes. Each drive reports a device instance ID that includes its own serial number when the maker provides one, and a policy can allow that single ID. If the drive reports no serial, Windows ties the ID to the physical port, so the approval then follows the port instead of the drive.

No. The device instance ID is a longer string that contains the serial number as its last segment when the drive has one. The full ID also names the bus and the model. Allow the full instance ID, not the bare serial, because Windows compares the complete string.

Drives without a serial number get a Windows-generated suffix that depends on the port, so a new port produces a new instance ID. Drives with a real serial keep the same ID in every port. Check the last segment: letters and digits from the maker mean portable, short ampersand-separated numbers mean port-bound.

No. The allow-list decides which drive may connect, not what moves onto it. Anyone with access to the PC can still copy files to the approved drive. Pair the list with file permissions, encryption on the drive and logging if the data on the PC is sensitive.

Add the instance IDs of each additional drive to the same allow list, including every node in each drive's chain, then retest. The method does not care about the count. Keep the list short and write down who owns each drive, because every extra entry is another way for data to leave.

In-depth answers

These short answers cover search terms that readers use for the same job: device control, access-control software, port blockers, removable storage blocking, disabling ports and data leak prevention. Each is answered once, here, and linked from the matching section.

What is USB device control?

USB device control is the practice of deciding which USB devices a PC accepts, by class, model or individual unit. Windows offers it through device installation policy, and vendors add allow lists and logs. Allowing one drive is its narrowest form.

The test of any device control is the second drive: if an unlisted drive mounts, the control is not working.

What is USB access control software?

USB access control software is a program that checks each connecting device against an authorized list and applies a rule: allow, block or ask for a password. It differs from a port blocker because it can distinguish drives from each other.

For one PC, the main advantage is that it handles the identifiers for you.

Is a USB port blocker the same as an allow list?

A USB port blocker closes ports to everything, while an allow list lets named devices through. Choose a port blocker when no drive should ever work, and an allow list when exactly one should. Block-everything tools cannot keep your one drive.

How do I block removable storage?

Block removable storage with the Removable Storage Access policies under Computer Configuration, Administrative Templates, System, for example All Removable Storage classes: Deny all access. Without a forced restart, the access change may not take effect until the next restart.

This setting works by class, so it will also deny the approved drive.

How do I disable USB ports?

Disabling USB ports can be done in firmware settings, by switching off the USB storage driver, or by policy. These are all-or-nothing choices, which is why this guide uses identity rules instead when one drive must keep working.

Re-enabling follows the reverse path and needs administrator rights.

Does USB data leak prevention stop all leaks?

USB data leak prevention reduces one channel and leaves others open. Email, cloud storage and printing still move files, so pair the allow list with encryption, permissions and logging, each covering a different route that data can take off the machine.

Treat it as one layer in a short list of layers.

Our verdict

For one Windows Pro PC, Group Policy with instance IDs is the best free way to allow only one specific USB drive. For Windows Home, or when you want a password gate and a log without learning device IDs, dedicated software is the practical choice. Whichever you use, prove it with a second drive.

The bottom line

Name the drive, allow every node of its chain, block the rest, then test an unapproved drive. We recommend our own USB Block for Home and quick setups, and Group Policy for one Pro PC. Neither stops a person who holds the approved drive.

Diagram splitting an example USB drive instance ID into class, model and serial number partsUSBSTOR\DISK&VEN_EXAMPLE&PROD_FLASH&REV_1.00\0123456789AB&0ClassModel: hardware IDUnit: serialwhich kind of deviceshared by identical drivesunique to one driveAnatomy of a USB drive instance ID (example values)
Splitting an instance ID into class, model and serial shows which part names one unit.

Go deeper

Four supporting pages go further than this guide on one question each: finding the ID, fixing a blocked drive, choosing a method and testing the policy. Open the one that matches where you are stuck.

About this guide

The NewSoftwares.net team, developer of USB Block, publishes this guide. We cover free and built-in options next to our own, and name where our product does not fit. Questions about the product go through the developer contact page.