How to Prevent Users from Connecting to a USB Storage Device by Group Policy

How to Prevent Users from Connecting to a USB Storage Device by Group Policy

To prevent users from connecting to USB storage devices by group policy

1- If a USB storage device is already installed on the computer:

  • Click StartAll programs - Administrative Tools – Group Policy Management.
  • Create or Edit Group Policy Objects
  • Expand Computer ConfigurationPreferencesWindows Settings.
  • Right click RegistryNewRegistry Item.

General Tab

  • Action : Update
  • Hive : HKEY_LOCAL_MACHINE
  • Key path : SYSTEM\CurrentControlSet\Services\UsbStor
  • Value name : Start
  • Value type : REG_DWORD
  • Value data : 00000004

Notes:
- You can apply this method on User Configration too.
- You can revert this method (1) by change Value data : 00000004 to Value data : 00000003

 

 

2- If a USB storage device is not already installed on the computer:

  • Click Start - All programs – Administrative Tools – Group Policy Managment.
  • Create or Edit Group Policy Objects
  • Expand Computer ConfigurationPolice - Windows Settings – Security Settings .
  • Right click File System- Add file or folder.

Browse to this file

  • %SystemRoot%\Inf\Usbstor.pnf
  • assign the user or the group and the local SYSTEM account Deny permissions.

Browse to this file too

  • %SystemRoot%\Inf\Usbstor.inf
  • Assign the user or the group and the local SYSTEM account Deny permissions.

 This article was originally posted at http://mabdelhamid.wordpress.com/2011/09/10/how-can-i-prevent-users-from-connecting-to-a-usb-storage-device-by-group-policy/

Leave a Comment
  • Please add 5 and 4 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • M.Abdelhamid edited Revision 14. Comment: Edit new information in method 1

  • M.Abdelhamid edited Revision 13. Comment: Non English Language

  • M.Abdelhamid edited Revision 10. Comment: Tags

  • M.Abdelhamid edited Revision 9. Comment: Tags and format

  • M.Abdelhamid edited Revision 8. Comment: Adding Tags and Page format

  • M.Abdelhamid edited Revision 3. Comment: i try this option [toc]

Page 1 of 1 (6 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • M.Abdelhamid edited Revision 3. Comment: i try this option [toc]

  • M.Abdelhamid edited Revision 8. Comment: Adding Tags and Page format

  • M.Abdelhamid edited Revision 9. Comment: Tags and format

  • M.Abdelhamid edited Revision 10. Comment: Tags

  • M.Abdelhamid edited Revision 13. Comment: Non English Language

  • Again Great job!

  • Thanks Gokhan

  • might be useful if you added the info how to revert the change for method 1 (i believe the default value would be 0x3, but not 100% sure). sometimes requirements in a company change, and then its hard to find that info fast

  • might be useful if you added the info how to revert the change for method 1 (i believe the default value would be 0x3, but not 100% sure). sometimes requirements in a company change, and then its hard to find that info fast

  • Hi FZB

    Thanks for advice me

    You can Revert the change in method 1 by set Value data : 00000003. i used it many time for some clients

  • M.Abdelhamid edited Revision 14. Comment: Edit new information in method 1

  • Nice Article ! Good Job.

  • Thanks Santosh

Page 1 of 1 (13 items)