On the command line, you can also manage BadUSB Attack Prevention using the BadUSB Attack Prevention predefined task (Bad_USB).
The BadUSB Attack Prevention task is not started by default. You can start and stop this task manually.
Administrator role privileges are required to start and stop the BadUSB Attack Prevention task from the command line.
You can manage BadUSB Attack Prevention settings by editing the settings of the BadUSB Attack Prevention predefined task.
The following table describes available values and default values of settings that you can specify for the BadUSB Attack Prevention task.
BadUSB Attack Prevention task settings
|
Setting |
Description |
Values |
|---|---|---|
|
|
Maximum number of USB device authorization attempts after which the application blocks the USB device and further attempts to authorize the USB device for the duration specified in the |
Possible values: 1 to 10 Default value: 5. |
|
|
USB device blocking duration after |
Possible values: 1 to 180 minutes. Default value: 5 minutes. |
|
|
Prohibit or allow the on-screen keyboard for authorizing USB devices. |
If If |