Device Manager Code 47 — Prepared for Safe Removal but Not Removed
| Code | Code 47 |
|---|---|
| Applies to | Windows device (any brand) |
| Severity | User-fixable |
| Most common cause | You clicked 'Safely Remove Hardware' / Eject but left the device plugged in |
What this code means
Code 47: 'Windows cannot use this hardware device because it has been prepared for safe removal, but it has not been removed from the computer.' You (or a program) clicked Eject, Windows politely shut the device down and parked it — and then the device never actually left.
While parked, Windows will not use the device even though it is sitting there plugged in. It is a state mismatch, not a failure, and completing the removal you started is the whole fix.
Likely causes
- You clicked 'Safely Remove Hardware' / Eject but left the device plugged in
- An application ejected the device but the removal was never completed physically
- The device was re-powered while still in the prepared-for-removal state
How to fix it — step by step
- Unplug it and plug it back in
Unplug the device, wait ten seconds, and plug it back in. Windows detects it fresh and the code clears. This is the fix in almost every case.
- Restart if you can't unplug it
If the device is internal or cannot be unplugged, restart the PC — the prepared-for-removal state does not survive a boot.
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?
No. No. The device is parked by the removal process, not broken. Physically completing the removal (or restarting) releases it.
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 45 — Currently, this hardware device is not connected to the computer — an informational status, not a fault.
- Code 21 — Windows is removing this device — a temporary state shown while a device is being uninstalled or reconfigured.
- Code 44 — An application or service has shut down this hardware device — software switched it off; it did not fail.
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.