What "Drive Auto Open" Does and How to Turn It Off
Drive Auto Open is a macOS feature that automatically launches files or folders when you connect an external drive, USB stick, or SD card to your Mac. By default, macOS opens the drive's window in Finder. Some drives also come with software that auto-launches when you plug them in — installers, setup wizards, or vendor applications.
You can disable this behavior in two ways: stop macOS from opening Finder windows automatically, or prevent specific drive software from launching on connection. Most people want to do both.
Key Takeaways
- macOS auto-opens Finder windows for external drives by default; you can turn this off in System Settings under General.
- Some external drives include software that launches automatically; you can prevent this by removing the drive from your login items or by ejecting it before the software runs.
- If a drive has an autorun file, you can disable it by opening the drive in Finder, finding the autorun or setup file, and moving it to Trash.
- Holding the Option key while plugging in a drive bypasses auto-open behavior for that single connection.
Disable Automatic Finder Window Opening in System Settings
The simplest way to stop your Mac from opening a Finder window every time you connect a drive is to turn off the setting in System Settings.
Open System Settings and navigate to General in the sidebar. Scroll down to the About section and look for Software Update. (This is not the setting you want.) Instead, go back to the General sidebar and look for Login Items & Extensions — this is where macOS tracks what opens automatically.
The Finder auto-open setting is actually controlled elsewhere. Go to System Settings > General > scroll to the bottom and look for Finder Preferences (or open Finder directly and press Command+Comma). In the Finder window that opens, click the General tab. Uncheck the box that says "Open new Finder windows for" or look for an option related to external disks. On newer macOS versions, this setting may appear as "New Finder windows open in" — set it to None or a fixed location like your home folder instead of "Recents."
After you change this setting, external drives will no longer automatically open a Finder window when you connect them.
Remove Drive Software from Login Items
Many external drives, especially backup drives and branded USB sticks, come with software that launches automatically. This software appears in your Mac's Login Items list — a collection of apps and files that start when you log in or when certain hardware connects.
Open System Settings > General > Login Items & Extensions. Look at the Allow in the Login Items section. If you see the name of your drive's software (for example, "WD Drive Utilities" or "Seagate Dashboard"), click it and then click the minus (−) button to remove it.
Also check the Allow in the Login Items section for any items labeled with your drive's brand name. Removing these prevents the software from launching when you connect the drive.
Disable Autorun Files on the Drive Itself
Some external drives contain an autorun file — a small program or script that the drive manufacturer put there to launch software when the drive connects. On a Mac, these files are usually named autorun.sh, autorun, or something similar. They are less common on macOS than on Windows, but they do exist.
To find and disable an autorun file, connect the drive and open it in Finder. Look for any file with "autorun" in the name, or look for a folder named .Autorun or Autorun. If you find one, right-click it and select Move to Trash. This removes the file that would otherwise trigger the auto-launch.
If you are not sure whether a file is safe to delete, you can also rename it instead — add .disabled to the end of the filename. This prevents it from running without permanently removing it.
Use the Option Key to Bypass Auto-Open for One Connection
If you want to connect a drive without triggering auto-open behavior just once, hold down the Option key while you plug in the drive. Keep holding it until the drive appears on your desktop or in Finder. This bypasses the auto-open setting for that single connection.
This method is useful when you want to connect a drive but do not want to change your system settings permanently.
What to Do If Auto-Open Still Happens
If you have disabled the Finder auto-open setting and removed login items but a drive still launches something when you connect it, the software may be running from a different location.
Check System Settings > General > Login Items & Extensions again and look at the Allow in the Login Items section more carefully. Some drive software registers itself under a different name than you might expect. If you see anything unfamiliar, remove it.
You can also open Activity Monitor (in Applications > Utilities) while the drive is connected and look at the list of running processes. If you see a process related to your drive that you did not start, you can select it and click the X button to quit it. This does not permanently disable it, but it stops it for the current session.
Frequently Asked Questions
Will disabling auto-open affect my backups or Time Machine?
No. Time Machine and backup software work independently of the auto-open setting. Disabling auto-open only prevents files or windows from launching automatically when you connect a drive — it does not stop scheduled backups or manual backup operations.
Can I disable auto-open for one drive but keep it for others?
The Finder auto-open setting applies to all external drives. However, you can remove specific drive software from Login Items one at a time, so you can keep one drive's software active while disabling another's.
What if I accidentally deleted an autorun file and now the drive does not work?
Deleting an autorun file should not affect the drive's basic function — it only stops the automatic software launch. If the drive itself is not working, the problem is likely unrelated to the autorun file. Try restarting your Mac and reconnecting the drive.
Does disabling auto-open slow down my Mac?
No. In fact, disabling auto-open can slightly improve performance because your Mac is not launching unnecessary software or opening Finder windows every time you connect a drive.
How do I know if a file on my drive is an autorun file?
Autorun files usually have names containing "autorun" or "setup" and are often located in the root folder of the drive (the main folder you see when you open it). If you are unsure, you can rename the file instead of deleting it — add .disabled to the end of the name to prevent it from running without losing it.
