Windows 10: Edit Hosts file to fix network issues after 1803 update

Page 1 of 2 12 LastLast
  1.    10 May 2018 #1

    Edit Hosts file to fix network issues after 1803 update


    I've been using and learning from these forums for years but this is my first contribution. We have a fairly extensive home network (workgroup) that currently includes four wired PCs and two wireless laptops, all running Windows 10 Pro, connected through a NetGear R7000 router. Until the recent 1709 and, especially, 1803 updates to Windows 10, all machines were sharing and transferring files just fine. Then, we started having many of the same networking issues and frustrations that are being discussed here and elsewhere. After lots of reading and trying numerous suggestions without lasting success, I finally hit upon the following process that, at least for us, is working just fine now. Items 3 and 4 are what did the trick by, I think, avoiding the flaky, erratic DNS issues.

    1. Go through "Control Panel \ Programs and Features \ Turn Windows Features On or Off" to uncheck all SMBv1 items, as per MS security recommendations.

    2. Run services.msc and set both "Function Discovery Provider Host" and "Function Discovery Resource Publication" to automatic or automatic (delayed start).

    3. Change your router setup to assign (reserve) each workgroup PC a specific IP address (e.g., 192.168.1.101, etc.). After resetting the router, each workgroup PC will have a unique Name and IP-address combination.

    4. Locate the hosts file in C:\Windows\System32\drivers\etc\ and edit it with administrator privileges. For each workgroup PC add one line with the following syntax:
    IP-address Name #any optional comments or info you want
    There must be at least one space between each of the line items. For example, two such lines in my hosts file are:
    192.168.1.103 ACER #Ethernet: 30:65:EC:AF:A5:87
    192.168.1.104 HP8300 #Ethernet: C8:CB:B8:23:73:70
    The same list of IPs and Names must be in the hosts file on each PC. The file-editing can be done using Notepad with administrator privileges or automated with a specific Host File Editor (search the web for such programs).

    It would be interesting to know if anyone else tries this and whether it helps or not.
      My ComputerSystem Spec

  2.    10 May 2018 #2

    I just set the 2 services to auto with delay start and made sure all sharing+NTFS permisions settings were correct and it works fine.

    Mine is a clean install and the other PC was an upgrade which I did the same on it and it works perfectly.

    Others with problems on their network might need this, so thanks for your input on the matter.
      My ComputerSystem Spec

  3.    11 May 2018 #3

    Hi there.

    fixing specific IP addresses to machines isn't usually a good idea for all sorts of reasons -- DHCP on the router should take care of that problem. You can reserve a specific pool of IP addresses that DHCP will assign which could be useful if you have more than one workgroup in your network but for small networks I can't really see why you would want more than one workgroup.

    Enabling SMB1 is fine if you have old Windows PC's (some W7, XP, VISTA) machines in the network or if you have older NAS (Linux) type boxes and older phones / smart TV's and you wish to share files with (or from) these devices and Windows. Windows 10 to Windows 10 doesn't need SMB1 enabled.

    As for DNS issues a lot of people find the public GOOGLE ones a lot better than their ISP ones.

    Public Google DNS servers are (IPV4)

    8.8.8.8
    and 8.8.4.4

    or IPV6

    2001:4860:4860::8888
    2001:4860:4860::8844

    Cheers
    jimbo
      My ComputerSystem Spec


  4. Posts : 407
    Windows 10 Pro x64, Windows 7 Ultimate x64 SP1, Windows 8.1 Pro x64
       11 May 2018 #4

    As I indicated in the other thread related to this topic, your method of adding the IP addresses and computer names of my 1803 computers to the respective Host files solves this for me as well.
    I do set my router to provide fixed IP addresses to some of my systems vis DHCP.
      My ComputerSystem Spec

  5.    12 May 2018 #5

    jimbo45 said: View Post
    Hi there.

    fixing specific IP addresses to machines isn't usually a good idea for all sorts of reasons -- DHCP on the router should take care of that problem. You can reserve a specific pool of IP addresses that DHCP will assign which could be useful if you have more than one workgroup in your network but for small networks I can't really see why you would want more than one workgroup.


    [snip]

    Cheers
    jimbo
    For desktops, why NOT have fixed IP addresses hard-coded into the relevant network settings. For laptops, I agree that addresses should be assigned via DHCP, so you can get connected away from home.

    x509
      My ComputersSystem Spec

  6.    19 Jun 2018 #6

    I also tried everything in this forum and then some. None of this made win 10 networking stable-one minute you could access network shares and the next you couldn't. Win 10 sharing of files and folders is broken and unreliable. This solution is the only thing that has worked consistently and reliably for me-editing the hosts file to show windows where to go. Thank you very much for posting this solution.
      My ComputerSystem Spec

  7.    19 Jun 2018 #7

    Since disabling ipv6, suggested in one of the numerous threads on here re networking issues, I've had zero networking problems. ISP doesn't support it anyway so no great loss.
      My ComputersSystem Spec

  8.    20 Jun 2018 #8

    Thanks hollidayjr. I'm glad that the hosts file solution is working for you as it still is for me.

    Incidentally, just to clarify my original posting, all of the PCs (desktops and laptops) in my network are set for DCHP assignment of IP addresses. The router is set to assign a specific IP to each box by its MAC address. Thus, the laptops still function normally when connected to a different router away from home.
      My ComputerSystem Spec

  9.    21 Jun 2018 #9

    Yes, mine are setup the same way. Set it in the router and forget about it. You don't have to set each individual PC/Laptop.
      My ComputerSystem Spec

  10.    11 Jul 2018 #10

    Network still stable after 2 weeks and recent updates. Thanks again DrFrog
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Lost network after 1803 update in Network and Sharing
I have 2 PCs on a network Both are Windows 10 pro with 1803 update. They both worked fine on the network before the update. I get this error message on both PCs. 187548
and e.g. frame height and width are no longer listed for almost all mkv files and some mp4 files. strangely, some few mkv files work, though most dont display properties in windows file explorer since the 1803 update. apparently this seems to be...
HI Guys / Girls My Windows Update 1803 is giving me issues on a Dell XPS 15 9560 re Some Programmes YNAB & NordVpn are loading but only show a blank screen. They are in fact loading up and everything I gather is fine except I cannot see them. ...
Vanilla hosts file ( hosts file not working ) in AntiVirus, Firewalls and System Security
Hi I keep getting this symptom from time to time , it fixes with windows updates but then occasionally come back . I have a list of advertising and malware websites that I filter through hosts file that are often used by a chat client as per the...
Hello, I am unable to edit root/system32/drivers/etc/hosts, even with UAC set to "Never Notify". I get access denied errors of different flavors when I attempt to make a new hosts file and replace it, attempt to edit the original and save over......

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 18:13.
Find Us