Windows Defender contains several functions for tools to secure Windows machine and get compliant with common regulations.
A simple python script to block usb root hubs on windows devices.
-
Run cmd prompt/Powershell as administrator
-
Clone repo
git clone https://github.com/dmdhrumilmistry/win-block-usbs
-
Change directory
cd win-block-usbs
-
Run script
python win-block-usb.py