Microsoft KB Archive/292530

= Description of the Unsupdrv.inf File During a Window 2000 Upgrade =

PSS ID Number: 292530

Article Last Modified on 11/20/2003

-

The information in this article applies to:


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional

-



This article was previously published under Q292530



SUMMARY
This article describes the purpose and use of the Unsupdrv.inf file that you may notice during the Winnt32.exe portion of the Windows 2000 upgrade process.



MORE INFORMATION
During the Winnt32.exe portion of the Windows 2000 upgrade process, the Unsupdrv.inf file may be visible in the $win_nt$.~bt temporary Setup folder that is created at the root of the system volume.

One of the checks the Windows 2000 upgrade runs is to see if the mass-storage controller is supported in the new operating system revision. If it is unsupported, the Unsupdrv.inf file is created to assist in migrating the mass-storage controller driver that the system is currently using to Windows 2000.

Windows 2000 Setup checks and builds the Unsupdrv.inf file by using the following method:  During the initial phase of the Windows 2000 upgrade, Setup checks the following registry key to see if the system has an installed SCSI mini-port driver:

HKEY_LOCAL_MACHINE\Hardware\DeviceMap\SCSI

 If an installed SCSI mini-port driver is located, the driver name (the .sys file)is acquired by querying the following registry key for the ImagePath value name:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

This is used for comparison to see if it is supported on the next revision of the operating system. After the driver name is determined, Setup searches the [SCSI.Load] section of the Txtsetup.sif file. If a match is found in this section, the device is supported. If a match is not found, the device is not supported. A check is made to determine if the device is listed in the [ServicesToDisable] section of the Dosnet.inf file. If it is listed in this section, the driver is not migrated. If the driver is not set to be disabled, Setup must migrate the driver because the upgraded operating system does not provide a supported driver.

When the mass-storage driver needs to be migrated, Setup creates a Unsupdrv.inf file that contains all of the registry information and settings for the driver. The Unsupdrv.inf file is placed into the $win_nt$.~bt folder. The drivers that are required to support the device (in most cases, only a .sys file) are added to the list of files to be copied. During the Text mode portion of Setup when the mass-storage controller is detected, this file is loaded along with the other drivers that are provided by Windows 2000.

During the preceding process, if Setup cannot determine if the device is supported (cannot obtain the service or driver name of the mass-storage driver, cannot query the registry information, and so on), the device is assumed to be supported.

Keywords: kbenv kbinfo kbsetup KB292530

Technology: kbwin2000AdvServ kbwin2000AdvServSearch kbwin2000Pro kbwin2000ProSearch kbwin2000Search kbwin2000Serv kbwin2000ServSearch kbWinAdvServSearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.