Click here to Skip to main content
14,452,780 members
Rate this:
Please Sign up or sign in to vote.
Is there a way of disabling the USB ports?
(Yes, I know, open box, cut wires!)

I meant either through the OS or programmatically.

I am required to put a machine in an unsecured location, and want to protect it from nasty little people with grubby protruberances from sticking anything on there.

(There will be no Optical drive either, this machine will have a single function that I want protected).

Any ideas or help?
Posted
Comments
Michel Godfroid 11-May-10 11:33am
   
It depends :-)
Do you want to disable all USB stuff, or just mass storage devices?
Which Operating System will be running on the kit?
Rate this:
Please Sign up or sign in to vote.

Solution 1

You can disable them from the BIOS normally.

You can also do it through DevCon: The DevCon command-line utility functions as an alternative to Device Manager[^]
   
v2
Comments
Dalek Dave 11-May-10 11:27am
   
Thanks, I knew it was possible, just couldn't see where to go to solve it.
Rate this:
Please Sign up or sign in to vote.

Solution 2

1. You can do that through BIOS. Can be altered quite easily though.

2. You can also change some registry entries to achieve this. Here[^] is a helpful link. Although, the users should not have access to registry or else they can enable it again.
   
Comments
Dalek Dave 11-May-10 11:26am
   
The people who will be using it will not be able to do this! :)
Rate this:
Please Sign up or sign in to vote.

Solution 3

If I were you, I'd look to create a local security policy and put it in place. This policy could limit access to only certain parts of the hard drive, and disable input from any other sources. For things like this, a security policy is a better bet.

If you don't want to go that route, you can follow the instructions here[^].
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100