Wednesday, November 5, 2025

How to bypass proxy for Microsoft Update via Pac file

// Bypass for Microsoft Update domains 

 if (  shExpMatch(host, "download.microsoft.com") ||  shExpMatch(host, "ntservicepack.microsoft.com") ||  shExpMatch(host, "cdm.microsoft.com") ||  shExpMatch(host, "wustat.windows.com") ||  shExpMatch(host, "windowsupdate.microsoft.com") ||  dnsDomainIs(host, ".windowsupdate.microsoft.com") ||  shExpMatch(host, "update.microsoft.com") ||  dnsDomainIs(host, ".update.microsoft.com") ||  dnsDomainIs(host, ".windowsupdate.com") ||  dnsDomainIs(host, ".windowsupdate.microsoft.com") ||  dnsDomainIs(host, ".download.windowsupdate.com") ||  dnsDomainIs(host, ".prod.do.dsp.mp.microsoft.com") ||  dnsDomainIs(host, ".dl.delivery.mp.microsoft.com") ||  dnsDomainIs(host, ".delivery.mp.microsoft.com") ||  dnsDomainIs(host, "tsfe.trafficshaping.dsp.mp.microsoft.com") ||  dnsDomainIs(host, "ctldl.windowsupdate.com")  )  return "DIRECT";


Print Friendly and PDF
Share/Bookmark

No comments:

Post a Comment