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: Oldest
  1. Alexander Avidan 5 Reputation points
    2025-10-15T22:42:42.58+00:00

    I uninstalled KB506683 and 5066835. that fixed the problem. And saved me from a heart attack...

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Mitchel Roy | COMS Systems 0 Reputation points
    2025-10-16T01:21:07.84+00:00

    I ran into the same issue. In my case it was my company's production software which hosts local APIs using .NET Framework 4.7.2. These local APIs stopped responding on Windows 11 25H2 machines after these updates were installed. Uninstalling both KB5066835 and KB5065789 resolved the issue.

    I placed feedback for the issue in the Feedback Hub, if anyone wants to add similar feedback from it and include all your own details and hopefully MS will actually notice and push a fix for this. This is the link to my feedback https://aka.ms/AAyaic7

    Was this answer helpful?

    0 comments No comments
  3. 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?

  4. 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?