How to disable restrict USB/Flash Drive in Windows 7

Posted: December 22, 2014 in hacking, programming

To disable the access to USB port, in windows XP, Vista and Windows 7:

  1. Click Start, and then click Run. 2. Type regedit, and then click OK. (Or simply open registry) 3. Navigate to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor 4. In the right pane, double-click Start. 5. In the Value data box, change its value to 4, which was 3 and then click OK.

To re-enable a disabled port:

  1. Click Start, and then click Run. 2. Type regedit, and then click OK. (Or simply open registry) 3. Navigate to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
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