How do I stop dialog window appearing when plugging in USB flash drive?



Nigel Walker
07-09-2005, 10:24 PM
I can stop it using regedit on the target system by entering this value:

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun
149

But if I enter this as an additional key in TD, it doesn't get set to that
value in the target. Is there a setting elsewhere that this value gets
copied from?

--
Nigel.

Nyquist
07-09-2005, 10:24 PM
Nigel,
Add the registry as follows,
HKLM\SYSTEM\FBA\RegMigrate\HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun
Use RegMigrate for these kind of reg entries to avoid over-riding the reg
entries

"Nigel Walker" wrote:

> I can stop it using regedit on the target system by entering this value:
>
> HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun
> 149
>
> But if I enter this as an additional key in TD, it doesn't get set to that
> value in the target. Is there a setting elsewhere that this value gets
> copied from?
>
> --
> Nigel.
>
>
>

KM
07-09-2005, 10:24 PM
Nigel,

The NoDriveTypeAutoRun value gets set (overwritting the value you set) by
"Shell Explorer Registry Data (Pro)" component.

You can fix this either by:

- Use RegMigrate technique as Nyquist showed
- Overwrite the value directry in the "Shell Explorer Registry Data
(Pro)" component's registry section
- Overwrite the value with a FBA RunOnce or Generic Command at run time
at some late phase (use reg.exe tool)

KM

>I can stop it using regedit on the target system by entering this value:
>
> HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun
> 149
>
> But if I enter this as an additional key in TD, it doesn't get set to that
> value in the target. Is there a setting elsewhere that this value gets
> copied from?
>
> --
> Nigel.
>
>

Nigel Walker
07-09-2005, 10:25 PM
Thanks for the help, Nyquist. I must have made a mistake somewhere as the
value is still being overwritten when I use your suggestion.

--
Nigel.


"Nyquist" <Nyquist@discussions.microsoft.com> wrote in message
news:42E39A7C-7079-4DE6-B7D7-231232CEA70F@microsoft.com...
> Nigel,
> Add the registry as follows,
> HKLM\SYSTEM\FBA\RegMigrate\HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun
> Use RegMigrate for these kind of reg entries to avoid over-riding the reg
> entries
>
> "Nigel Walker" wrote:
>
>> I can stop it using regedit on the target system by entering this value:
>>
>> HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun
>> 149
>>
>> But if I enter this as an additional key in TD, it doesn't get set to
>> that
>> value in the target. Is there a setting elsewhere that this value gets
>> copied from?
>>
>> --
>> Nigel.
>>
>>
>>

Nigel Walker
07-09-2005, 10:25 PM
Thanks for the comments, KM. I couldn't make Nyquist's suggestion work, so I
might just resort to entering the value manually for the time being.

--
Nigel.

"KM" <konstmor@nospam_yahoo.com> wrote in message
news:%23zCV8fcXFHA.3760@TK2MSFTNGP15.phx.gbl...
> Nigel,
>
> The NoDriveTypeAutoRun value gets set (overwritting the value you set) by
> "Shell Explorer Registry Data (Pro)" component.
>
> You can fix this either by:
>
> - Use RegMigrate technique as Nyquist showed
> - Overwrite the value directry in the "Shell Explorer Registry Data
> (Pro)" component's registry section
> - Overwrite the value with a FBA RunOnce or Generic Command at run time
> at some late phase (use reg.exe tool)
>
> KM
>
>>I can stop it using regedit on the target system by entering this value:
>>
>> HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun
>> 149
>>
>> But if I enter this as an additional key in TD, it doesn't get set to
>> that value in the target. Is there a setting elsewhere that this value
>> gets copied from?
>>
>> --
>> Nigel.
>>
>>
>
>


How do I stop dialog window appearing when plugging in USB flash drive?