PDA

Показать полную графическую версию : GPO удаление драйверов USB


Randreevich
26-11-2020, 13:30
Привет.
Для организации контроля подключения USB устройств, требуется удалить все старые драйвера на них.
Как это сделать через политики?

Iska
26-11-2020, 14:41
Randreevich, Вам не драйвера надо убирать. А упоминания о ранее подключённых устройствах. То, что показывает, например, USBDeview.

Randreevich
26-11-2020, 15:54
Понял, спасибо.
Как это реализовать средствами ГПО?

Iska
26-11-2020, 16:33
Даже не знаю.

Поиграться с:
Disable/Enable/Remove Command-Line Options

Starting from version 1.20, you can also use the following commands to disable, enable or remove USB devices from command-line:

/disable {\\RemoteComputer} <Device Name>
/disable_by_serial {\\RemoteComputer} <Device Name>
/disable_by_drive {\\RemoteComputer} <Device Name>
/disable_by_class {\\RemoteComputer} <USB Class;USB SubClass;USB Protocol>
/disable_by_pid {\\RemoteComputer} <VendorID;ProductID>
/disable_all {\\RemoteComputer}
/enable {\\RemoteComputer} <Device Name>
/enable_by_serial {\\RemoteComputer} <Device Name>
/enable_by_drive {\\RemoteComputer} <Device Name>
/enable_by_class {\\RemoteComputer} <USB Class;USB SubClass;USB Protocol>
/enable_by_pid {\\RemoteComputer} <VendorID;ProductID>
/enable_all {\\RemoteComputer}
/disable_enable {\\RemoteComputer} <Device Name>
/disable_enable_by_serial {\\RemoteComputer} <Device Name>
/disable_enable_by_drive {\\RemoteComputer} <Device Name>
/disable_enable_by_class {\\RemoteComputer} <USB Class;USB SubClass;USB Protocol>
/disable_enable_by_pid {\\RemoteComputer} <VendorID;ProductID>
/disable_enable_all {\\RemoteComputer}
/remove {\\RemoteComputer} <Device Name>
/remove_by_serial {\\RemoteComputer} <Device Name>
/remove_by_drive {\\RemoteComputer} <Device Name>
/remove_by_class {\\RemoteComputer} <USB Class;USB SubClass;USB Protocol>
/remove_by_pid {\\RemoteComputer} <VendorID;ProductID>
/remove_all {\\RemoteComputer}
/remove_all_connected - Remove all connected USB devices.
/remove_all_disconnected - Remove all disconnected USB devices
?!

paranoya
30-11-2020, 09:46
В win2016 есть политики, которые напрямую разрешают или запрещают подключение различных USB устройств без каких-либо манипуляций с удалением драйверов (что не всегда можно сделать, так как используются нативные драйвера).




© OSzone.net 2001-2012