Re: Save usage of plugged in USB thumb drive?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Carsten von der Lippe wrote:

When we use an USB thumb drive we encountered the behaviour
that if we access the drive right after the USB flash drive
is plugged in for the first time and the drive letter is
assigned, we see a message box telling us

"System Settings Change Windows has finished installing new devices. The software that supports your device requires that you restart your computer. You must restart your computer before new settings will take effect. Do you want to restart your computer now?"

This is problematic, because our terminals are running unattended
and we definitely do not want to have such kind of dialogs.
We also have analysed that this dialog box does not appear
if we wait a few seconds after the drive letter is assigned.

On first arrival Windows plays the come, go and come
again game.

Check the drive's and volume's install state (availlable
since XP) by CM_Get_DevInst_Registry_Property with
CM_DRP_INSTALL_STATE or SetupDiGetDeviceRegistryProperty
SPDRP_INSTALL_STATE.

If it is CM_INSTALL_STATE_INSTALLED (0) then it's ok to access
the drive. If it's CM_INSTALL_STATE_FINISH_INSTALL (3) then
it will go and come again. Under W2K I've found no solution.


Uwe
.



Relevant Pages

  • Re: hard drive letter assignment problem
    ... Restart and let WinXP load then shutdown. ... >windows was completely shutdown. ... then a norton box saying norton does not support the repair ... Upon restart windows assigned a new drive letter to the ...
    (microsoft.public.windowsxp.hardware)
  • Re: unmounted volume in disk defragmenter
    ... There is now a v2 of the rollup but WU won't suggest it if v1 is installed. ... The system alternates between the original system drive and the new virtual system drive letter every time that you restart so I'd restart and make sure the drive letter is correct and then apply V2 ...
    (microsoft.public.win2000.file_system)
  • Re: unmounted volume in disk defragmenter
    ... There is now a v2 of the rollup but WU won't suggest it if v1 is ... The system alternates between the original system drive and the new ... virtual system drive letter every time that you restart so I'd restart and ... make sure the drive letter is correct and then apply V2 ...
    (microsoft.public.win2000.file_system)
  • Re: Plug and play issue with Western Digital WD200
    ... >> device requires that you restart your computer. ... >> used on the system I did the first boot and fbreseal on. ... >> Jeff Hall ...
    (microsoft.public.windowsxp.embedded)
  • Re: hard drive letter assignment problem
    ... > windows was completely shutdown. ... Upon restart windows assigned a new drive letter to the external ... > the installer problem. ...
    (microsoft.public.windowsxp.hardware)