Would editing the hosts file temporarily block Windows 10 updates?

4

2

Like several other people, I'm annoyed by the inability to choose when to update in Windows 10 Home, and this issue is one of the (several) reasons I hesitate to upgrade from Windows 7.

I don't have Windows 10 yet, so I can't try it for myself, but I thought that if I edited the hosts file and pointed update.windows.com (or whichever URL update uses) to an invalid IP address, that would effectively block Windows from seeing if any updates are available until the line was commented out.

Would this strategy work or does Windows 10 have a way to detect and bypass it?

Note: I don't consider this question to be a duplicate of Stopping all automatic updates Windows 10 as it's asking about a certain method. I understand it could be an answer to that question, but I couldn't post it as one without knowing if it works.

George T

Posted 2015-08-11T12:39:32.103

Reputation: 308

In this link the method posted worked for Windows 10 build 9926 – Moab – 2015-08-11T22:39:52.317

1Confirmed applet reg hack no longer works in RTM. – Moab – 2015-08-11T22:55:49.713

Answers

3

According to Microsoft Answers, these are the hosts you would need to block to prevent updates.

http://windowsupdate.microsoft.com
http://*.windowsupdate.microsoft.com
https://*.windowsupdate.microsoft.com
http://*.update.microsoft.com
https://*.update.microsoft.com
http://*.windowsupdate.com
http://download.windowsupdate.com
http://download.microsoft.com
http://*.download.windowsupdate.com
http://wustat.windows.com
http://ntservicepack.microsoft.com
http://stats.microsoft.com
https://stats.microsoft.com

geek1011

Posted 2015-08-11T12:39:32.103

Reputation: 1 180

1I doubt that is all of them, maybe someone will confirm they block Windows 10 updates for sure. – Moab – 2015-08-11T22:37:20.463

Is there some way to block a subdomain (like *.update.microsoft.com) by editing the hosts file?  I believe that this is impossible, so the above is not really an answer to the OP's question. – Scott – 2017-05-30T01:36:07.087

@scott You can use a custom DNS server and redirect those domains to an invalid IP. – geek1011 – 2017-05-31T13:44:53.337

Fine.   You have written an answer to *a (slightly) different question.*  You have not answered this question. – Scott – 2017-05-31T21:01:34.580