There are cases when you don’t want any one to insert any external media in you system. Whether it is a USB flash drive or a CD/DVD ROM, every external storage device makes your machine vulnerable to risks. Also, many companies keep external storage device detection disabled in their office PCs for security purposes. In other words, disabling external storage detection on shared computers is strongly recommended by security professionals.
Process to disable all external storage media devices in Windows 7 computer is as below:
- Click on “Start” button.
- At the bottom of the menu in the search box type “gpedit.msc” (without quotes).
- In the “Local Computer Policy” snap-in under “Computer Configuration” expand “Administrative Templates” tree.
- Expand “System” sub-tree.
- Select “Removable Storage Access” from “System” sub-tree.
- In the right pane double click on “All Removable Storage classes: Deny all access”.
- In the “All Removable Storage classes: Deny all access” window select “Enabled” radio button to enable restriction.
- Click on “Ok” button to accept and confirm your selection.
- Close “Local Computer Policy” snap-in.
- Click on “Start” button and go to “All Programs”.
- From the list select “Accessories”.
- Right-click on “Command Prompt” and select “Run as Administrator”.
- In the “User Account Control” dialog box click “Ok” button to allow Windows to use your administrative credentials to run the program.
- In the “Administrator: Command Prompt” window type “gpupdate /force” (without quotes) and press enter key.
- Check your latest configuration by inserting a USB flash drive in a USB port. When you will try to acess the device you will be displayed with message box telling that your access is denied.