Device Manager Code 38 — Previous Driver Instance Still in Memory
| Code | Code 38 |
|---|---|
| Applies to | Windows device (any brand) |
| Severity | User-fixable |
| Most common cause | A 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
- A driver update or uninstall did not fully unload the old driver from memory
- The device was re-plugged or re-enabled while its previous driver instance was still active
- A crashed driver left its previous instance resident
How to fix it — step by step
- 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.
- 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
- Code 37 — Windows cannot initialise the device driver for this hardware — the driver loaded but its start-up routine failed.
- Code 39 — Windows cannot load the device driver for this hardware — the driver file is corrupted or missing.
- Code 14 — This device cannot work properly until you restart your computer — a driver change is waiting for a reboot to take effect.
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.