0XC0000141

Fix STATUS_INVALID_ADDRESS (0XC0000141) error

This error means Windows can't use a memory address it needs. Usually from bad drivers or corrupted system files. Start with easy fix first.

What is STATUS_INVALID_ADDRESS (0XC0000141)?

This error pops up when Windows tries to use a memory address that doesn't belong to it. Think of it like giving someone a wrong house key — the lock won't open. I've seen this most often after a driver update gone wrong, or when a game or heavy app crashes hard.

You'll see it as a blue screen (BSOD) or as a message in Event Viewer. The exact code is 0xC0000141. Don't panic — most times it's fixable in under 10 minutes.

Fix 1: Restart your PC and check for Windows updates (30 seconds)

I know this sounds too simple. But I can't count how many times a clean restart clears a temporary memory conflict. Do it now:

  1. Click Start, then the Power icon.
  2. Choose Restart — not Shut down.
  3. Once back in Windows, go to Settings > Windows Update and click Check for updates.
  4. Install any pending updates, especially driver ones.

If the error doesn't come back, you're done. If it does, move to the next fix.

Fix 2: Run System File Checker and DISM (5 minutes)

This error often means Windows system files are broken. Here's how to scan and fix them:

  1. Press Windows + X and choose Windows Terminal (Admin) or Command Prompt (Admin).
  2. Type this and press Enter:
sfc /scannow

Wait for the scan to finish — it can take 10-15 minutes. If it finds errors but can't fix them, run DISM next:

DISM /Online /Cleanup-Image /RestoreHealth

After DISM finishes, run sfc /scannow again. Then restart your PC.

Most people stop here and the error goes away. If it's still there, we need to dig deeper.

Fix 3: Roll back or update your network drivers (15+ minutes)

This error often ties to network drivers — especially Realtek or Intel Ethernet adapters. I've seen it after a Windows 11 update that borked the driver. Here's what to do:

  1. Press Windows + X and choose Device Manager.
  2. Expand Network adapters.
  3. Right-click your main network card (usually Realtek PCIe GbE or Intel Ethernet) and choose Properties.
  4. Go to the Driver tab.
  5. Click Roll Back Driver if it's available. If not, click Update Driver > Browse my computer for drivers > Let me pick from a list. Choose an older driver from the list.

If that doesn't work, uninstall the driver completely (check the box that says Delete the driver software for this device), then restart. Windows will reinstall a clean driver.

Fix 4: Run a memory test (30+ minutes)

Sometimes the error means faulty RAM. Here's how to check:

  1. Press Windows + R, type mdsched.exe, and hit Enter.
  2. Choose Restart now and check for problems.
  3. Your PC will reboot and run the Windows Memory Diagnostic. Let it finish — it takes 20-30 minutes.
  4. When it's done, Windows boots up and shows you the results in a notification. If it finds errors, your RAM is bad and needs replacing.

I've only seen this in maybe 1 in 10 cases. But it's worth ruling out.

Fix 5: Reset TCP/IP stack (15 minutes)

This is a deeper network fix. Open Command Prompt as admin again and run these commands one by one:

netsh int ip reset
netsh winsock reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns

After each one, press Enter. Then restart your PC. This clears out corrupted network settings that can trigger the address error.

When to give up and reinstall Windows

If none of the above worked, your Windows installation might be too damaged to repair. Before you nuke it, try a repair install using the Windows Media Creation Tool — it keeps your files but replaces system files. Google "Windows 10 repair install" for steps. It's the last thing I recommend before a full reset.

Pro tip: Always back up your important files before any repair. A cheap external drive or cloud backup saves you from losing everything.

That's it. Start with the restart, then work your way down. You got this.

Related Errors in Windows Errors
0X00000781 Fix ERROR_CANT_RESOLVE_FILENAME (0x00000781) on Windows 10/11 0X80040166 Fix CLSID 0X80040166 (CS_E_CLASS_NOTFOUND) in 3 steps 0X00040130 Fix FORMATETC 0X00040130: Clipboard Data Same Error in Windows 0X000036B6 ERROR_SXS_ACTIVATION_CONTEXT_DISABLED Fix: 0x000036B6

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.