After you use Package Manager to add a driver to an offline Windows Vista image, the driver may not be added to the driver store folder

Article translations Article translations
Article ID: 932403 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

You start Microsoft Windows Preinstallation Environment (Windows PE) and then use Package Manager (Pkgmgr.exe) to install a driver to an offline Windows Vista image. After you do this, the driver may not be added to the driver store folder.

For example, assume that you have typed the following command:
start /w pkgmgr /o:"c:\;c:\windows" /n:"e:\oemdrv\unattend.xml" /l:"e:\drvlog"
Because you used the /l:"e:\drvlog" switch, the following errors are logged to the Drvlogs file:
2007-01-26 14:55:53, Info CBS Pkgmgr: Install Drivers Offline Callback: INFO: The class GUID for INF 'E:\oemdrv\nv_disp.inf' is '4d36e968-e325-11ce-bfc1-08002be10318'! (Error code (HRESULT) 0x0.)
2007-01-26 14:55:53, Info CBS Pkgmgr: Install Drivers Offline Callback: INFO: The class GUID '4d36e968-e325-11ce-bfc1-08002be10318' is not boot-critical. (Error code (HRESULT) 0x0.)
2007-01-26 14:55:53, Info CBS Pkgmgr: Install Drivers Offline Callback: INFO: 'E:\oemdrv\nv_disp.inf' is not a boot critical driver. (Error code (HRESULT) 0x0.) 2007-01-26 14:55:56, Error CBS Pkgmgr: Install Drivers Offline Callback: ERROR: Failed to stage driver 'E:\oemdrv\nv_disp.inf' (HRESULT= 0x8007001D). (Error code (HRESULT) 0x8007001d.)
2007-01-26 14:55:56, Error CBS Pkgmgr: Install Drivers Offline Callback: ERROR: Failed to install driver package 'E:\oemdrv\nv_disp.inf'. (Error code (HRESULT) 0x8007001d.)
2007-01-26 14:55:56, Info CBS Pkgmgr: Install Drivers Offline Callback: INFO: Installed '0' drivers. (Error code (HRESULT) 0x0.)
2007-01-26 14:55:56, Info CBS Pkgmgr: Install Drivers Offline Callback: INFO: RETURN InstallDriversOffline (0) (Error code (HRESULT) 0x0.)

CAUSE

This problem occurs because of the limited scratch space that is available in Windows PE. Large driver packages may not be installed because the driver store code uses a temporary folder on the Windows PE RAM drive that consumes the 32 megabytes (MB) of scratch space.

WORKAROUND

To work around this problem, set the USERPROFILE environment variable to a path on a hard disk. For example, set the USERPROFILE environment variable to point to a directory that is located on the same volume that contains the offline image. This step causes the driver store code to use this directory as temporary space. In this case, the driver installation succeeds.

To set the USERPROFILE environment variable to point to the C:\Temp directory and to add the drivers to the driver store on an offline image, type the following commands at a command prompt:
Md c:\temp
Set USERPROFILE=c:\temp
start /w pkgmgr /o:"c:\;c:\windows" /n:"e:\oemdrv\unattend.xml" /l:"e:\drvlog"

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

This problem does not occur if you run Package Manager in Windows to service a mounted Windows Imaging Format (WIM) file. In this case, there is sufficient space for temporary files. For more information about Package Manager, visit the following Microsoft Web page:
http://technet2.microsoft.com/WindowsVista/en/library/172c251e-5582-4c8e-aeff-a68ddb1679ac1033.mspx?mfr=true

Properties

Article ID: 932403 - Last Review: September 14, 2007 - Revision: 2.0
APPLIES TO
  • Windows Vista Ultimate
  • Windows Vista Starter
  • Windows Vista Home Premium
  • Windows Vista Home Basic
  • Windows Vista Enterprise
  • Windows Vista Business
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
Keywords: 
kbbug kbnofix kbqfe kbprb kbexpertiseadvanced KB932403

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com