Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Odd Behavior

Status
Not open for further replies.

VPNing

Technical User
Joined
Nov 5, 2002
Messages
77
Location
US
Windows XP Home, SP1
When double clicking the C: Drive a program install is executed. In my case it happens to be MSDE. What is even stranger is that when I right mouse click the C: Drive there is an "install" option and and "Auto Play" option.
Does anyone have any idea as to what might be causing this?
Thank in advance.
 
Look in the root directory of Drive C: for an autorun.inf file.

Move it or delete it.
 
bcastner,
Thanks for the response. I think you are onto something. I checked the root and saw not only the autorun.inf file but I also saw the setup.exe file as well as the rest of the files necessary to install MSDE. So I renamed all files to .old including the auto run and now when I double click the C: Drive it I get an error stating that setup.exe can not be located.
I did not reboot after renaming the files.
What is baffling to me the file is executed when I click on the c: drive.
Thanks Again.
 
To disable autorun on hard disk drives C: and D: (there is no reason to have it enabled):

Open notepad and copy/paste the below as No_Run.reg :

***** start copy/paste below this line
REGEDIT4

[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveAutoRun"=dword:00001100

****** end copy/paste above this line

Double click the saved file No_Run.reg to add the contents to your registry. Reboot.
 
Some articles on Autrun.inf might be useful to you. Adapt the information where necessary to apply to the file on your drive.

How to Test Autorun.inf Files

172078 - HOWTO: Enable Autorun for Applications Distributed on CD- ROM

818804 - HOW TO: Create an Autorun CD-ROM for Applications That You Create by Using Microsoft Visual Studio .NET

330135 - The AutoRun or AutoPlay Feature Does Not Work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top