Oddly enough, but many users of Windows operating systems, starting from the seventh version and higher, very often encounter a problem connecting to a local network or the Internet, and at the same time the diagnostic utility gives a description in the results that "the Ethernet module is not has valid IP settings." The situation is not catastrophic, and the problem can be eliminated by several methods, which are proposed for consideration below.
Adapter does not have valid IP settings: what is the problem?
This situation can occur either when the current connection is configured incorrectly (it does not matter if Wi-Fi access or a wired Ethernet connection is used) or if there are problems on the part of the provider.

In both cases there will bereported that the connection does not have valid IP settings.
To check in the network connections section from the RMB menu on the selected network, select the status bar, and then in the new window click on the information button. Next, you should see if the fields of the IP address, gateway and DHCP and DNS servers are filled in.
If the IP address contains a combination other than 192.168 and further (for example, 169.254, etc.), such a connection will not work, and the problem is that the protocol is configured incorrectly on the terminal itself. If there are no values for the specified servers, it can be assumed that the problems occurred on the provider's side ("DHCP server crashed").

Network does not have valid IP settings: what to do first?
The connection problem may be temporary. Therefore, when it is reported that the Internet does not have valid IP settings, you can simply disconnect from the network first and then reconnect.

This is done by clicking on the connection icon in the system tray or by calling the corresponding section with the ncpa.cpl command, where the disconnect line is selected from the context menu, and then reconnecting.
If using a Wi-Fi network, as an additional measure, you can use a complete reboot of the router, disconnecting it from the power supply for about 10 seconds, turning it on again and waiting for it to fully load.
Repeatedgetting IP settings
However, the problem may be in incorrectly set network settings. When the system reports that the adapter (or network) does not have valid IP settings, this is the most common situation.
To resolve the failure, you can use the tactic of re-obtaining IP parameters. To do this, you will have to run the command console with administrator rights, and then write two commands in it, as shown in the figure below.

Then you should close the console and check the connection either by trying to connect or by using the same diagnostic tool. The message that the network module does not have valid IP settings may no longer appear.
Set parameters manually
But this may not help, especially when automatic IP acquisition is set in the current protocol settings. The problem description may again refer to the adapter not having valid IP settings.

The way out of this situation is to set the correct values in manual mode. To perform these operations, enter the network connections section and, using the property line, go to the protocol settings (usually IPv4). Here you will have to enter the IP address yourself (the address of the router in which the last number has been changed), the gateway (the value must match the address of the router in the case of a wireless network), and for the DNS servers, set the values fromfour eights or two eights and two fours.
Reset network settings
In some cases, the previous operation may not be necessary. When a network connection does not have valid IP settings, a factory reset can sometimes be used.
In this case, you will again need to call the command line and take the following actions by entering the appropriate commands, as shown in the images.

After executing all the commands, you can check the network status again. Sometimes a failure is fixed without problems in this way.
Clean boot system
Often, in correcting the situation with the appearance of a notification that the network module does not have valid IP settings, the so-called clean start of the system, that is, loading with the maximum shutdown of unnecessary services, can help.

To perform such a download, you will need to enter the system configuration (the msconfig command in the Run console), on the general settings tab, set the selective launch line to active and uncheck the autostart item loading line.

Next, in the same section, go to the services tab, check the box for hiding Microsoft services located at the bottom left, and for everything that remains, use the deactivation button ("Disable all") at the bottom right. As a rule, whenrestarting the system (which, by the way, must be performed without fail), the problem disappears.
Antivirus, firewall, third-party programs and drivers
However, the difficulties may not end there. The fact is that some antiviruses, the built-in Windows firewall and installed applications can also create connection problems.

In this case, you should first temporarily disable anti-virus protection. In addition, using the firewall.cpl command, you can open the firewall settings and activate the lines to disable firewall protection, although this is not recommended.
Finally, you should check the list of installed programs. For example, if a user installed iTunes, the Bonjour utility is installed with him, which can also cause a lot of problems. Perhaps removing it completely will fix the crash.

In the very last case, when nothing else helps, you can try to completely remove the network adapter driver and reinstall it, after downloading the latest version from the manufacturer's website. To uninstall, use the "Device Manager", and the driver can be downloaded, for example, from another computer, and then transferred to your terminal by copying it to removable media.
If this does not work, you can use the NetShell utility from Microsoft, which can be downloaded from the official website of the company.
Conclusion
Bthe conclusion remains to be added that at least one of the proposed methods can still fix the problem. It all depends on what exactly was the root cause of the failure. But in most cases, resetting the network settings, updating the IP parameters, or manually setting the correct values in the protocol settings helps.
Of course, inappropriate hardware or incorrectly installed drivers, some unnecessary applications, antiviruses (most often free Avast) and the built-in Windows security system can also have a negative impact on the state of connections, but if everything worked before, and then stopped, according apparently this is not the problem.
The reasons did not indicate the impact of viruses, which can also lead to such failures. This is due only to the fact that each user, so to speak, by default, must monitor his system himself and undertake a check for threats, since even the most powerful protection tools are able to skip malicious codes or program modules that have just appeared, and in the databases no antivirus yet.