Partager via


Event ID 20001 — Device Installation

Applies To: Windows Server 2008

When you attach a new piece of hardware to your computer, Windows attempts to detect the device type and install a device driver so that Windows can communicate with and control the device. Devices and their device drivers appear in the Device Manager Microsoft Management Console (MMC) snap-in.

Event Details

Product: Windows Operating System
ID: 20001
Source: Microsoft-Windows-User-PnP
Version: 6.0
Symbolic Name: DM_INSTALL_START
Message: Driver Management concluded the process to install driver %1 for Device Instance ID %4 with the following status: %9.

Resolve

Examine Status Code Reported in Event

Windows records the completion of a device driver installation attempt as an Event ID 20001 message in the System event log. The message provides device identification information and a status code for the device installation process. The device identification information typically includes the Plug and Plug idenfication code assigned by the manufacturer and a reference to the .inf file used to control the installation process. The Plug and Play identification code for a device can be found in Device Manager on the property page for a device, on the Details tab, under the Hardware Ids and Device Ids list entries.

Devices that install successfully log an Event ID 20001 message with a status code of 0. Other status codes indicate that the device installation failed for the reason indicated by the status code. To determine the root cause of a failure, examine the numeric status code reported at the end of the event message text. The status code is displayed in decimal (some references quote these values in hexadecimal), and corresponds to Win32 and SetupAPI error codes. Click the link in the list below that corresponds to your status code:

  • 0 (0x00000000) Installation Successful
  • 2 (0x00000002) File Not Found
  • 2147942402 (0x80070002) File Not Found
  • 2147942403 (0x80070003) Path Not Found
  • 2147942405 (0x80070005) Access Denied
  • 2148467251 (0x800F0233) Invalid Target
  • 2150105198 (0x8028006E) Invalid Source Path
  • 1459 (0x000005B3) Requires Interactive Workstation
  • 1460 (0x000005B4) Timeout
  • 3758096948 (0xE0000234) Driver Non-native
  • 3758096966 (0xE0000246) Deice Installer Not Ready

For a complete list of Win32 error codes, see https://go.microsoft.com/fwlink/?LinkID=82270 on the Microsoft Web site. A list of SetupAPI error codes can be found in the SetupAPI.h file that is included with the Windows Driver Kit. For more information, see "DDK-Windows Driver Development Kit" at https://go.microsoft.com/fwlink/? LinkId=59546 on the Microsoft Web site.

0 (0x00000000) Installation Successful

Cause

The device driver installed successfully.

Solution

There is no error condition reported. No action is required.

2 (0x00000002) File Not Found

Cause

Windows did not find one or more files in the device driver package, as referenced in the .inf file. This error can occur:

  • If the complete device driver package is not copied from the vendor-provided media to the folder location used for installation by the computer.
  • If the original .inf file was edited to customize the installation, then there likely is an error in referencing one or more of the required files.

Solution

  • Ensure that the complete device driver package is copied to the destination folder used for installation by the computer.
  • If you customize the .inf file, then ensure that all references to files in the .inf file point to the correct folders containing the device driver package files.

2147942402 (0x80070002) File Not Found

Cause

Windows did not find one or more files in the device driver package, as referenced in the .inf file. This error can occur:

  • If the complete device driver package is not copied from the vendor-provided media to the folder location used for installation by the computer.
  • If the original .inf file was edited to customize the installation, then there likely is an error in referencing one or more of the required files.

Solution

  • Ensure that the complete device driver package is copied to the folder location used for installatation by the computer.
  • If you customize the .inf file, then ensure that all references to files in the .inf file point to the correct folders containing the device driver package files.

2147942403 (0x80070003) Path Not Found

Cause

Windows did not find one of the folders referenced in the .inf file. This error can occur:

  • If the complete device driver package is not copied from the vendor-provided media to the folder location used for installation by the computer.
  • If the original .inf file was edited to customize the installation, then there likely is an error in referencing one or more of the required folders.

Solution

  • Ensure that the complete device driver package is copied to the folder location used for installatation by the computer.
  • If you customize the .inf file, then ensure that all references to folders in the .inf file point to the correct folders containing the device driver package files.

2147942405 (0x80070005) Access Denied

Cause

File or folder permissions prevented Windows from either reading files from the source location or writing them to the installation destination.

Solution

  • If you share device driver packages to client computers from a folder or network share, then ensure that users have read permissions to the appropriate folder location.
  • By default, only members of the Administrators group have permission to copy device driver files to the protected driver store folder from which they are installed. To delegate installation rights for specific device classes to standard users, see the Device Management and Installation Operations Guide at https://go.microsoft.com/fwlink/?linkid=63117 on the Microsoft Web site.

2148467251 (0x800F0233) Invalid Target

Cause

This error is usually the result of incorrectly editing the .inf file that controls the installation of the device driver. If you did not edit the .inf file, then contact the vendor of the device for an updated device driver package.

Solution

Ensure that the tag-file value that is specified in the [SourceDisksNames] section of the .inf file is correct, including subfolder references. Use only relative paths, not absolute paths such as c:\folder1 \... that might not exist on the client computer.

2150105198 (0x8028006E) Invalid Source Path

Cause

This error is usually the result of incorrectly editing the .inf file that controls the installation of the device driver. If you did not edit the .inf file, then contact the vendor of the device for an updated device driver package.

Solution

Ensure that the subdir value that is specified in the [SourceDisksFiles] section of the .inf file correctly lists a subfolder in the top-most folder of the device driver package.

1459 (0x000005B3) Requires Interactive Workstation

Cause

The installation was started in a non-interactive context, such as when a user is not currently logged on to the computer. If the device driver installation package requires the user to answer any dialog box prompts, then it will fail if started in a non-interactive session. Most device driver installation packages can be started by using a parameter that specifies an answer file, or by using a command-line parameter that indicates a "silent" install.

Solution

Refer to the documentation provided by the device manufacturer for options to make the device driver installer work in a non-interactive manner. If the device driver installer cannot be made to work non-interactively, then it must be installed by a user logged on to the computer in order to answer the prompts displayed by the installer.

1460 (0x000005B4) Timeout

Cause

Plug and Play times out if device installation takes more than five minutes.

Solution

Investigate any performance issues on the computer that might delay installation processes to the point where they take longer than five minutes. Close other applications, or install the device immediately after restarting the computer so that maximum resources are available and there is minimum competition with other processes.

3758096948 (0xE0000234) Non-native Driver

Cause

The device driver package you are attempting to install is for a different and incompatible type of processor than the one installed on the computer (such as x86 versus x64).

Solution

Ensure that the device driver package is compatible with the processor type in your computer.

To determine the processor type in your computer

  1. Click Start, then in the Start Search text box type msinfo32 and press ENTER.
  2. In the left-hand pane, click System Summary at the top of the tree.
  3. In the details pane, look at the item System Type.

3758096966 (0xE0000246) Device Installer Not Ready

Cause

A class installer or a co-installer for a device cannot run because a component on which it depends did not run.

Solution

  • If you have not modified the device driver package yourself, contact the manufacturer of the device or the driver package to obtain an updated driver package.
  • If you customized the device driver package for your deployment, see the Windows Driver Kit at https://go.microsoft.com/fwlink/?LinkId=59546 on the Microsoft Web site.

Verify

After the installation is completed, examine the event log for a new Event ID 20001 message for the same device.

If the new event has a status code of 0, it indicates a successful installation.

Device Installation

Core Operating System