In Windows 7, we can deny permissions on any Removable Storage class. Let me show you how to enable the "All Removable Storage classes: Deny all Permissions" policy in Group Policy, as described in the following steps:
Steps/Methods
Type the "gpedit.msc" command in the Start search box and search for results click "Gpedit.msc" under programs to bring up the Local Group Policy Editor window
In the console tree (left window), expand the following items in turn
User Configuration--Administrative Templates--windows components--Removable Storage access
In the removable storage Access interface on the right, locate and double-click the "All Removable Storage classes: Deny all Permissions" item
Enter the Setup interface, which by default is "Not Configured", we select "Enabled"
Click the OK button to save the settings and exit the Local Group Policy Editor window
Win 7 How to deny all permissions for all Removable storage devices