Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


How to disable the use of USB Storage devices In WINDOWS 2000 and Windows XP Pro

Posted on 2006-06-19
Medium Priority
Last Modified: 2008-01-09
i want to know the solution how to disable the use of  Mass Storage devices such as pendrives in Windows2000 and WindowsXP Pro,apart from the solution"Registry".
Thanks in advance
Question by:brianvanschellebeck
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 22

Expert Comment

ID: 16940059
Start/Control Panel/System/Device Manager/ - open Universal Serial bus controllers -- right click on each one and select 'disable'.

Accepted Solution

adi_vladut earned 1500 total points
ID: 16940127

Expert Comment

ID: 16940135
If you don't need to use any usb device you can disable the usb from BIOS.
Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

LVL 93

Expert Comment

ID: 16940169
if you want a system to disable the use that cannot be reset by users, you need to block the usb ports mechanically; close  them with glue, or inhibit mechanical access.
All other can be reset.
One thing you can do is use a password protection on them.

Expert Comment

ID: 16940289
To disable only storage devices you can remove c:\windows\system32\drivers\disk.sys

First removing "disk.*" from:
C:\WINDOWS\Driver Cache\

And then login just with a limited session.

Expert Comment

ID: 16941160
here's a solution that does not affect the registry at all.

Open a DOS Shell and type
  cd %systemroot%\inf
Change the permissions of usbstor.inf and usbstor.pnf using cacls.exe

  cacls usbstor.inf /p SYSTEM:N
  cacls usbstor.pnf /p SYSTEM:N

/p replaces current permissions and in this case, it removes all access. Instead of SYSTEM, any valid username or group name can be used. N specifies No Access.

The above solution, disables installation for drivers of USB devices. To undo do the following:

  Start Windows in Safe Mode
  Start / Run. Type %systemroot%\inf
  Locate usbstor.inf.
  Right click on it and click Properties / Security Tab
  Remove SYSTEM [or whatever username of group name you applied to cacls at the previous step]
  Click Advanced
  Turn on Allow inheritable permissions
  Click OK to save the change and OK again to close the Properties window.
  Repeat for usbstor.pnf.

Hope that helped ;)

Author Comment

ID: 16948594
Hi all,thanks for the solution given to disable the use of storage devices.
It does work for new pendrives that are being  inserted but what about those that has previously been installed ? It still can be detected by windows . Thanking you in advance

Expert Comment

ID: 16948667
You can remove theirs drivers from device manager

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question