|
-
Sep 28th, 2000, 01:05 PM
#1
Thread Starter
Addicted Member
How can I change autorun settings for a drive
-
Sep 28th, 2000, 01:26 PM
#2
Fanatic Member
hmm
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
-
Sep 28th, 2000, 02:28 PM
#3
Lively Member
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
-
Sep 28th, 2000, 02:28 PM
#4
Fanatic Member
One more note
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.
-
Sep 28th, 2000, 02:41 PM
#5
Lively Member
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!!!!!!!!!!
THE DOUGSTER!!!!!!
*-MCSD-*
-
Sep 28th, 2000, 02:46 PM
#6
Lively Member
hehehe
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
-
Sep 28th, 2000, 02:49 PM
#7
Fanatic Member
no..
just modify the registry entry in question
with the GetSetting and SaveSettings functions
-
Sep 28th, 2000, 05:58 PM
#8
Thread Starter
Addicted Member
thanks
yea i meant through code
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|