How can I change autorun settings for a drive
Printable View
How can I change autorun settings for a drive
question is a little bit ambiguous...
I am not sure... what u mean
but there is an autorun.inf file that can be modified
or r u trying to stop a cd from auto-running as it starts?
if so hold the shift key for a while (until chirmmm stops)
Carify.. if u may
take care
I am guessing that this is what you are talking about. It is different for different operating systems like 95/98/NT. This is from Windows NT Workstation 4.0. It is a registry entry.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom]
"Autorun"=dword:00000001
Hope that helps,
KillemAll
If u want to completely disactivate the auto-run on your cd-roms
Use regedit program
go to [HKEY_LOCALMACHINE\SYSTEM\CurrentControl\Services\CDRom]
Then there create or edit (if u already have it]
the value 'AutoRun' with 0 to disactivate it and 1 to activate
ok.
HMM, Every one seems to be forgetting that if you go into the system settings (via control panel), into to the device Manager, Double click on the cdrom drive, and their is a "Auto insert notification" check box under the settings tab, you can turn it on and off from there!!!!!!!!!!
so your saying if you want your application to disable auto insert notification that you should have your app pop up a dialog box telling the user to go to the control panel and ....
hehe j/k
just modify the registry entry in question
with the GetSetting and SaveSettings functions
yea i meant through code ;)