May 1 2009 7:52PM GMT
Posted by: AndOrTech
AutoRun, CD, CDROM, GPEDIT.msc, Microsoft Windows, regedit, Registry, Vista
Disable autorun in 98 to Vista
Posted by: 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. | |




