Enabling & disabling the USB port in windows via registry


 

HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > USBSTOR

Now at the right side double click on Start.

To block USB storage Medias, change the value data to 4.

If you want to unblock USB storage Medias just navigate to the same location and change th value data to 3.

If you don’t want to bother tweaking registry then I’ve made a simple program to Block and Unblock USB device.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: