Skip to content

How to Disable All External Mass Storage Devices on a Windows 7 Computer?

By Codrut Nistor

Posted in How-to, Windows-7

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:

  1. Click on "Start" button.
  2. At the bottom of the menu in the search box type "gpedit.msc" (without quotes).
  3. In the "Local Computer Policy" snap-in under "Computer Configuration" expand "Administrative Templates" tree.
  4. Expand "System" sub-tree.
  5. Select "Removable Storage Access" from "System" sub-tree.
  6. In the right pane double click on "All Removable Storage classes: Deny all access".
  7. In the "All Removable Storage classes: Deny all access" window select "Enabled" radio button to enable restriction.
  8. Click on "Ok" button to accept and confirm your selection.
  9. Close "Local Computer Policy" snap-in.
  10. Click on "Start" button and go to "All Programs".
  11. From the list select "Accessories".
  12. Right-click on "Command Prompt" and select "Run as Administrator".
  13. In the "User Account Control" dialog box click "Ok" button to allow Windows to use your administrative credentials to run the program.
  14. In the "Administrator: Command Prompt" window type "gpupdate /force" (without quotes) and press enter key.
  15. 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.