How to Fix System Error 6118 on Windows 11: Complete Steps to Solve the Issue

System Error 6118 on Windows 11 usually occurs when the system’s firewall blocks certain network commands. This error can prevent you from using the “net view” command to see other computers on your network. It can be frustrating, especially if you need to access shared files or devices.

Fortunately, fixing this error is often straightforward. You don’t need advanced technical skills to follow the steps outlined here. We will guide you through simple solutions to get your network working smoothly again.

Before diving into detailed troubleshooting, it’s important to understand the basics of why this error appears. It’s mostly related to Windows Firewall settings and network discovery options.

Let’s start with some quick checks to save time and effort.

Quick Note: Prerequisites and Initial Checks

  • Check your network connection: Make sure your computer is connected to the correct network (Wi-Fi or Ethernet).
  • Verify network profile: Your network should be set as “Private” and not “Public” for easier device discovery.
  • Run Command Prompt as Administrator: Some commands require admin rights to work properly.
  • Ensure other devices are on and connected: The computers or devices you want to see must be powered on and connected to the same network.

Step 1: Change Your Network Profile to Private

Windows treats networks differently based on their profile. Public networks restrict sharing and discovery to protect your device. Setting your network to Private allows your PC to discover other devices.

  1. Click on the Start button and select Settings.
  2. Go to Network & Internet.
  3. Select Wi-Fi or Ethernet, depending on your connection.
  4. Click on the network you are connected to.
  5. Find the option labeled Network profile and select Private.

Changing the network profile to Private enables your PC to be discoverable and is the first step in resolving Error 6118.

Step 2: Enable Network Discovery and File Sharing

Network Discovery allows your PC to find other devices on the network and be found by them. File Sharing lets you share files and printers. Both should be enabled to fix this error.

  1. Open the Control Panel (search for it in the Start menu).
  2. Click on Network and Internet then Network and Sharing Center.
  3. On the left side, click Change advanced sharing settings.
  4. Under the Private network section, select Turn on network discovery.
  5. Also select Turn on file and printer sharing.
  6. Click Save changes at the bottom.

These settings ensure that your PC can communicate and share resources with other devices on the same network.

Step 3: Allow File and Printer Sharing Through Windows Firewall

Windows Firewall can block network traffic needed for the “net view” command. To fix this, you need to allow File and Printer Sharing explicitly.

  1. Press Win + R, type control firewall.cpl, and press Enter to open Windows Defender Firewall.
  2. Click on Allow an app or feature through Windows Defender Firewall on the left.
  3. Click the Change settings button (you may need administrator permission).
  4. Scroll down and find File and Printer Sharing.
  5. Make sure both Private and Public checkboxes are checked.
  6. Click OK to save your changes.

Allowing this through the firewall opens the necessary ports and protocols for network discovery and sharing.

Step 4: Restart the “Function Discovery Provider Host” and “Function Discovery Resource Publication” Services

These services help your PC find and be found by other devices on the network. Restarting them can resolve many network discovery issues.

  1. Press Win + R, type services.msc, and press Enter.
  2. In the Services window, scroll down to find Function Discovery Provider Host.
  3. Right-click it and choose Restart. If it’s not running, select Start.
  4. Do the same for Function Discovery Resource Publication.
  5. After restarting, close the Services window.

These services must be running for network devices to appear when using commands like “net view”.

Alternative Method: Using Windows PowerShell to Reset Network Settings

If the above steps don’t work, you can reset your network settings using PowerShell. This method clears and rebuilds network configurations, which can fix deeper issues.

  1. Press Win + X and select Windows Terminal (Admin) or Windows PowerShell (Admin).
  2. Type the following commands one by one and press Enter after each:
netsh int ip reset
netsh advfirewall reset
ipconfig /flushdns

Restart your computer after running these commands. This resets IP settings, firewall rules, and DNS cache, which can resolve persistent network errors.

Frequently Asked Questions (FAQs)

What exactly is System Error 6118?

System Error 6118 means the “net view” command cannot list network computers due to firewall or network discovery restrictions.

Is it safe to disable the firewall to fix this error?

Temporarily disabling the firewall can help test if it’s the cause, but it’s not recommended as a permanent solution. Instead, allow specific apps or features through the firewall.

Why should my network be set to Private instead of Public?

Private networks enable device discovery and sharing, whereas Public networks block these features to enhance security.

Can this error affect just one PC or the entire network?

Usually, it affects the PC running the command. If other devices are properly configured, they should still communicate correctly.

Do I need administrator rights to fix this error?

Yes, some steps require administrator privileges to change firewall and network settings.

When Nothing Works: Final Options

If you’ve tried all the above steps and still see System Error 6118, consider these options:

  • Update Windows: Make sure your system has the latest updates, as Microsoft often fixes network bugs in patches.
  • Check for third-party firewall or antivirus software: These can block network discovery. Temporarily disable or configure them to allow network traffic.
  • Use Microsoft’s official support: Visit the Microsoft Support website for advanced guides or to contact support.
  • Reset your PC’s network settings completely: Go to Settings > Network & Internet > Advanced network settings > Network reset.

Conclusion

System Error 6118 on Windows 11 is commonly caused by firewall restrictions or incorrect network settings. By setting your network profile to Private, enabling network discovery and file sharing, and allowing File and Printer Sharing through the firewall, you can often fix this issue quickly.

Restarting essential services and resetting network configurations are effective solutions if the basic steps don’t solve the problem. Always ensure your PC is up to date and consider any third-party security software that might interfere.

Following these detailed steps carefully will help you restore smooth communication across your network and eliminate the System Error 6118 once and for all.

Leave a Reply