RE: Restrict USB Devices.



I'm surprised the printer is using the usbstor.sys and not the usbhub.sys.
Does the printer have a hard disk or some sort of storage media? I must admit
I didn't test with USB printers.

In the end if the printer is using this driver then you wil have to either
do security filtering on the GPO so that users who have a USB printer are not
affected (and they can use USB devices) or look for another way

Good luck

Irv

"Kiran Kumar" wrote:

Thanks irv, it works.

But the USB port is disabled i cant have a usb printer attached, cant i
have something which can only disable usb thumb drives or usb storage devices
and not the usb printers.

Regards
--
All is well when u''''r mind is well


"Irv" wrote:

I found this on the web when I was asked to do the same thing. Copy the text
below into a .adm file and import into your GPO. It also has options to
disable floppy and CD

-----------------------------------------

CLASS MACHINE
CATEGORY !!category
CATEGORY !!categoryname
POLICY !!policynameusb
KEYNAME "SYSTEM\CurrentControlSet\Services\USBSTOR"
EXPLAIN !!explaintextusb
PART !!labeltextusb DROPDOWNLIST REQUIRED

VALUENAME "Start"
ITEMLIST
NAME !!Disabled VALUE NUMERIC 3 DEFAULT
NAME !!Enabled VALUE NUMERIC 4
END ITEMLIST
END PART
END POLICY
POLICY !!policynamecd
KEYNAME "SYSTEM\CurrentControlSet\Services\Cdrom"
EXPLAIN !!explaintextcd
PART !!labeltextcd DROPDOWNLIST REQUIRED

VALUENAME "Start"
ITEMLIST
NAME !!Disabled VALUE NUMERIC 1 DEFAULT
NAME !!Enabled VALUE NUMERIC 4
END ITEMLIST
END PART
END POLICY
POLICY !!policynameflpy
KEYNAME "SYSTEM\CurrentControlSet\Services\Flpydisk"
EXPLAIN !!explaintextflpy
PART !!labeltextflpy DROPDOWNLIST REQUIRED

VALUENAME "Start"
ITEMLIST
NAME !!Disabled VALUE NUMERIC 3 DEFAULT
NAME !!Enabled VALUE NUMERIC 4
END ITEMLIST
END PART
END POLICY
POLICY !!policynamels120
KEYNAME "SYSTEM\CurrentControlSet\Services\Sfloppy"
EXPLAIN !!explaintextls120
PART !!labeltextls120 DROPDOWNLIST REQUIRED

VALUENAME "Start"
ITEMLIST
NAME !!Disabled VALUE NUMERIC 3 DEFAULT
NAME !!Enabled VALUE NUMERIC 4
END ITEMLIST
END PART
END POLICY
END CATEGORY
END CATEGORY

[strings]
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"

---------------------------

HTH

Irv

"Kiran Kumar" wrote:

Hi,
I would like restrict USB Drives on all clients, I know that there are some
third party tools which do this. But i would like to do it with AD. Any ideas.

Regards

--
All is well when u''''r mind is well
.



Relevant Pages

  • Re: Restriction of External Drives through GPO
    ... I have searched in google and got the following .adm file. ... POLICY!!policynameusb ... policynamels120="Disable High Capacity Floppy" ... explaintextcd="Disables the computers CD-ROM Drive by disabling the ...
    (microsoft.public.windows.server.active_directory)
  • RE: Restrict USB Devices.
    ... POLICY!!policynameusb ... policynamels120="Disable High Capacity Floppy" ... usbstor.sys driver" ... explaintextcd="Disables the computers CD-ROM Drive by disabling the ...
    (microsoft.public.windows.server.active_directory)
  • Re: Prevent BlueTooth USB access
    ... > Is it possible to block users from connecting USB devices using GPO. ... > created a GPO to hide drives for usb storage (DOS prompt blocked so not ... POLICY!!policynameusb ... policynamels120="Disable High Capacity Floppy" ...
    (microsoft.public.win2000.group_policy)
  • RE: Restrict USB Devices.
    ... But the USB port is disabled i cant have a usb printer attached, ... have something which can only disable usb thumb drives or usb storage devices ... POLICY!!policynameusb ... explaintextcd="Disables the computers CD-ROM Drive by disabling the ...
    (microsoft.public.windows.server.active_directory)
  • RE: How to disable all floppy drives on the network
    ... I received a 64MB USB thumb ... > said it is the company policy that they don't allow ... > Note that disabling the floppy driver doesn't ... > sticking in ZIP drives, LS-120 drives, CD Writers, ...
    (Focus-Microsoft)