
You want to see the complete list of network devices using the terminal and then run the command "net view / all" at the command prompt and get the error message "System error 6118 has occurred". This prevents the list from opening and displaying a message that says: "The server list for this workgroup is not available". Which means you don't see any devices.
So what causes this error? It may appear due to interference from a third party firewall / antivirus setting blocking it, it may be due to the feature detection service being disabled or when the computer's browser service is disabled. However, there are a couple of solutions that can help you continue to manage file sharing or shared sessions and printers.
So here's how to correct the "System error 6118 has occurred“Problem in Windows 10.
Alternative solution: - Instead of using net view, you can use the commands given below.
- Get-SmbShare -Name “nomecomputer”
- Get-SmbShare -Name “nomecomputer” | Elenco formati
- Get-SmbShare -Name “computername” | Format-list-properties *
Method 1: Disabling Third Party Antivirus / Firewall
Apparently one of the most common reasons behind it System error 6118 The command prompt error is an overly active firewall that keeps preventing the Message Block (SMB) server from interacting with other devices. Most users have found that the problem was caused by their third party antivirus software.
In such cases, you should try to fix the problem yourself to see if it works and if the error is gone. The first thing you can try is to turn off real-time protection and restart your PC to see if the error is gone. Alternatively, you can also try to temporarily uninstall the third-party antivirus suite. You can go to Control Panel => Programs and Features => Third Party Software => Uninstall
To disable the firewall: -
1. close Windows Firewall in the Windows 10 search box.
2. Click Enable or disable the Windows firewall
3. Now, Disable Windows Defender Firewall
If that doesn't work, try the second method.
Method 2: enabling the role detection service
Step 1: press the Window key + R to open the file Run command.
Step 2: Now, in the search box, type services.msc. Press OK to open the file Services window.
Step 3: A Services window, go to the right side and under the file Nomi column finds Role Discovery Provider Host.
Step 4: Now, double click on your file Property the dialog box. Under the general tab, go to Start type section and select Automatic (delayed start) from the drop-down menu.
Step 5: So go to Status of the service section. Sample Arrested.
Below, click Home to start the service.
print To apply and so ok to save changes and exit.
Step 6: Now back in Services window, again under the Your name search by column Publication of resources for identifying functions.
Step 7: Now, double click on your file Property the dialog box. Under the general tab, go to Start type section and select Automatic (delayed start) from the drop-down menu.
Step 8: So go to Status of the service section. Sample Arrested.
Below, click Home to start the service.
print To apply and so ok to save changes and exit.
Now, go back to the command prompt and try running the “net view / all” command and it should properly lift all network devices. If not, try the third method.
Method 3: restart the network
1. Press Tasto Windows + R key together to open the run.
2. Write DCM on it and press CTRL + SHIFT + ENTER Type them together to open the raised cmd window.
3. Now, run the following commands one by one from the command prompt.
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
After that, close the Command Prompt window.
Method 5: Enable Network Discovery
Step 1: Go to Home desktop button (Windows icon at the bottom left of the screen) and in the search box type Control Panel.
Step 2: Left click on the result to open the file Control Panel Home window.
Step 3: A Home control panel window, go to Seen from at the top right and select Big icons in the drop-down menu next to it.
So go to Network and Sharing Center option and left click to open it.
Step 4: A Core network and sharing window, go to the left side of the panel and click Change advanced sharing settings.
Step 5: A Advanced sharing settings window below Change the sharing options for different network profilesor Private and then to Guest or public (current profile) section.
Navigate to Network detection section below, select the radio button next to Enable network discovery.
Step 6: Now scroll down and expand Tutte retired him. Under File sharing connections section, make sure Use 128-bit encryption to secure file sharing connections (recommended) is enabled.
Even low, Password protected sharing section, make sure Enable password protected sharing the option is enabled.
If they are not enabled, select the radio buttons next to each one to enable them. When finished, click Save the changes below to save changes and exit.
That's all. Now you can restart the command prompt and try to open the list of network devices and it should show them all without errors.