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

  • Thread starter Thread starter Nigel Walker
  • Start date Start date
N

Nigel Walker

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,
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,

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
 
Thanks for the help, Nyquist. I must have made a mistake somewhere as the
value is still being overwritten when I use your suggestion.
 
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 said:
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
 
Back
Top