USB Autorun & feature pack 2007

G

Guest

We've been using (PenDrive Autorun) PDA.exe to launch an executable
automatically when we insert a USB stick. There is a .inf file on the
USB stick that looks like:

[autorun]
open=ofpupdate.exe

On our XPe SP2 image everything worked fine ofpudate.exe would run when
we inserted the USB stick. We've recently been using the Xpe 2007
Feature Pack to support USB booting. The problem I'm running into is
that on the 2007 Xpe image instead of the application launching
automatically when I insert the USB stick it pops up a window that
says:

This disk or device contains more than one type of content.
What do you want windows to do?

Run the program
using the program provided on the device

View a slideshow... print the pictures... etc.

If I select Run the program ofpupdate.exe does start, however, we need
the application to start automatically. Was a component or setting
modified in the 2007 Feature Pack?

I have already tried modifying the
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun
registry key to x95 which supresses the windows pop up, but it also
prevents PDA.exe from launching the application on the stick.

Any insight about how to launch the application automatically without
the windows popup would be greatly appreciated.

Fred
 
K

KM

Fred,

Your issue sounds like the AutoPlay handlers for USB devices have changed in FP2007.

You may want to cancel AutoPlay for USB. This can be done under the following key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay]

Read more info about Autoplay details here: http://msdn.microsoft.com/msdnmag/issues/01/11/autoplay/

E.g., you can try adding the following reg entries (will cancel Autoplay for many [all possible] MS devices):
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\\CancelAutoplay\CLSID]
"AB007EC8-E2D4-4664-ACD9-1D059681F3DE"=""
"9A2C7EC1-976E-11D2-9897-000092A92198"=""
"C5DE96F1-E2BC-44f9-AC74-3D7D87CE4A33"=""
"004C88DE-F5DF-440A-AD7D-1962550E60B2"=""
"346617CD-E9F1-4891-B1D1-FA3694F368E7"=""
"D7536648-25A7-41F4-A9A2-21D542815CBE"=""
"62A750B8-BEED-477B-BECB-A31B994F5231"=""
"6C2A3C6C-15AD-440F-999B-004463E0E23C"=""
"88802889-7F7F-44DA-8666-85C881989728"=""
"D6BBE91B-89D1-41EE-98BB-BA186BBB6ABB"=""
"0400A6DC-EA7C-473b-871E-1444EE7848E2"=""
"9D7D6667-988E-4936-9461-B7206DF5C26F"=""
"BBEB08F8-9126-4e20-AAD3-70B470144C7E"=""

Or, if you prefer, you can deal with the Autplay via GUI. Just download TweakUI tools - they are easy to play with.
 
P

pabonfm

Hi KM,

Thanks for the help. I've tried modifying the Autoplay settings using
both the regkey as well as the TweakUI utility. When I set up all of
the registry entries that you suggested it did prevent the AutoPlay
from starting, but it is also preventing the PenDrive Autorun from
automatically starting. I get the same results when using TweakUI.
I'm wondering if there is a component setting to remove Autoplay from
the image entirely (searched for auto with no results though.) Or
maybe I could roll back to the SP2 version of whichever component
handles Autoplay.

Thanks,
Fred
Fred,

Your issue sounds like the AutoPlay handlers for USB devices have changed in FP2007.

You may want to cancel AutoPlay for USB. This can be done under the following key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay]

Read more info about Autoplay details here: http://msdn.microsoft.com/msdnmag/issues/01/11/autoplay/

E.g., you can try adding the following reg entries (will cancel Autoplay for many [all possible] MS devices):
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\\CancelAutoplay\CLSID]
"AB007EC8-E2D4-4664-ACD9-1D059681F3DE"=""
"9A2C7EC1-976E-11D2-9897-000092A92198"=""
"C5DE96F1-E2BC-44f9-AC74-3D7D87CE4A33"=""
"004C88DE-F5DF-440A-AD7D-1962550E60B2"=""
"346617CD-E9F1-4891-B1D1-FA3694F368E7"=""
"D7536648-25A7-41F4-A9A2-21D542815CBE"=""
"62A750B8-BEED-477B-BECB-A31B994F5231"=""
"6C2A3C6C-15AD-440F-999B-004463E0E23C"=""
"88802889-7F7F-44DA-8666-85C881989728"=""
"D6BBE91B-89D1-41EE-98BB-BA186BBB6ABB"=""
"0400A6DC-EA7C-473b-871E-1444EE7848E2"=""
"9D7D6667-988E-4936-9461-B7206DF5C26F"=""
"BBEB08F8-9126-4e20-AAD3-70B470144C7E"=""

Or, if you prefer, you can deal with the Autplay via GUI. Just download TweakUI tools - they are easy to play with.

--
=========
Regards,
KM


We've been using (PenDrive Autorun) PDA.exe to launch an executable
automatically when we insert a USB stick. There is a .inf file on the
USB stick that looks like:

[autorun]
open=ofpupdate.exe

On our XPe SP2 image everything worked fine ofpudate.exe would run when
we inserted the USB stick. We've recently been using the Xpe 2007
Feature Pack to support USB booting. The problem I'm running into is
that on the 2007 Xpe image instead of the application launching
automatically when I insert the USB stick it pops up a window that
says:

This disk or device contains more than one type of content.
What do you want windows to do?

Run the program
using the program provided on the device

View a slideshow... print the pictures... etc.

If I select Run the program ofpupdate.exe does start, however, we need
the application to start automatically. Was a component or setting
modified in the 2007 Feature Pack?

I have already tried modifying the
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun
registry key to x95 which supresses the windows pop up, but it also
prevents PDA.exe from launching the application on the stick.

Any insight about how to launch the application automatically without
the windows popup would be greatly appreciated.

Fred
 
K

KM

Fred,

Autoplay is a part of Explorer app. No way you can remove this functionality without removing Explorer.

I guess to fix your issue properly you'd better not to *cancel* the Autoplay (don't use the CancelPlay key) but rather specify your
own handler for the Autoplay that will do the Autorun job.

Again, easiest way would probably be in using TweakUI to set up the right behavior on XP (create new AutoPlay handler there) and
then copy the new reg.entries from the key mentioned earlier to your runtime.

--
=========
Regards,
KM


Hi KM,

Thanks for the help. I've tried modifying the Autoplay settings using
both the regkey as well as the TweakUI utility. When I set up all of
the registry entries that you suggested it did prevent the AutoPlay
from starting, but it is also preventing the PenDrive Autorun from
automatically starting. I get the same results when using TweakUI.
I'm wondering if there is a component setting to remove Autoplay from
the image entirely (searched for auto with no results though.) Or
maybe I could roll back to the SP2 version of whichever component
handles Autoplay.

Thanks,
Fred
Fred,

Your issue sounds like the AutoPlay handlers for USB devices have changed in FP2007.

You may want to cancel AutoPlay for USB. This can be done under the following key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay]

Read more info about Autoplay details here: http://msdn.microsoft.com/msdnmag/issues/01/11/autoplay/

E.g., you can try adding the following reg entries (will cancel Autoplay for many [all possible] MS devices):
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\\CancelAutoplay\CLSID]
"AB007EC8-E2D4-4664-ACD9-1D059681F3DE"=""
"9A2C7EC1-976E-11D2-9897-000092A92198"=""
"C5DE96F1-E2BC-44f9-AC74-3D7D87CE4A33"=""
"004C88DE-F5DF-440A-AD7D-1962550E60B2"=""
"346617CD-E9F1-4891-B1D1-FA3694F368E7"=""
"D7536648-25A7-41F4-A9A2-21D542815CBE"=""
"62A750B8-BEED-477B-BECB-A31B994F5231"=""
"6C2A3C6C-15AD-440F-999B-004463E0E23C"=""
"88802889-7F7F-44DA-8666-85C881989728"=""
"D6BBE91B-89D1-41EE-98BB-BA186BBB6ABB"=""
"0400A6DC-EA7C-473b-871E-1444EE7848E2"=""
"9D7D6667-988E-4936-9461-B7206DF5C26F"=""
"BBEB08F8-9126-4e20-AAD3-70B470144C7E"=""

Or, if you prefer, you can deal with the Autplay via GUI. Just download TweakUI tools - they are easy to play with.

--
=========
Regards,
KM


We've been using (PenDrive Autorun) PDA.exe to launch an executable
automatically when we insert a USB stick. There is a .inf file on the
USB stick that looks like:

[autorun]
open=ofpupdate.exe

On our XPe SP2 image everything worked fine ofpudate.exe would run when
we inserted the USB stick. We've recently been using the Xpe 2007
Feature Pack to support USB booting. The problem I'm running into is
that on the 2007 Xpe image instead of the application launching
automatically when I insert the USB stick it pops up a window that
says:

This disk or device contains more than one type of content.
What do you want windows to do?

Run the program
using the program provided on the device

View a slideshow... print the pictures... etc.

If I select Run the program ofpupdate.exe does start, however, we need
the application to start automatically. Was a component or setting
modified in the 2007 Feature Pack?

I have already tried modifying the
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun
registry key to x95 which supresses the windows pop up, but it also
prevents PDA.exe from launching the application on the stick.

Any insight about how to launch the application automatically without
the windows popup would be greatly appreciated.

Fred
 
S

spawn666948-stuff

You may want to cancel AutoPlay for USB. This can be done under the following key:
E.g., you can try adding the following reg entries (will cancel Autoplay for many [all possible] MS devices):
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\\CancelAutoplay\CLSID]
"AB007EC8-E2D4-4664-ACD9-1D059681F3DE"=""
"9A2C7EC1-976E-11D2-9897-000092A92198"=""
"C5DE96F1-E2BC-44f9-AC74-3D7D87CE4A33"=""
"004C88DE-F5DF-440A-AD7D-1962550E60B2"=""
"346617CD-E9F1-4891-B1D1-FA3694F368E7"=""
"D7536648-25A7-41F4-A9A2-21D542815CBE"=""
"62A750B8-BEED-477B-BECB-A31B994F5231"=""
"6C2A3C6C-15AD-440F-999B-004463E0E23C"=""
"88802889-7F7F-44DA-8666-85C881989728"=""
"D6BBE91B-89D1-41EE-98BB-BA186BBB6ABB"=""
"0400A6DC-EA7C-473b-871E-1444EE7848E2"=""
"9D7D6667-988E-4936-9461-B7206DF5C26F"=""
"BBEB08F8-9126-4e20-AAD3-70B470144C7E"=""

Is there a way to tell which devices these are?
 
K

KM

Is there a way to tell which devices these are?

Well, I haven't seen a page on the Web that describes all of them but googling will give you much info about each one.
I prefer searching XPe database for those GUIDs (Reg Path/Value Filters) and that typically gives me a point to what components they
belong to.
E.g., "AB007EC8-E2D4-4664-ACD9-1D059681F3DE" - Windows Movie Maker (MSVideoCameraArrival handler).

And, of course, searching registry on XP Pro machine would help much to reveal the info.

--
=========
Regards,
KM


You may want to cancel AutoPlay for USB. This can be done under the following key:
E.g., you can try adding the following reg entries (will cancel Autoplay for many [all possible] MS devices):
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\\CancelAutoplay\CLSID]
"AB007EC8-E2D4-4664-ACD9-1D059681F3DE"=""
"9A2C7EC1-976E-11D2-9897-000092A92198"=""
"C5DE96F1-E2BC-44f9-AC74-3D7D87CE4A33"=""
"004C88DE-F5DF-440A-AD7D-1962550E60B2"=""
"346617CD-E9F1-4891-B1D1-FA3694F368E7"=""
"D7536648-25A7-41F4-A9A2-21D542815CBE"=""
"62A750B8-BEED-477B-BECB-A31B994F5231"=""
"6C2A3C6C-15AD-440F-999B-004463E0E23C"=""
"88802889-7F7F-44DA-8666-85C881989728"=""
"D6BBE91B-89D1-41EE-98BB-BA186BBB6ABB"=""
"0400A6DC-EA7C-473b-871E-1444EE7848E2"=""
"9D7D6667-988E-4936-9461-B7206DF5C26F"=""
"BBEB08F8-9126-4e20-AAD3-70B470144C7E"=""
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top