Quick answer
Run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth in an elevated Command Prompt, then restart. If that doesn't stick, update your chipset and GPU drivers—especially after a Windows update.
What's really happening here?
ERROR_INVALID_ADDRESS (0x1E7) is the Windows way of saying a process tried to read or write to a memory address it doesn't have permission to touch. It's not a hardware fault, not a RAM stick going bad—it's a software bug or a driver that's gone rogue. The program thinks it owns that address space, but the OS says otherwise. This often pops up right after a Windows feature update, when a driver didn't get migrated properly, or when you're running an older app that was never meant for 64-bit memory layouts.
Think of it like this: you're at a party, you grab a drink from the table, but the drink belongs to someone else. Windows is the bouncer who yanks your hand away. The fix is either telling the bouncer to relax (via compatibility settings) or making sure you're not accidentally grabbing someone else's cup (driver mismatch).
I've seen this on Windows 10 21H2 and 22H2, and it's started showing up on Windows 11 23H2 too. The usual suspects: outdated Realtek network drivers, old NVIDIA or AMD GPU drivers, or third-party antivirus hooks that conflict with memory mapping.
Let's fix it step by step.
Step 1: Run System File Checker and DISM
Corrupted system files are the number one cause of this error. The scan takes about 15 minutes, but it's the safest first move.
- Press
Win + Xand pick Terminal (Admin) or Command Prompt (Admin). - Type
sfc /scannowand press Enter. Let it finish. - Then run
DISM /Online /Cleanup-Image /RestoreHealthand wait for the operation to complete. - Restart your PC.
If the error disappears, you're done. If it comes back, move on.
Step 2: Update chipset and GPU drivers
A driver that doesn't match the Windows memory manager is like a key that fits the lock but won't turn. This is especially common after a feature update.
- Go to your motherboard manufacturer's site (Intel, AMD, ASUS, etc.) and download the latest chipset drivers. Don't rely on Windows Update for these—Microsoft often ships older versions.
- Update your GPU driver using the official tool (GeForce Experience for NVIDIA, Adrenalin for AMD).
- If you're on a laptop, check the OEM site too (Dell, HP, Lenovo) for any hotfix drivers.
Step 3: Disable Data Execution Prevention for the faulty app (temporary fix)
If the error only happens with one specific program, you can tell Windows to stop enforcing DEP for that program. It weakens security, so only do this if you trust the software.
- Press
Win + R, typesysdm.cpl, and hit Enter. - Go to Advanced tab → Settings under Performance.
- Click the Data Execution Prevention tab.
- Select Turn on DEP for all programs and services except those I select.
- Click Add and browse to the .exe that's throwing the error.
- Apply and restart.
This is a band-aid, not a cure. If the error persists, you've got a deeper driver or app issue.
Step 4: Run the app in compatibility mode
Some older apps (think pre-2015) assume a 32-bit memory model. Windows 10/11 can emulate that if you flip a switch.
- Right-click the program's shortcut → Properties.
- Go to the Compatibility tab.
- Check Run this program in compatibility mode for: and choose Windows 7 or Windows 8.
- Also check Run this program as an administrator.
- Apply and test.
I've seen this fix work wonders for old CAD tools and some legacy business apps.
When the above fails: Check for faulty RAM anyway
I said it's not a hardware fault, but occasionally it is. If you're overclocking your RAM or running XMP profiles, that can cause intermittent memory misbehavior that manifests as this error.
- Enter your BIOS/UEFI (usually pressing Delete or F2 during boot).
- Load the Optimized Defaults profile.
- If your RAM was overclocked, set it back to the default JEDEC speed (e.g., 2133MHz or 2400MHz).
- Run a memory test: type
mdsched.exein the Run box, choose Restart now and check for problems.
Let it run the extended test. If it finds errors, replace the faulty stick. If not, move on.
Prevention: Keep your stack aligned
The single best tip: never skip driver updates after a Windows feature update. I know, Windows Update nags you to reboot, but give it 20 minutes to pull the fresh chipset drivers from the manufacturer. Also, uninstall unused third-party antivirus tools—Windows Defender is plenty unless you're in a high-risk environment.
If this error keeps showing up across different apps, check your Windows event logs (Event Viewer → Windows Logs → System) for the exact process name. That tells you which driver or DLL is misbehaving. Then you can search for that specific file.
This error is annoying, but it's fixable. Start with the System File Checker, update your drivers, and only resort to compatibility flags when you're sure the app is the culprit. Good luck.