Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How I can set a policy in Windows 7 to deny the removable devices?

share|improve this question
What version of Windows 7? – Canadian Luke May 17 '12 at 19:22

well, it can be set under the local group policy, you need to have elevated privileges.

click windows Button (bottom-left) type "gpedit.msc" and hit return to launch the group policy editor

on the Hierarchy panel (the left one) go to: Computer Configuration –> Administrative Templates –> System –> Device Installation –> Device Installation Restrictions

on the setting panel (the right one) double click on "Prevent installation of removable device" select enabled -> click on OK

to test the new setting open a command prompt with elevated privileges and type: "gpupdate /force"

Note: if now you are interested in others settings of "Device Installation Restrictions", and want to enable one of them, don't forget to disable this one.

share|improve this answer
tnx alot man, it was good . – hiva May 4 '11 at 10:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.