0x00000017: How to Fix CID_HANDLE_DELETION Error
0x00000017 BSOD is usually fixed by triaging the trigger: crashes after a driver change point to driver rollback or removal, file-check failures point to system repair, and boot-only failures point to BCD or disk-startup fixes. I’ve seen people guess here, pick the wrong repair path, and turn a system that still had options into a reboot loop. This guide maps symptoms to the right checks and repair steps, including Safe Mode and WinRE paths. A common first step is to boot into Safe Mode from Advanced startup or after repeated failed boots, then roll back or uninstall the most recent driver, update, or utility added before the crash.
What does 0x00000017 mean on Windows?
Treat this stop code as a sorting job first. Ask one thing first: does it hit during startup or only after sign-in? That answer tells you if desktop tools are still in play or if you need recovery tools before Windows fully loads. It may also block access to Windows successfully, so the first repair path is often limited boot or recovery access rather than normal desktop work.
Plain-language triage: boot-time vs post-login
If the system crashes before the sign-in screen, start with startup repair paths, Safe Mode, and recovery tools. If it crashes after login, check recent driver, software, or file-corruption changes first. MiniTool notes that the issue can occur randomly or after installing a new device driver, which is why recent changes belong at the top of the checklist.
Code mix-up to avoid
Important: 0x00000017 is CID_HANDLE_DELETION (per Microsoft support). It is not the same as 0xC0000017, which Microsoft labels Status No Memory and says can appear in Windows Boot Manager or on the Recovery screen. If a repair guide mentions 0xC0000017, it may be solving a different problem. (partitionwizard.com) (Microsoft Learn)
Before making higher-risk changes
If File Explorer still opens, copy current work and irreplaceable files to external storage before uninstalling drivers, rolling back updates, or using restore tools. Keep that step brief. The job here is to pick the right repair path, fast.
Likely causes of 0x00000017, ranked by probability
1. Recent driver change or faulty device driver
- Open Device Manager: right-click Start > Device Manager.
- Check for devices with a yellow exclamation mark.
- Open the device most recently changed: right-click it > Properties > Driver.
- Use Roll Back Driver if available. If not, choose Uninstall Device, restart, and let Windows reload the driver.
- If the crash began after a manual driver install, use Update driver only after rollback or uninstall fails.
Faulty or outdated device drivers are one of the most common causes listed for this stop code, especially when the BSOD starts right after a driver change (per MiniTool).
2. Corrupted system files or Windows image damage
- Open Command Prompt as admin: right-click Start > Terminal (Admin) on Windows 11, or Command Prompt (Admin) on Windows 10.
- Run:
sfc /scannow - If SFC reports it found errors it could not repair, run:
DISM /Online /Cleanup-Image /RestoreHealth - Run
sfc /scannowagain after DISM finishes.
Corrupted system files are another listed cause, and SFC plus DISM are standard first-line checks when the crash is not clearly tied to a driver event. In practice, I run sfc /scannow from an elevated Terminal or Command Prompt and read the result before moving on (per MiniTool).
3. Recent software, malware, or startup-component damage
- Open Settings > Apps > Installed apps on Windows 11, or Settings > Apps > Apps & features on Windows 10.
- Sort by install date and remove the app, utility, or security tool added just before the BSOD began.
- Run a malware scan with the security tool already installed on the PC, for example Windows Security > Virus & threat protection > Quick scan, if the timing matches suspicious downloads, browser redirects, or disabled security tools.
- If crashes started after a Windows change, use System Restore to return to a known-good point.
This path moves up the list when the crash appears after a new utility, startup tweak, or malware warning rather than after hardware-driver work.
4. RAM instability or storage corruption
- Press Win + R, type mdsched.exe, and press Enter.
- Choose Restart now and check for problems.
- After restart, watch for repeat freezes, file-copy failures, or disk-related errors in Event Viewer once Windows is usable again.
- If storage symptoms appear, open an elevated Command Prompt and run:
chkdsk
RAM or disk issues are less common than driver or file damage here, but they fit when crashes are random and also come with freezes, file errors, or unstable app installs. MiniTool recommends Windows Memory Diagnostic for this check.
0x00000017 triage matrix: match the symptom to the first fix
| Symptom pattern | Most likely cause | First-line fix | When to escalate to offline recovery or reinstall |
|---|---|---|---|
| BSOD starts right after a driver or Windows update change | Faulty driver | Boot Safe Mode, then Device Manager rollback or uninstall | Go to WinRE if Safe Mode will not load or the crash now happens before sign-in |
| Crash appears during boot and desktop tools never open | Startup-component or file damage | WinRE > Startup Repair, then Safe Mode if available | Use System Restore or prepare repair install if Startup Repair and Safe Mode both fail |
| Crash returns after login while opening apps or using hardware | Driver or recent software conflict | Remove the new app or device driver, then retest | Run SFC and DISM if rollback does not change the pattern |
| Crashes are random, with freezes, file errors, or failed copies | RAM instability or storage corruption | Run mdsched.exe, then chkdsk | Escalate to hardware testing or replacement if errors repeat after software repair |
| Security alerts, browser redirects, or disabled security tools appear before BSODs | Malware or damaged startup items | Uninstall the suspect utility, scan for malware, then use System Restore if needed | Use WinRE if the system becomes unbootable during cleanup |
Can bad drivers cause 0x00000017?
When the stop code starts right after a recent driver change, driver rollback is often a good first repair. Check Device Manager before file-repair tools, because SFC and DISM will not remove a bad third-party driver package.
Step 1: Enter Safe Mode if normal startup fails
- Open Settings > System > Recovery on Windows 11, or Settings > Update & Security > Recovery on Windows 10.
- Select Advanced startup > Restart now.
- Go to Troubleshoot > Advanced options > Startup Settings > Restart.
- Choose Safe Mode.
Step 2: Inspect Device Manager for clues
- Right-click Start > Device Manager.
- Look for a yellow exclamation mark.
- Open likely devices one by one: Properties > Driver.
- Check whether the driver date lines up with when the BSOD began.
Step 3: Roll back, uninstall, then test
- Use Roll Back Driver first when available.
- If rollback is unavailable, choose Uninstall Device and restart.
- Reconnect only one changed device at a time after boot.
- Retest the same action that used to trigger the crash.
MiniTool lists faulty or outdated drivers as a cause, and also notes the crash may appear after installing a new device driver.
Should I run SFC and DISM for 0x00000017?
Yes, but usually after the driver path has been checked unless the crash had no clear trigger or started after file corruption symptoms. Start with SFC first. If it reports unrepairable corruption or the stop code keeps returning, run DISM next, then run SFC again.
Step 1: Run SFC first
- Right-click Start > Terminal (Admin) on Windows 11 or Command Prompt (Admin) on Windows 10.
- Run:
sfc /scannow - Wait for the scan to finish fully before restarting.
Step 2: Run DISM when SFC is incomplete or ineffective
- In the same elevated window, run:
DISM /Online /Cleanup-Image /RestoreHealth - After DISM completes, run:
sfc /scannowagain. - Restart and test the same workload that caused the BSOD.
Step 3: If Windows will not stay booted
- Open WinRE: Troubleshoot > Advanced options > Command Prompt.
- Try
sfc /scannowthere if normal Windows access is unstable. - If Safe Mode becomes available afterward, complete the DISM step from that session.
MiniTool recommends running both SFC and DISM for this stop code.
Can malware, recent software, or startup changes trigger 0x00000017?
Yes. This path fits best when the BSOD began after installing a tuning tool, antivirus change, VPN client, low-level utility, or suspicious download. The right sequence is remove the trigger first, scan for malware if the timing fits, then use System Restore when uninstalling does not stop the crash.
Step 1: Remove the most recent software change
- Open Settings > Apps > Installed apps on Windows 11, or Settings > Apps > Apps & features on Windows 10.
- Sort by install date.
- Uninstall the newest system utility, security app, or device bundle added before the first BSOD.
Step 2: Use System Restore if the uninstall does not hold
- Open Control Panel > Recovery > Open System Restore.
- Choose a restore point from before the crash started.
- Complete the restore, then reboot and retest.
Can RAM or storage problems trigger 0x00000017?
They can, but they should usually be checked after driver and file-corruption paths unless the symptoms strongly point there. Random crashes, failed file copies, install errors, freezes before the BSOD, or repeat corruption after repair are the signs that move memory and storage higher in the queue.
Step 1: Test RAM with Windows Memory Diagnostic
- Press Win + R.
- Type mdsched.exe and press Enter.
- Select Restart now and check for problems.
- After Windows loads again, watch for repeat crashes under the same workload.
Step 2: Check whether storage symptoms fit better
- Open an elevated Command Prompt.
- Run:
chkdsk - Pay attention to freezes during file operations, failed app installs, or recurring corruption after SFC repair.
Step 3: Decide when hardware-adjacent instability is the real path
If memory testing reports issues, or if clean driver rollback plus SFC/DISM keeps ending in fresh corruption, move to hardware testing or replacement. MiniTool specifically recommends Windows Memory Diagnostic for this stop code.
What should I do if Windows will not boot because of 0x00000017?
Go straight to Windows Recovery Environment or a Windows USB installer and work from recovery tools first. Startup Repair is the quickest low-risk test. If that fails, try Safe Mode, Command Prompt access, and System Restore in that order before considering a repair install or a full reinstall.
Step 1: Enter WinRE or boot from a Windows USB
- Power on and open the recovery path available on the PC, or boot from a Windows USB.
- Select Repair your computer.
- Go to Troubleshoot > Advanced options.
Step 2: Try Startup Repair, then Safe Mode
- Select Startup Repair.
- If Windows still fails, return to Advanced options.
- Choose Startup Settings > Restart > Safe Mode.
Step 3: Use repair tools only in the order that fits the symptom
- If the crash followed a driver change, use Safe Mode and Device Manager first.
- If the crash had no clear trigger, use Command Prompt for an elevated
sfc /scannowscan from WinRE. - If the system was stable until a recent software or update change, use System Restore.
Because this stop code may prevent successful access to Windows, recovery tools matter more here than generic in-desktop fixes (per MiniTool).
Still not working?
If that didn’t work, follow this escalation ladder
- Driver rollback or uninstall if the stop code began after hardware or update changes.
- SFC, then DISM if no single driver stands out or file corruption is visible.
- Uninstall recent software and use System Restore if the timing matches a new app or startup tweak.
- WinRE Startup Repair if crashes are boot-only.
- In-place repair install if Windows can still start far enough to run setup.
- Clean install only after restore and offline repair paths fail.
Prevention
After the system is stable, avoid stacking multiple driver and utility changes in one session. Install one driver or low-level app at a time, restart, and confirm stability before adding the next change. That makes the next triage cycle much shorter if the stop code returns.
Frequently asked questions
Is 0x00000017 the same as CID_HANDLE_DELETION?
Yes. If the blue screen shows 0x00000017, it matches CID_HANDLE_DELETION. Do not confuse it with 0xC0000017, which is a different code. That mix-up sends many users to the wrong fixes, especially boot-manager repairs meant for memory-allocation errors rather than this stop code.
What causes stop code 0x00000017 on Windows?
The most likely causes are a recently changed driver, corrupted system files, a damaged Windows image, recent software that hooks into startup, malware in the right timing window, or less commonly RAM or storage instability. Start with the trigger that best matches when the crash began.
How do I fix error code 0x00000017 without reinstalling Windows?
Use the least invasive path that matches the symptom: Safe Mode and Device Manager for driver-triggered crashes, sfc /scannow then DISM /Online /Cleanup-Image /RestoreHealth for corruption, System Restore for recent software changes, and WinRE tools when Windows will not reach the desktop.
Why does 0x00000017 keep coming back after a restart?
Repeated returns usually mean the first repair did not touch the real trigger. A bad driver may reload at boot, corrupted files may remain after a partial SFC repair, or memory and storage issues may keep creating corruption. Re-check the symptom pattern before moving to the next repair.
What should I do if 0x00000017 will not let Windows boot?
Open WinRE or boot from a Windows USB, then try Startup Repair, Safe Mode, and System Restore in that order. If Safe Mode opens, use Device Manager for rollback and then run file checks. Save reinstall for the end of the ladder, not the beginning.
Does the fix differ on a Lenovo PC or another brand?
The repair path is the same on Lenovo, Dell, HP, ASUS, and custom-built systems because the stop code logic is in Windows. Brand-specific differences mainly affect how the machine enters recovery or boot menus. Once in Safe Mode or WinRE, the Windows steps stay the same.




