System Error 6118 in CMD: 6 Easy Fixes That You Can Use

Check some expert-recommended solutions that work for all

by Tashreef Shareef
Tashreef Shareef
Tashreef Shareef
Windows & Software Expert
Tashreef Shareef is a software developer turned tech writer. He discovered his interest in technology after reading a tech magazine accidentally. Now he writes about everything tech from... read more
Affiliate Disclosure
  • The net view command allows users to check the various devices on the network, but many get System error 6118 on running it.
  • This error usually appears when critical services are not running or the firewall is conflicting with the network.
  • To fix things, make sure the network setup is functioning optimally, reconfigure the firewall, or reset the network stack, amongst other solutions.
fix system error 6118 in Windows

The Net View command allows the users to view the various devices on the network and is often employed by users with several PCs connected. But many reported getting System error 6118 when running the command.

The complete message reads System error 6118 has occurred. The list of servers for this workgroup is not currently available. So, let’s find out all about the error.

What is System error 6118 in CMD?

System error 6118 prevents users from viewing the network devices, domains, and shared resources and puts them in a tricky situation. Here are a few reasons you may receive the error:

  • Firewall or antivirus affecting the connection: The built-in or third-party firewall and antivirus can often conflict with the connection and prevent you from viewing or accessing the network devices.
  • Misconfigured network settings: If the network settings are misconfigured, you might get System error 6118 in cmd with net view. A quick reset of the network settings usually does the trick.
  • Critical services are not running: There are a few services that need to be running for network discovery to work, and when these are disabled, you get the error.

How can I fix System error 6118 has occurred message?

Before making changes to the system, try these quick tips, tricks, and workarounds:

  • Make sure the WorkGroup name on all the systems is the same.
  • If you use an extender in the network, remove it and connect the devices to a single host. Or if the setup consists of several extenders, add them one at a time until the problematic one is identified.
  • Make sure the DNS is correctly set. If not, set it to the modem’s default DNS address.

If none of the solutions worked, move to the ones listed next.

1. Modify network setting

  1. Press Windows + R to open Run, type Control Panel, and hit Enter.control panel
  2. Click on View network status and tasks under Network and Internet.network and internet
  3. Click on Change advanced sharing settings.change advanced sharing settings to fix system error 6118
  4. Now, make sure both Network discovery and File and printer sharing are enabled for Private networks and Public networks, as the case may be.enable network discovery to fix system error 6118

2. Change the firewall settings

  1. Press Windows + S to open Search, type Allow an app through Windows Firewall in the text field, and click on the relevant search result.allow an app
  2. Click on Change settings.change settings
  3. Make sure the Private and Public checkboxes are ticked for File and Printer Sharing.file and printer sharing
  4. Similarly, verify the same for Network Discovery, and then click OK to save the changes.enable network discovery to fix system error 6118

If enabling File and Printer Sharing and Network Discovery fix System error 6118, make sure they are allowed through the built-in Firewall. If you use a third-party firewall, enable the two there as well.

3. Enable the critical services

  1. Press Windows + R to open Run, type services.msc, and click OK.services
  2. Locate the Computer Browser service, right-click on it, and choose Properties.properties
  3. Select Automatic from the Startup type dropdown menu, click on Start to run the service, and then OK to save the changes.enable service to fix system error 6118
  4. Similarly, configure the Function Discovery Provider Host service to run automatically.function discovery provider host

4. Run the SFC scan

  1. Press Windows + S to open Search, enter Command Prompt, and click on Run as administrator.command prompt
  2. Click Yes in the UAC prompt.
  3. Paste the following command and hit Enter:sfc /scannowsfc scan to fix system error 6118

For the Enumerating domain A system error has occurred 6118 issue, running the SFC scan should get things up and running. If that doesn’t work, run the DISM tool as well.

5. Reset the network stack

  1. Press Windows + R to open Run, type cmd, and then hit Ctrl + Shift + Enter.cmd
  2. Click Yes in the prompt that appears.
  3. Now, paste the following commands individually and hit Enter after each: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

That’s it! In all likelihood, resetting the network stack should fix System error 6118 in Windows and allow you to view the devices on the network.

6. Disable the firewall

  1. Press Windows + S, type Windows Defender Firewall, and open it from the search results.windows defender firewall
  2. Click on Turn Windows Defender Firewall on or off from the options on the left.turn off to fix system error 6118
  3. Now, select the Turn off Windows Defender Firewall (not recommended) option under both Private network settings and Public network settings, and then click OK to save the changes.disable firewall
  4. Once done, run the command to view the devices on the network.

If the previous solutions didn’t work, disabling the firewall is the last alternative, but one that would fix the System error 6118 for good. Though we do not recommend disabling it for long since it leaves your PC unprotected.

While meddling with the network settings, find out how to speed up the Internet in Windows.

For any other queries or to share a solution apart from the ones here, drop a comment below.

This article covers:Topics: