Disable AutoPlay in Windows

Malware spreads through USB drives. To disable autoplay in Windows, do:
Run…
gpedit.msc
Click on Computer Configuration → Administrative templates → System
You will find “Turn off Autoplay”.
Double click on it and “Enabled” for “All drives”, apply and exit.