Vo Hieu Hoa O CD_Rom,USB,Floppy Disk,LS-120 Bang Group Policy

18 thg 6, 2008

Chúng ta có quyền khởi tạo trong group policy, nên các bác cứ mái thoải đi>:< category="Custom Policy Settings" categoryname="Restrict Drives" policynameusb="Disable USB" policynamecd="Disable CD-ROM" policynameflpy="Disable Floppy" policynamels120="Disable High Capacity Floppy" explaintextusb="Disables the computers USB ports by disabling the usbstor.sys driver" explaintextcd="Disables the computers CD-ROM Drive by disabling the cdrom.sys driver" explaintextflpy="Disables the computers Floppy Drive by disabling the flpydisk.sys driver" explaintextls120="Disables the computers High Capacity Floppy Drive by disabling the sfloppy.sys driver" labeltextusb="Disable USB Ports" labeltextcd="Disable CD-ROM Drive" labeltextflpy="Disable Floppy Drive" labeltextls120="Disable High Capacity Floppy Drive" enabled="Enabled" disabled="Disabled"> Administrative Templates. Right click Add/Remove Templates, chọn Add và Browse đến file *.adm và Close.
Tại Group Policy Object Editor -> Administrative Templates, chọn Custom Policy Settings và right click View chọn Filtering, bỏ check box Only show policy settings that can be fully managed.
Tại Group Policy Object Editor -> Administrative Templates, chọn Custom Policy Settings -> Restrict Drivers, double click Disable USB,chọn Disable ->OK
Move các Computers muốn disable USB vào OU.
Cập nhật gpupdate /force là xong.

Đoạn script này deny đối với dạng storage. Printer, scan ... cứ dùng thoải mái. __________________