System error 6118 has occurred? Resolve it with these steps

Tashreef Shareef
by Tashreef Shareef
Windows & Software Expert
Download PDF
Affiliate Disclosure

New View Command Error

The NET view command allows the users to manage File Shares, Printer Shares, and sessions. However, while using the command several users have reported the System error 6118 has occurred error on the screen.

This error can occur due to several reasons including your antivirus and firewall configuration blocking the connection from connecting to the servers.


If you are also troubled by this error, here are a couple of troubleshooting tips to help you resolve the System error 6118 has occurred in Windows computers.

How do I fix System error 6118 has occurred error?

1. Disable firewall and antivirus

Disable Windows Defender Firewall

System error 6118 has occurred

  1. Click on Start and select Settings.
  2. Go to Update and Security.
  3. Click on Windows Security.
  4. Open Windows Firewall and Network Protection.
  5. Open the currently active network.
  6. Scroll down to the Windows Defender Firewall section.
  7. Toggle the switch to turn off Windows Defender Firewall.
  8. When prompted to confirm the action, click Yes.
  9. Do the same with other currently active networks.

Third-party firewall

System error 6118 has occurred

  1. If you have a third-party antivirus with a firewall installed, you may need to also disable it as well.
  2. Launch your antivirus program.
  3. Check if it comes with built-in firewall protection.
  4. Disable firewall protection.
  5. You may also want to disable the antivirus temporarily to completely disable anything that can be blocking the connection.
  6. Close the antivirus settings window and check if you are able to access the server using the Net View command.

After disabling the firewall, check if each PC is in the same workgroup. Next, ping PC2 from PC1 to make sure that the network is OK. Do the same with PC1 to PC2.

2. Reset the network stack

System error 6118 has occurred

  1. Press the Windows key.
  2. Type cmd, right-click on Command Prompt and select Run as administrator.
  3. In the Command Prompt, type the following command one by one and hit enter:
    ipconfig /release
    ipconfig /flushdns
    ipconfig /renew
    netsh winsock reset
    netsh interface ipv4 reset
    netsh interface ipv6 reset
    netsh winsock reset catalog
    netsh int ipv4 reset reset.log
    netsh int ipv6 reset reset.log
    netsh advfirewall reset
  4. Once all the commands are executed, close the Command Prompt window.

Restart Discovery Provider Host

System error 6118 has occurred

  1. Press Windows Key + R to open Run.
  2. Type services.msc and click OK to open Services.
  3. In the Services window, find Function Discovery Provider service.
  4. Right-click on Function Discovery Provider and select Properties.
  5. Click the Stop button.
  6. This will open Stop Other Servies window.
  7. Stopping the Function Discovery Provider also automatically stops the Function Discovery Resource Publication service.
  8. Click Yes to confirm and stop the service.
  9. Click the Start button.
  10. Click OK to save the changes.
  11. Close the Services window and try using the Net View command to see if that resolved the error.

If the issue persists, make sure that the Computer Browser service is started on all machines, and NetBIOS over TCP/IP is enabled on the NIC settings.


You may also want to check if the Network Discovery is turned on. You can do that by accessing the Advanced Sharing setting in Network and Sharing Center.

The system error 6118 has occurred error occurs when there is an issue with your network firewall or internet configuration.

You can start by disabling the firewall and then move on to resetting the network connection to resolve the issue.

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!