KB5066835 update causing IIS Service to not work

Sashi Kumar 405 Reputation points
2025-10-15T10:06:37.1166667+00:00

Recently my local hosted IIS services is not running after the new update. My visual studio projects also can't be run as well. I have to delete the new update in order to run my projects and local hosted services again. May I know what is the problem?

Developer technologies | ASP.NET Core | Other

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

Answer accepted by question author
xavier ubikos 175 Reputation points
2025-10-16T05:23:40.57+00:00

Hi there!

This morning there was a Defender update, I have installed it an now it works!!!

Was this answer helpful?

20+ people found this answer helpful.

50 additional answers

Sort by: Newest
  1. AndreasH 0 Reputation points
    2025-10-16T06:22:07.3833333+00:00

    This helped for us, without uninstall

    netsh advfirewall firewall add rule name="Allow Localhost WebSocket" dir=in action=allow protocol=TCP localport=80,443,5884,5885

    restart

    Was this answer helpful?

    0 comments No comments
  2. Luca F 6 Reputation points
    2025-10-16T05:46:18.3266667+00:00

    We experienced the same issue. Installing today's update KB2267602 (Security Intelligence Update for Microsoft Defender Antivirus) resolved it for us after restarting the computer.

    Was this answer helpful?

    1 person found this answer helpful.
  3. Vinod Unny 10 Reputation points
    2025-10-16T04:49:03.23+00:00

    This seems to work WITHOUT having to uninstall any of the KBs.

    1. Open VS --> Package Manager Console.
    2. Run each of the following commands and answer "Yes" when prompted.
      1. dotnet dev-certs https --clean
      2. dotnet dev-certs https --trust
      3. dotnet dev-certs https --check
    3. The last one should show "A valid certificate was found...".
    4. Open certmgr.msc --> Personal --> Certificates.
    5. Find the one called localhost, right click --> All Tasks --> Export
    6. Follow the wizard to export all properties, put a password and save it somewhere.
    7. Open MMC.exe, Add Snap-in Certificates, select "Computer account", "Local Computer", add it.
    8. Right click "Personal", All tasks --> Import, select the above saved certificate, import it.
    9. Double click the localhost certificate, go to Details tab, find and copy the value of "Thumbprint" attribute.
    10. Close all windows
    11. Open CMD or Powershell as Admin
    12. Identify the Port for which your web app is on HTTPS in IIS express, for example, 44332.
    13. In cmd/ps, type "netsh http show sslcert ipport=0.0.0.0:44332 - note down the Application ID and Certificate Store name values.
    14. Important thing to check here: Is the Certificate hash same as the certificate Thumbprint value?
    15. If not, do the following:
      1. in cmd/ps type "netsh http delete sslcert ipport=0.0.0.0:44332"
      2. in cmd/ps type "netsh http add sslcert ipport=0.0.0.0:44332 appid=<Appid noted above> certhash=<Thumbprint of imported certificate> certstorename=MY"
      3. This should say "SSL Certificate successfully added"
    16. Open VS for this project, build and run. It should be fine. No uninstalls or reboots required.

    Was this answer helpful?

  4. Liviu Birjega 0 Reputation points
    2025-10-16T01:37:13.1766667+00:00

    The only combination that finally worked:

    From an administrator command prompt, run the following: 

    wusa /uninstall /kb:5066835

    restart computer

    wusa /uninstall /kb:5066131

    restart computer

    wusa /uninstall /kb:5065789

    restart computer

    And make sure the Windows Updates are paused or disabled

    Was this answer helpful?