KB5066835 update causing IIS Service to not work

Sashi Kumar 365 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 | Other
{count} votes

Answer accepted by question author
  1. xavier ubikos 140 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!!!

    13 people found this answer helpful.

50 additional answers

Sort by: Most helpful
  1. 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


  2. Vinod Unny 5 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.

  3. 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

    0 comments No comments

  4. Bhavik Pola 10 Reputation points
    2025-10-16T06:57:18.7066667+00:00

    Run Command in Command prompt run as a Administrator.

    Resolution Steps Taken

    1. Uninstalling the update using the following command:
    • wusa /uninstall /kb:5066835
    • wusa /uninstall /kb:5066131
    • wusa /uninstall /kb:5065789
    • wusa /uninstall /kb:5064401
    • wusa /uninstall /kb:5065426
    1. Restart the machine after uninstall.
    2. Pausing Windows Updates for 5 weeks to prevent reinstallation.

    100% fix this issue....

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.