积极答复者
Block USB drive via Group Policy but keyboard, mouse, printers and USB Datacard work

问题
-
Hi
We are using Windows Server 2008 R2 Std Edition and on client XP, Win07 & Win Vista
We want to block USB Storage via Group Policy and allow keyboard, mouse, printers and USB Data card works. Please suggest me any freeware software or group policy seeings which can I manage centrally.
Any suggestion will appreciate.
regards
Mayur Gandhi
2012年8月15日 14:59
答案
-
Hi,
You need to modify the Start value in following registry key to 4(Original is 3):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
This will block the USB storage devices but the usb mouse, keyboard etc will remain enabled. Please refer to this KB:
How can I prevent users from connecting to a USB storage device?
http://support.microsoft.com/kb/823732You can use GPP or some logon script to update the registry value centrally.
Configure a Registry Item
http://technet.microsoft.com/en-us/library/cc753092.aspxRegards,
Cicely- 已建议为答案 VenkatSP 2012年8月16日 15:07
- 已标记为答案 Cicely Feng 2012年8月20日 4:53
2012年8月16日 4:14 -
HI, By using a group policy you can modify the UsbStor key. If you need simple instructions to create and deploy an ADM file through gpo, please follow the below article. You can also download the adm file from the below link.
http://www.petri.co.il/disable_usb_disks_with_gpo.htm
Regards,
Rahul A
MCITP: MS SQL 2008 Development, MCITP: Enterprise Admin, MCTS: Windows vista, Windows 2008, MCSA Windows server 2003 security, ITIL Foundation V3
My blog
Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights- 已标记为答案 Cicely Feng 2012年8月20日 4:53
2012年8月16日 7:10 -
Hi Mayur,
You can restrict permissions on USBSTOR.PNF and USBSTOR.INF files via Group Policy.
In 2008 you can use the below GPO.
User Configuration \ Administrative Templates \ System \ Removable Storage Access \ All Removable Storage classes: Deny all access.
But this will restrict all USB access except the keyboard and mouse.
If you need to grand access only to Data cards, configure the GPO settings to allow users install some specific devices to achieve the target.
Device Management
- Prevent users from installing any device.
- Allow users to install only devices that are on an "approved" list. If a device is not on the list, then the user cannot install it.
- Prevent users from installing devices that are on a "prohibited" list. If a device is not on the list, then the user can install it.
- Deny read or write access to users for devices that are themselves removable, or that use removable media, such as CD and DVD burners, floppy disk drives, external hard drives, and portable devices such as media players, smart phones, or Pocket PC devices.
Device Management and Installation Step-by-Step Guide: Controlling Device Driver Installation and Usage with Group Policy
http://technet.microsoft.com/en-us/library/cc731387(WS.10).aspx
How can I prevent users from using USB removable disks (USB flash drives) by using Group Policy (GPO)?
http://www.petri.co.il/disable_usb_disks_with_gpo.htm
Deny All Access to Removable Devices or Media
http://technet.microsoft.com/en-us/library/cc772540(v=WS.10).aspx
Regards,
Rafic
If you found this post helpful, please give it a "Helpful" vote.
If it answered your question, remember to mark it as an "Answer".
This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!- 已建议为答案 VenkatSP 2012年8月16日 15:07
- 已标记为答案 Cicely Feng 2012年8月20日 4:53
2012年8月16日 7:39
全部回复
-
Hi,
You need to modify the Start value in following registry key to 4(Original is 3):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
This will block the USB storage devices but the usb mouse, keyboard etc will remain enabled. Please refer to this KB:
How can I prevent users from connecting to a USB storage device?
http://support.microsoft.com/kb/823732You can use GPP or some logon script to update the registry value centrally.
Configure a Registry Item
http://technet.microsoft.com/en-us/library/cc753092.aspxRegards,
Cicely- 已建议为答案 VenkatSP 2012年8月16日 15:07
- 已标记为答案 Cicely Feng 2012年8月20日 4:53
2012年8月16日 4:14 -
HI, By using a group policy you can modify the UsbStor key. If you need simple instructions to create and deploy an ADM file through gpo, please follow the below article. You can also download the adm file from the below link.
http://www.petri.co.il/disable_usb_disks_with_gpo.htm
Regards,
Rahul A
MCITP: MS SQL 2008 Development, MCITP: Enterprise Admin, MCTS: Windows vista, Windows 2008, MCSA Windows server 2003 security, ITIL Foundation V3
My blog
Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights- 已标记为答案 Cicely Feng 2012年8月20日 4:53
2012年8月16日 7:10 -
Hi Mayur,
You can restrict permissions on USBSTOR.PNF and USBSTOR.INF files via Group Policy.
In 2008 you can use the below GPO.
User Configuration \ Administrative Templates \ System \ Removable Storage Access \ All Removable Storage classes: Deny all access.
But this will restrict all USB access except the keyboard and mouse.
If you need to grand access only to Data cards, configure the GPO settings to allow users install some specific devices to achieve the target.
Device Management
- Prevent users from installing any device.
- Allow users to install only devices that are on an "approved" list. If a device is not on the list, then the user cannot install it.
- Prevent users from installing devices that are on a "prohibited" list. If a device is not on the list, then the user can install it.
- Deny read or write access to users for devices that are themselves removable, or that use removable media, such as CD and DVD burners, floppy disk drives, external hard drives, and portable devices such as media players, smart phones, or Pocket PC devices.
Device Management and Installation Step-by-Step Guide: Controlling Device Driver Installation and Usage with Group Policy
http://technet.microsoft.com/en-us/library/cc731387(WS.10).aspx
How can I prevent users from using USB removable disks (USB flash drives) by using Group Policy (GPO)?
http://www.petri.co.il/disable_usb_disks_with_gpo.htm
Deny All Access to Removable Devices or Media
http://technet.microsoft.com/en-us/library/cc772540(v=WS.10).aspx
Regards,
Rafic
If you found this post helpful, please give it a "Helpful" vote.
If it answered your question, remember to mark it as an "Answer".
This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!- 已建议为答案 VenkatSP 2012年8月16日 15:07
- 已标记为答案 Cicely Feng 2012年8月20日 4:53
2012年8月16日 7:39