Autorun.inf – Remove & Block Auto‑Run

autorun.inf can be abused by malware to launch code when you plug a drive in. Here is how to remove it and prevent auto‑run from re‑enabling the infection.

Clean with UsbFix (Recommended)

  1. Download and run UsbFix.
  2. Plug in all removable drives.
  3. Run Scan then Clean to remove malicious autorun entries.

Manual Removal

  1. Show hidden/protected files in File Explorer.
  2. Command Prompt (Admin), for each drive (e.g., F:):
    F:
    attrib -h -r -s /s /d autorun.inf
    del /f /a autorun.inf
  3. Check persistence (Run keys, scheduled tasks, proxy configs).

Prevention

Related Guides

Last updated: {PUT_DATE_HERE}

Scroll to Top