

This will disable AutoPlay for USB drive.

Click “ Bluetooth & devices” on the left side, then click “ AutoPlay” on the right pane. Press the WIN + I keyboard shortcut to open the Settings app.Method 1: Turn off AutoRun / AutoPlay for USB Using Settings App In this tutorial we’ll show you 2 simple methods to turn off AutoRun / AutoPlay for USB drive in Windows 11. Because malware can exploit the AutoPlay feature to spread viruses from infected USB drive, you can disable this feature because of security concerns. When the AutoPlay feature is enabled, the system automatically runs media files without requiring user intervention as soon as a USB external device is attached to your PC.
