Autorun

Dear All!

I’d like to enable/disable the cdrom autorun feature from my program. How can I do it both in Win95 and NT?

Thanx a lot.

Regards,
Max Lyadvinsky

In the registry, set HKLM\System\CurrentControlSet\Services\Cdrom\Autorun to
0 (zero).

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
Sent: Thursday, February 24, 2000 9:31 AM
To: NT Developers Interest List
Subject: [ntdev] Autorun

Dear All!

I’d like to enable/disable the cdrom autorun feature from my program. How
can I do it both in Win95 and NT?

Thanx a lot.

Regards,
Max Lyadvinsky


You are currently subscribed to ntdev as: xxxxx@linkeng.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

You can do this through MS’s nifty Tweak UI utility from their Power Toys collection.
Download them here:

NT:
http://www.microsoft.com/ntworkstation/downloads/PowerToys/Networking/NTTweakUI.asp
95/98:
http://www.microsoft.com/windows95/downloads/contents/wutoys/w95pwrtoysset/default.asp

Autorun is under the “paranoia” tab

To do this programmatically see KB:
http://support.microsoft.com/support/kb/articles/Q155/2/17.asp

Interestingly TWEAKUI doesnt use this method (Run REGMON while running TWEAKUI).

Enjoy!
-bob k

Max Lyadvinsky wrote:

Dear All!

I’d like to enable/disable the cdrom autorun feature from my program. How can I do it both in Win95 and NT?

Thanx a lot.

Regards,
Max Lyadvinsky


You are currently subscribed to ntdev as: xxxxx@sequest.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

And how can I set this setting for each cd-rom drive? I’d like some cd-roms have autorun feature and others don’t.
And what about Win95?

Max


??: Bill Christie[SMTP:xxxxx@linkeng.com]
???: NT Developers Interest List
???: 24 ??? 2000 ?. 17:35
???: NT Developers Interest List
???: [ntdev] RE: Autorun

In the registry, set HKLM\System\CurrentControlSet\Services\Cdrom\Autorun to
0 (zero).

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
Sent: Thursday, February 24, 2000 9:31 AM
To: NT Developers Interest List
Subject: [ntdev] Autorun

Dear All!

I’d like to enable/disable the cdrom autorun feature from my program. How
can I do it both in Win95 and NT?

Thanx a lot.

Regards,
Max Lyadvinsky


You are currently subscribed to ntdev as: xxxxx@linkeng.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@paragon.ru
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Max,

You may wish to get hold of the article titled “Testing AutoPlay via the
Floppy Drive” in the December 1996 issue of Windows Developer’s Journal.

Although the article was intended to illustrate how to enable auto-play for
a floppy drive (for purposes of testing an autorun.inf file without having
to burn a CD), it effectively discribes how to programmatically enable (or
disable) auto-play for any drive.

Basically, there is a bit mask somewhere in the registry (the first 26 bits
of which correspond to the letters A-Z) indicating which drives the system
should attempt to auto-play.

Regards,

Matt Arnold
Professional Music Products
Mark of the Unicorn, Inc.
http://www.motu.com

----- Original Message -----
From: “Max Lyadvinsky”
To: “NT Developers Interest List”
Sent: Thursday, February 24, 2000 12:33 PM
Subject: [ntdev] Re: Autorun

And how can I set this setting for each cd-rom drive? I’d like some cd-roms
have autorun feature and others don’t.
And what about Win95?

Max

There you can set just a mask for drive types not for letters.
So I cannot do it for each drive letter?

Max


??: Matt Arnold[SMTP:xxxxx@motu.com]
???: NT Developers Interest List
???: 24 ??? 2000 ?. 23:20
???: NT Developers Interest List
???: [ntdev] Re: Autorun

Max,

You may wish to get hold of the article titled “Testing AutoPlay via the
Floppy Drive” in the December 1996 issue of Windows Developer’s Journal.

Although the article was intended to illustrate how to enable auto-play for
a floppy drive (for purposes of testing an autorun.inf file without having
to burn a CD), it effectively discribes how to programmatically enable (or
disable) auto-play for any drive.

Basically, there is a bit mask somewhere in the registry (the first 26 bits
of which correspond to the letters A-Z) indicating which drives the system
should attempt to auto-play.

Regards,

Matt Arnold
Professional Music Products
Mark of the Unicorn, Inc.
http://www.motu.com

----- Original Message -----
From: “Max Lyadvinsky”
To: “NT Developers Interest List”
Sent: Thursday, February 24, 2000 12:33 PM
Subject: [ntdev] Re: Autorun

And how can I set this setting for each cd-rom drive? I’d like some cd-roms
have autorun feature and others don’t.
And what about Win95?

Max


You are currently subscribed to ntdev as: xxxxx@paragon.ru
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Hmm, perhaps I’m remembering the article incorrectly (I don’t have it
on-hand to check).

Maybe you’re right – the bitmask is more general and only for drive types.
I thought I remembered that it was for specific drive letters. If that’s
the case, I apologize for any confusion.

Regards,

Matt Arnold
Professional Music Products
Mark of the Unicorn, Inc.
http://www.motu.com

----- Original Message -----
From: “Max Lyadvinsky”
To: “NT Developers Interest List”
Sent: Friday, February 25, 2000 3:20 AM
Subject: [ntdev] Re: Autorun

There you can set just a mask for drive types not for letters.
So I cannot do it for each drive letter?

Max

----------
ïÔ: Matt Arnold[SMTP:xxxxx@motu.com]
ïÔ×ÅÔ: NT Developers Interest List
ïÔÐÒÁ×ÌÅÎÏ: 24 ÆÅ×ÒÁÌÑ 2000 Ç. 23:20
ëÏÍÕ: NT Developers Interest List
ôÅÍÁ: [ntdev] Re: Autorun

Max,

You may wish to get hold of the article titled “Testing AutoPlay via the
Floppy Drive” in the December 1996 issue of Windows Developer’s Journal.

[snip]