Digital Wanderings

May 1 2009   7:52PM GMT

Disable autorun in 98 to Vista

AndOrTech Jason Erickson Profile: AndOrTech

This is just and FYI, it is a little off my normal topics. 

I had to write up something for a newsletter that tried the gpedit.MSC approach.  That way had many pitfalls and several limitations.  I gave them a simple regfix to do the same thing.

Stop CDs from Auto Running:
If you don’t want your CDs or DVDs to Autorun, you can turn this off.

To do this in any system from 95 to Vista:

1. Open Notepad and copy/paste the following 3 lines
    REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
“NoDriveTypeAutoRun”=dword:000000B1
2. Save the file as disableautoCD.reg.  (You have to be sure to change the “Save File as Type” to “All Files” before saving, or Windows will try to save it as a .txt even if you typed in .reg.)
3. Locate the file you just saved and double-click the file to run it. You will receive a prompt asking if you want to add the data to the registry. Click yes to allow the modification.

To re-enable Autorun:

1. Open Notepad and copy/paste the following 3 lines
    REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
“NoDriveTypeAutoRun”=dword:00000091
2. Save the file as enableautoCD.reg.  (You have to be sure to change the “Save File as Type” to “All Files” before saving, or Windows will try to save it as a .txt even if you typed in .reg.)
3. Locate the file you just saved and double-click the file to run it. You will receive a prompt asking if you want to add the data to the registry. Click yes to allow the modification.

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: