|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 appreciated, best regards. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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. "joker197cinque" <joker197cinque@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 appreciated, best regards. |
|
![]() |
| Outils de la discussion | |
|
|