windows 10 update hosts file code example Example: where is the hosts file in windows 10 Windows 10 and Windows 8 = c:\Windows\System32\Drivers\etc\hosts