Solved

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

Posted on 2006-06-19
8
541 Views
Last Modified: 2008-01-09
Hello,
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
0
Comment
Question by:brianvanschellebeck
8 Comments
 
LVL 22

Expert Comment

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

Accepted Solution

by:
adi_vladut earned 500 total points
ID: 16940127
0
 
LVL 2

Expert Comment

by:adi_vladut
ID: 16940135
If you don't need to use any usb device you can disable the usb from BIOS.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 92

Expert Comment

by:nobus
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.
0
 
LVL 7

Expert Comment

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

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

And then login just with a limited session.
0
 
LVL 4

Expert Comment

by:Phreonx
ID: 16941160
Hello,
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 ;)
0
 

Author Comment

by:brianvanschellebeck
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
0
 
LVL 7

Expert Comment

by:avatar-e
ID: 16948667
You can remove theirs drivers from device manager
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Laptop keyboard tester 10 92
CMDB relationships for hardware assets 2 70
WORM compliant device  what is it? 12 72
WiFi hub advice for a training workshop 7 35
this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
In this article you will get to know about pros and cons of storage drives HDD, SSD and SSHD.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

815 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now