1. Home
  2. Microsoft
  3. Windows
  4. How to Fix Windows System Error Code ERROR_228: A Step-by-Step Guide

How to Fix Windows System Error Code ERROR_228: A Step-by-Step Guide


If you’ve encountered Windows System Error Code ERROR_228, you’re not alone. This frustrating error can disrupt your workflow and leave you searching for answers. But don’t worry — in this detailed, easy-to-follow guide, we’ll walk you through everything you need to know to fix ERROR_228 quickly and effectively.


What is Windows System Error Code ERROR_228?

Before we dive into the solutions, let’s understand what ERROR_228 actually means. This error code usually reads:

“ERROR_228: The pipe is being closed.”

It typically occurs when an application or system service is trying to communicate via Inter-Process Communication (IPC) using named pipes, but the pipe connection is unexpectedly closed or disrupted.

Common causes include:

  • An application unexpectedly terminating the pipe connection
  • Network or system interruptions
  • Corrupt system files or registry entries
  • Conflicts with third-party software

Now that you have some context, let’s get you back on track.


Step 1: Restart Your Computer

Often, the simplest fix can be the most effective. Restarting your computer resets many background services and can clear up temporary glitches causing ERROR_228.

  1. Save your work.
  2. Click Start > Power > Restart.
  3. Once your system restarts, try running the affected program again.

If the error persists, move on to step 2.


Step 2: Run the System File Checker (SFC) Tool

Corrupted or missing system files can lead to error codes like ERROR_228. The built-in System File Checker scans for and repairs these files.

  1. Press Windows Key + S, type cmd.
  2. Right-click Command Prompt and select Run as administrator.
  3. Type the following command and press Enter:

    sfc /scannow

  4. The scan may take several minutes. Let it complete without interruption.
  5. Once done, restart your computer and check if the error still appears.


Step 3: Check for Software Conflicts

Third-party applications or antivirus software can interfere with system processes, leading to the pipe being closed unexpectedly.

  • Temporarily disable your antivirus/firewall:

    • Right-click the antivirus icon in the system tray.
    • Choose Pause protection or Disable temporarily.
  • Close unnecessary background applications:

    • Press Ctrl + Shift + Esc to open Task Manager.
    • Review running applications and end any non-essential tasks.

Try running the problematic program again. If disabling a particular app or antivirus solves the error, consider whitelisting the app or reinstalling your antivirus.


Step 4: Update Windows and Device Drivers

Outdated or incompatible drivers and Windows updates can cause communication issues within the system.

  1. Click Start > Settings > Update & Security > Windows Update.
  2. Click Check for updates and install any available updates.
  3. Restart your PC.
  4. Update your drivers:

    • Press Windows Key + X and select Device Manager.
    • Expand categories and right-click on your devices.
    • Choose Update driver and follow the prompts.


Step 5: Use Event Viewer for Detailed Diagnostics

The Windows Event Viewer provides logs that reveal what caused ERROR_228.

  1. Press Windows Key + X, select Event Viewer.
  2. Navigate to Windows Logs > System.
  3. Look for error messages around the time ERROR_228 occurred.
  4. Note any related errors and use them to narrow down the cause (e.g., a specific program or service failure).


Step 6: Repair the Registry (With Caution)

Sometimes, errors are caused by registry corruption related to named pipes.

Important: Editing the registry incorrectly can cause serious issues. Always backup the registry first.

  • To back up your registry:

    1. Press Windows Key + R, type regedit, and press Enter.
    2. Click File > Export.
    3. Save the backup with a memorable name.

  • To repair entries:

    1. Within Registry Editor, navigate to keys related to named pipes, often under:

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\

    2. Look for suspicious or missing entries.
    3. If unsure, consult with IT professionals or use trusted registry cleaner tools.


Step 7: Reinstall the Problematic Application

If ERROR_228 occurs only when running a specific app, try reinstalling it:

  1. Click Start > Settings > Apps.
  2. Find the application, click it, and select Uninstall.
  3. Restart your PC.
  4. Download the latest version of the software from the official website and install it.


Final Thoughts

Windows System Error Code ERROR_228 can be tricky, but with patience and these step-by-step instructions, you can resolve the issue and get your system back to normal. Remember, regularly updating your system, backing up your data, and running diagnostics tools help prevent such errors in the future.

If all else fails, don’t hesitate to reach out to Microsoft Support or a trusted IT specialist.


FAQs About ERROR_228

Q: Is ERROR_228 related to hardware failure?
A: Generally, it’s a software communication error, but hardware issues causing system instability can indirectly cause this.

Q: Can a virus cause ERROR_228?
A: Yes, malware that interferes with system processes can trigger this error.

Q: How often should I run system maintenance tools?
A: Monthly checks for updates, disk cleanup, and system scans keep your PC running smoothly.


Thanks for reading! Feel free to share if this guide helped you fix ERROR_228 or if you have any questions — we’re here to help!

Updated on June 21, 2025
Was this article helpful?

Related Articles

Leave a Comment