How can I prevent users from connecting to a USB storage device? (2024)

Problem description

Assume that you want to prevent users from connecting to a USB storage device that is connected to a computer that is running Windows XP, Windows Server 2003, or Windows 2000. This article discusses two methods that you can use to do this.

Resolution

To prevent users from connecting to USB storage devices, use one or more of the following procedures, as appropriate for your situation.

If a USB storage device is not already installed on the computer

If a USB storage device is not already installed on the computer, assign the user or the group and the local SYSTEM account Deny permissions to the following files:

  • %SystemRoot%\Inf\Usbstor.pnf

  • %SystemRoot%\Inf\Usbstor.inf

When you do this, users cannot install a USB storage device on the computer. To assign a user or group Deny permissions to the Usbstor.pnf and Usbstor.inf files, follow these steps:

  1. Start Windows Explorer, and then locate the %SystemRoot%\Inf folder.

  2. Right-click the Usbstor.pnf file, and then click Properties.

  3. Click the Security tab.

  4. In the Group or user names list, add the user or group that you want to set Deny permissions for.

  5. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control.

    Note Also add the System account to the Deny list.

  6. In the Group or user names list, select the SYSTEM account.

  7. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.

  8. Right-click the Usbstor.inf file, and then click Properties.

  9. Click the Security tab.

  10. In the Group or user names list, add the user or group that you want to set Deny permissions for.

  11. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control.

  12. In the Group or user names list, select the SYSTEM account.

  13. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.

If a USB storage device is already installed on the computer


If a USB storage device is already installed on the computer, you can change the registry to make sure that the device does not work when the user connects to the computer.

ResolutionImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows If a USB storage device is already installed on the computer, set the Start value in the following registry key to 4:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor When you do this, the USB storage device does not work when the user connects the device to the computer. To set the Start value, follow these steps:

  1. Click Start, and then click Run.

  2. In the Open box, type regedit, and then click OK.

  3. Locate and then click the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor

  4. In the details pane, double-click Start.

  5. In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click OK.

  6. Exit Registry Editor.

Did this fix the problem?

Check whether the problem is fixed. If the problem is fixed, you are finished with this article. If the problem is not fixed, you can contact support.

More information

Please contact the vendor of your USB device to ask about a newer driver. For information about your hardware manufacturer, visit the following Web site:

http://support.microsoft.com/gp/vendors/en-usMicrosoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

How can I prevent users from connecting to a USB storage device? (2024)
Top Articles
How Long Does It Take to Develop a Fintech App?
Signs Your Computer Is Infected and How to Fix It
Skigebiet Portillo - Skiurlaub - Skifahren - Testberichte
Craigslist San Francisco Bay
Walgreens Boots Alliance, Inc. (WBA) Stock Price, News, Quote & History - Yahoo Finance
NYT Mini Crossword today: puzzle answers for Tuesday, September 17 | Digital Trends
Pinellas County Jail Mugshots 2023
Wannaseemypixels
Lycoming County Docket Sheets
Dark Souls 2 Soft Cap
Lost Pizza Nutrition
Edgar And Herschel Trivia Questions
Chastity Brainwash
Ukraine-Russia war: Latest updates
Washington Poe en Tilly Bradshaw 1 - Brandoffer, M.W. Craven | 9789024594917 | Boeken | bol
Nashville Predators Wiki
V-Pay: Sicherheit, Kosten und Alternativen - BankingGeek
If you bought Canned or Pouched Tuna between June 1, 2011 and July 1, 2015, you may qualify to get cash from class action settlements totaling $152.2 million
Catherine Christiane Cruz
Yog-Sothoth
Aol News Weather Entertainment Local Lifestyle
Holiday Gift Bearer In Egypt
Living Shard Calamity
Turbo Tenant Renter Login
Tuw Academic Calendar
From This Corner - Chief Glen Brock: A Shawnee Thinker
Lovindabooty
Top 20 scariest Roblox games
Meijer Deli Trays Brochure
The Procurement Acronyms And Abbreviations That You Need To Know Short Forms Used In Procurement
Uncovering the Enigmatic Trish Stratus: From Net Worth to Personal Life
Downloahub
King Soopers Cashiers Check
Wisconsin Volleyball Team Leaked Uncovered
Uhaul Park Merced
Cl Bellingham
R Nba Fantasy
Google Chrome-webbrowser
Skip The Games Grand Rapids Mi
MSD Animal Health Hub: Nobivac® Rabies Q & A
Skyward Marshfield
Weekly Math Review Q2 7 Answer Key
Charli D'amelio Bj
Stranahan Theater Dress Code
Watch Chainsaw Man English Sub/Dub online Free on HiAnime.to
Sandra Sancc
Scott Surratt Salary
Abigail Cordova Murder
Online TikTok Voice Generator | Accurate & Realistic
Maurices Thanks Crossword Clue
BYU Football: Instant Observations From Blowout Win At Wyoming
Where To Find Mega Ring In Pokemon Radical Red
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 5549

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.