Device Manager Code 38 — Previous Driver Instance Still in Memory

Short answer: Windows cannot load the driver because a previous instance of it is still in memory — the old driver copy never unloaded.
CodeCode 38
Applies toWindows device (any brand)
SeverityUser-fixable
Most common causeA driver update or uninstall did not fully unload the old driver from memory

What this code means

Code 38: 'Windows cannot load the device driver for this hardware because a previous instance of the device driver is still in memory.' Windows keeps drivers in memory while they are in use; when a device is updated, replugged or restarted, the new driver instance cannot load until the old one leaves — and the old one has not left.

It is a stuck-state code rather than a corruption code, and it has the shortest fix list in this whole section: restart.

Likely causes

How to fix it — step by step

  1. Restart the computer

    Restart the PC. Driver memory is only cleared at boot, and Microsoft's resolution for Code 38 is exactly this: restart so the old instance is gone and the new one can load.

  2. If it returns every boot, reinstall once

    If Code 38 greets you at every boot, uninstall the device (tick 'Attempt to remove the driver'), restart, and install the manufacturer's current package once, cleanly.

If the code comes back after these steps, treat it as a hardware or service fault rather than a settings problem — that is the honest end of software troubleshooting for this code.

Is it a driver problem?

Rarely. Rarely — the driver file is fine; its previous copy is stuck in memory. A restart, which is the only way to clear driver memory, is the fix. Reinstall only if it returns after every boot.

Get the official driver or support for your device

If a fix above points you at a driver, get it from the manufacturer only:

Microsoft Support — Update drivers manually in Windows Opens support.microsoft.com

Printer, laptop or PC drivers by brand: HP · Dell · Lenovo · Acer · ASUS · Canon · Epson · Brother · Samsung printers

Related errors

Verified 2026-11-28 against: support.microsoft.com · www.pugetsystems.com. Meanings follow the manufacturers' and Microsoft's published documentation; where a code's meaning depends on the exact model, the page says so.