REFERENCE_BY_POINTER is one of the more technical-sounding blue screens, but the translation is simple: a driver made an accounting error with system memory objects, and Windows crashed rather than let the corruption spread. The good news buried in that: it’s almost always a driver bug, which means it’s fixable without replacing hardware.
The challenge is identifying which driver. Here’s the methodical way to do it.
It’s worth understanding why this particular stop code is so driver-specific. Reference counts are entirely a software bookkeeping concept — hardware faults corrupt data, but they don’t decrement counters. That’s why technicians treat REFERENCE_BY_POINTER as a near-certain driver bug from the start, and why the investigation focuses on recently installed or updated drivers, security software, and anything else that installed a kernel-mode component around the time the crashes began.
Why this happens
- Buggy third-party driver — a driver decrements an object reference count too many times; antivirus and network filter drivers are the classic offenders.
- Driver updated by Windows Update — the new version introduced (or exposed) the bug.
- Conflicting driver remnants — old and new driver components from different versions interacting badly.
- Corrupted driver files — disk errors or a bad install damaged the driver binary.
- Failing RAM — rare for this stop code, but memory corruption can mimic reference-count bugs.
- Rootkits or malware drivers — malicious kernel drivers are often badly written and trigger exactly this.
- Beta or unsigned drivers — pre-release drivers haven’t been through full validation.
How to fix it
Work through these in order. The goal of the first half is identification; the second half is elimination.
Fix 1: Read the crash dump to name the driver
Don’t guess when Windows recorded the answer.
- After a crash, open Event Viewer (Windows + R >
eventvwr.msc) > Windows Logs > System and find the BugCheck entry — note the parameters and any named file. - For the full picture, install WinDbg Preview from the Microsoft Store.
- In WinDbg: File > Start debugging > Open dump file > navigate to C:\Windows\Minidump and open the newest .dmp file.
- In the command box at the bottom, type
!analyze -vand press Enter. Read the MODULE_NAME / IMAGE_NAME lines — that’s your suspect. - If the dump consistently names the same third-party driver, skip to Fix 3 for that driver. If it names ntoskrnl.exe with varying blame, continue with Fix 2.
Fix 2: Deploy Driver Verifier against third-party drivers
Force the buggy driver to reveal itself.
- Press Windows + R, type
verifier.exe, press Enter. - Select Create standard settings > Next > Select driver names from a list.
- Sort by Provider and tick every driver NOT from Microsoft — focus on antivirus, network, audio, and storage filter drivers.
- Click Finish and restart. Use the laptop normally; Verifier will crash the system quickly when the bad driver misbehaves, and the blue screen will name it.
- After identifying it, boot into Safe Mode and run
verifier /resetin an admin Command Prompt to disable Verifier — don’t leave it running indefinitely.
Fix 3: Update, roll back, or remove the identified driver
Now act on what you found.
- In Device Manager (Windows + X), locate the device for the named driver.
- Properties > Driver tab: if the problem started recently, Roll Back Driver; otherwise Update driver > Search automatically for drivers.
- Better: download the latest driver from the hardware maker’s site (not Windows Update) and install it manually.
- If the driver belongs to software you don’t need (old VPN client, abandoned utility), uninstall the whole program via Settings > Apps > Installed apps.
- Restart and test for several days — reference-count bugs can be intermittent.
Fix 4: Remove antivirus and security filter drivers
If the dump is inconclusive, start with the most likely category.
- Uninstall your third-party antivirus completely via Settings > Apps > Installed apps. Disabling isn’t enough — the filter driver loads anyway.
- Restart and run on Microsoft Defender for a test period of 3–5 days.
- If crashes stop, the antivirus driver was the cause. Check the vendor’s site for a version certified for your exact Windows 11 build before reinstalling — or stay with Defender.
- Apply the same logic to VPN clients, endpoint protection, and “anti-cheat” drivers from games you no longer play.
Fix 5: Run a malware scan
Rule out malicious kernel drivers.
- In Windows Security (Settings > Privacy & security > Windows Security > Virus & threat protection), run a Full scan.
- Then run Microsoft Defender Offline scan (under Scan options) — it reboots into a clean environment that catches rootkits hiding from normal scans.
- Remove anything found, restart, and monitor. Malware drivers are a real (if uncommon) source of this stop code.
Fix 6: Repair system files and verify the disk
Clean up collateral damage.
- Open Terminal (Admin) and run:
DISM /Online /Cleanup-Image /RestoreHealththensfc /scannow. - Run
chkdsk C: /fto verify the file system — repeated crashes can corrupt the very driver files you’re trying to fix. - Restart and test.
Fix 7: Test RAM and reset if needed
The last checks for a stubborn case.
- Run
mdsched.exe(Windows + R) > Restart now and check for problems. Clean result? Good — this stop code is rarely RAM, but it’s cheap to rule out. - If everything passes and crashes persist, the pragmatic move is Settings > System > Recovery > Reset PC > Keep my files > Cloud download — a fresh driver set eliminates buried conflicts.
- After the reset, install drivers from your laptop maker’s site one at a time, testing between each, so a returning crash immediately identifies its source.
Closing
REFERENCE_BY_POINTER looks intimidating but it’s one of the most “honest” blue screens — a driver did the math wrong, and Windows kept receipts in the crash dump. Read the dump, verify with Driver Verifier, and remove or replace the offender. Antivirus and network filter drivers are guilty more often than not. For the step-by-step checklist version, see REFERENCE_BY_POINTER step by step , and for crashes that began specifically with a Windows update, REFERENCE_BY_POINTER after a Windows 11 update targets that scenario. Microsoft’s troubleshooting reference documents the official dump-analysis workflow if you want to go deeper.
