This Batch Script uses REG.exe Command-Line Tool to modify a specific Reigsty Key (Start) and set it's Data Value to 3.
This will disable all USB connectivity on the Windows machine (Server or Client) from which the script is executed.
This Batch Script must be run as "Administrator".
This REG.exe based-batch script can be run on the following OS version :
If you want to re-enable USB Ports on your Windows machines, just edit the Batch file and change the "Start" Data Value from 4 to 3
#HK | Just Another IT Guy | https://hichamkadiri.wordpress.com