Prevent autoplay of CD and DVD media

Jan 27, '02 10:41:14AM

Contributed by: Joeri

I (write | copy | use) many DATA DVD at home, so after a while I got very fustrated becouse OS X desides to spawn the DVD Player with every insert of a DVD (including data DVD`s).

I searched but did not find any hints, so I did some investigation, after a while (finding out how mounting works, reading man autodiskmount and some wild guesses), I came up with this solution. Edit the com.apple.finder.plist file (in your user's Library / Preferences folder) using your favorite text editor. Here is the top part of the file:

<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
Insert the following lines below the <dict> tag:
<key>AutoplayAudioCD</key>
<false/>
<key>AutoplayDVD</key>
<false/>
Keep the rest of the file intact, save your changes, and then logout/login (or relaunch the Finder). Your discs should no longer autoplay.

[Editor's note: I thought for certain there was a Finder pref for this, but I certainly can't see one! This seems to be the best solution at present ... if there's a simpler way that I'm missing, let us know!]

Comments (10)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20020127104114800