Disable USB Devices

Disables all USB drives on a computer. This does not affect mouse or keyboard devices with USB connections.

Using this object in an Automation Policy will require affected computers to be re-started in order for the action to be carried out.



Input Parameters


Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

No input parameters required.

This object changes Registry values to enable or disable USB devices as follows:


The 'Start' property’s values are: 3 = Enabled, 4 = Disabled.