Which Windows setting should an administrator disable to prevent any program listed in an autorun.inf file from launching automatically when a user inserts removable media such as a USB flash drive?
Enable write caching on the USB device
Enable Windows Quick Access
Turn off Windows Defender Firewall
Disable AutoRun (Turn off AutoPlay) for removable drives
Disabling AutoRun (through the Turn off AutoPlay/NoDriveTypeAutoRun policy) stops the operating system from parsing and acting on commands in an autorun.inf file, thus preventing automatic execution of potentially malicious code on removable media. Other settings such as write caching, Windows Defender Firewall, or Quick Access do not influence the AutoRun mechanism. [Microsoft Learn - Enabling and Disabling AutoRun] | [CISA Alert AA09-020A]
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is AutoRun and how does it work in Windows?
Open an interactive chat with Bash
How does disabling AutoRun improve device security?
Open an interactive chat with Bash
What is the difference between AutoRun and AutoPlay?