3

This is specific to windows 10 !!!

I need windows firewall to block all outgoing (and incoming) traffic EXCEPT for windows update but when I block the outgoing traffic --> windows update fails

I already tried allowing svchost completely as well as a lot of other services but still no windows update!!

It seems it only works when outgoing traffic is allowed :-(

Thank you, Lionel

1
  • The paid version of this software will allow you to do this much easier...binisoft.org/wfc.php
    – Moab
    May 3, 2016 at 16:50

2 Answers 2

3

It's almost useless blocking outgoing ports as applications need to send an initial response first to check the server's there (of which no reply will be recieved since the incoming port is blocked).

To only allow Windows Update to communicate, you need to block all incoming ports except the following domains and subdomains:

  • windowsupdate.microsoft.com
  • *.windowsupdate.microsoft.com
  • *.windowsupdate.microsoft.com
  • *.update.microsoft.com
  • *.update.microsoft.com
  • *.windowsupdate.com
  • download.windowsupdate.com
  • download.microsoft.com
  • *.download.windowsupdate.com
  • wustat.windows.com
  • ntservicepack.microsoft.com

You may be able to use the localhost file to block the above domains, by following the instructions here.

The above are not specific to any Windows version (although the TechNet page is for Windows Server 2003 and XP, this solution works with all modern Windows versions too), so it'll work on Windows versions other than Windows 10.

4
  • "you need to block everything except the following domains and subdomains" How do I block everything without blocking outgoing traffic?
    – Lionel
    May 3, 2016 at 14:19
  • Also, how do you add domains to the windows firewall, it seems to only accept ip-addresses.. thank you for helping me...
    – Lionel
    May 3, 2016 at 14:25
  • @Lionel Please see my edit.
    – AStopher
    May 3, 2016 at 15:54
  • Thank you but I'm trying to block everything EXCEPT windows update! I know I could use hostfiles but not to block all traffic though...
    – Lionel
    May 4, 2016 at 11:32
0

In your scenario Windows 10 , Allow wuauserv -IN rule, Allow wuauserv -OUT rule, another rule , Allow BFE - Out rule (this on make windows defender SmartScreen )

1
  • This question is 5 years old. When answering to old questions, please keep in mind that the original poster may have solved or vanished. Moreover, your answer should be more detailed (for instance, explain what is the "another rule"...).
    – AndrewQ
    May 12, 2021 at 21:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .