Skip to content

DEVICE MANAGER ERROR · CM_PROB_FAILED_DRIVER_ENTRY

Code 37: Windows Cannot Initialize the Device Driver

The driver failed in its very first routine, the one Windows calls when it loads the driver, before it could take charge of any device.

WHAT WINDOWS SHOWS

Windows cannot initialize the device driver for this hardware. (Code 37)

Wording from Microsoft's documentation for CM_PROB_FAILED_DRIVER_ENTRY. Device Manager shows it on the General tab of the device's Properties.

TECHNICAL SUMMARY

Code37
Windows nameCM_PROB_FAILED_DRIVER_ENTRY
Where you see itDevice Manager > the device's Properties > General > Device status
In Tweaky DriverNeeds attention

What causes Code 37

  • The driver returned a failure from its DriverEntry routine (Microsoft Learn).
  • Microsoft adds that when that failure is "insufficient resources", Device Manager shows Code 3 instead.

How to fix Code 37, safest step first

The steps follow Microsoft's recommended resolution for this code, in its order, with a reversible step first. Each one says how to put back what it changed.

  1. Before you change anything: note the driver and make a restore point

    Open the device's Properties > Driver tab and write down the driver provider, date and version. Then select Start, type Create a restore point, open it, and on the System Protection tab choose Create. Microsoft notes that System Protection is not turned on by default; if Create is greyed out, choose Configure and turn it on for the system drive first.

    To undo: A restore point changes nothing by itself. To go back later, run System Restore and pick it: Microsoft says it reverts system files, the registry and installed programs, and leaves your personal files alone.

  2. If it started after a driver update, roll the driver back

    In Device Manager, right-click the device, choose Properties, open the Driver tab and select Roll Back Driver, then give a reason and confirm. Microsoft notes that you need administrator rights, and that going back to the previous driver often fixes a problem that appeared after an update. The button is greyed out when Windows kept no earlier driver for the device.

    To undo: Rolling back is the undo for the update. To return to the newer driver, install it again with Update driver or from the manufacturer's package.

  3. Reinstall the driver (Microsoft's recommended fix)

    In Device Manager, right-click the device and choose Uninstall device, confirm, then choose Action > Scan for hardware changes (or restart). Windows detects the device again and installs a driver for it. Keep the manufacturer's driver package to hand first: Windows may ask for it if it has no driver of its own.

    To undo: If Windows puts back a driver you did not want, use Roll Back Driver when it is offered, or install the driver you kept. The restore point from the first step brings back the whole driver configuration.

  4. Get a driver from the hardware manufacturer

    Download the current driver for your exact model from the manufacturer's support page and install it. Microsoft's recommendation for this code is to reinstall or obtain a new driver.

    To undo: Roll Back Driver on the Driver tab returns to the driver you had, or apply the restore point.

Check it yourself

  1. List every device with this code (Command Prompt or PowerShell)

    Available from Windows 10, version 1903. Each device is listed with its instance ID and the problem code with its name, CM_PROB_FAILED_DRIVER_ENTRY. No administrator rights needed; nothing is changed.

    pnputil /enum-devices /problem 37
    cmd
  2. Or with PowerShell

    Device Manager shows the same code on the General tab of the device's Properties, in the Device status box.

    Get-PnpDevice | Where-Object { [int]$_.ConfigManagerErrorCode -eq 37 } |
      Format-Table Status, Class, FriendlyName, Problem
    PowerShell

What Tweaky Driver does with Code 37

Needs attention

Tweaky Driver lists a Code 37 device under Diagnostics > Devices as Needs attention, with its code. It offers no driver for a device in this state; its repair offers through Windows Update cover Codes 10 and 43 only.

Tweaky Driver, the driver checker that shows its sources — free for Windows 10 and 11.

Common questions

What is DriverEntry?

The first routine Windows runs in a driver when it loads it. Code 37 means that routine reported a failure, so the driver never got as far as the device.

How is Code 37 different from Code 39?

With Code 39 Windows could not load the driver file at all. With Code 37 the file loaded, then failed during its own initialisation.

How do I fix Code 37?

Microsoft's advice is to reinstall the driver or obtain a new one. Roll back first if it began after a driver update.