Home All Groups Group Topic Archive Search About

Is it possible to disable via script?



Author
20 Nov 2007 3:28 PM
joker197cinque
I would like to disable ALL USB ports on my client via script,
regardless if will be connected a storage usb hardware or, for
instance, a printer.

Is it possible to do this using a cmd,vbs,reg script?

Any help appreciated, best regards.

Author
20 Nov 2007 8:49 PM
Jeffery Hicks [MVP]
Ideally, you should use a GPO.  Otherwise you could modify the registry
using any scripting technique or language. Just remember the user will
likely need admin privileges so if you use a script, consider running it as
a computer startup script.

See http://www.petri.co.il/disable_usb_disks.htm for some great information
on this topic.

--
Jeffery Hicks
Microsoft PowerShell MVP
http://www.scriptinganswers.com
http://www.powershellcommunity.org

Now Available: WSH and VBScript Core: TFM
Coming Soon: Windows PowerShell: TFM 2nd Ed.
Show quote
"joker197cinque" <joker197cin***@gmail.com> wrote in message
news:249d2a8a-cf8c-4baa-b292-d68402011657@w34g2000hsg.googlegroups.com...
>I would like to disable ALL USB ports on my client via script,
> regardless if will be connected a storage usb hardware or, for
> instance, a printer.
>
> Is it possible to do this using a cmd,vbs,reg script?
>
> Any help appreciated, best regards.

AddThis Social Bookmark Button