How to prevent from writing into USB drive by GPO
2006-09-05 17:55
459 查看
Create a key "StorageDevicePolicies" under HKLM/System/CURRENTControlSet/Control.
then create a value DWORD key named "WriteProtect" under the Key. Set 1 to enable the protect
Write a ADM file to apply the setting by GPO:
Class Machine
CATEGORY "System"
CATEGORY "USB"
KEYNAME "System/CurrentControlSet/Control/StorageDevicePolicies"
EXPLAIN !!USBExplaination
POLICY "Enable USB write protect"
VALUENAME "WriteProtect"
VALUEOFF NUMERIC 0
VALUEON NUMERIC 1
End POLICY
END GATEGORY
END GATEGORY
[Strings]
USBExplaination = "Config the USB write protection"
then create a value DWORD key named "WriteProtect" under the Key. Set 1 to enable the protect
Write a ADM file to apply the setting by GPO:
Class Machine
CATEGORY "System"
CATEGORY "USB"
KEYNAME "System/CurrentControlSet/Control/StorageDevicePolicies"
EXPLAIN !!USBExplaination
POLICY "Enable USB write protect"
VALUENAME "WriteProtect"
VALUEOFF NUMERIC 0
VALUEON NUMERIC 1
End POLICY
END GATEGORY
END GATEGORY
[Strings]
USBExplaination = "Config the USB write protection"
相关文章推荐
- How To Install Ubuntu 12.04 from USB Drive
- [Guide] Mac OS X Lion: How To Boot A Linux Live System From An USB Drive & How To Update Any OCZ SSD
- howto prevent a process from terminating when writing to a broken pipe
- How to Boot a VMware Virtual Machine from a USB Drive
- How to Run Linux from an USB Flash Drive
- How to remove Oracle Database from your computer---By Roger Gong
- How to burn Linux Kernel into nor flash and rootfs in USB stick at Mindspeed c1k
- how to prevent ZFS from eating too much memory
- [LINUX LIVE USB]How to Make a bootable USB Drive to Install Fedora instead of using a physical DVD
- How to drag a virtual file from your app into Windows Explorer
- How to use an Outlook Object Model from Visual C++ by using a #import statement
- How to create physical standby database with 11g RMAN DUPLICATE FROM ACTIVE DATABASE [ID 747250.1]
- How do i prevent end users from connecting to the database other than my application?", version 8.1.5
- How to Recover from "Disk Full" on an Exchange Log Drive
- How to remove Oracle Database from your computer---By Roger Gong
- How to mount & unmount a USB thumb drive on CentOS 6.x Server
- How to avoid Excel from prompting "The file you are trying to open, , is in a different format than specified by the file extension"? (转)
- How to create physical standby database with 11g RMAN DUPLICATE FROM ACTIVE DATABASE [ID 747250.1]
- How to generate pojo from json schema by maven
- How to create physical standby database with 11g RMAN DUPLICATE FROM ACTIVE DATABASE [ID 747250.1]