Hi there!
This morning there was a Defender update, I have installed it an now it works!!!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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?
C# Using HttpListener class, listening on address "http://localhost:XXXX/"; it was working fine before windows update, after update getting an error HttpListenerException: 50 / The request is not supported the Exception causes on line listener.GetContext();
My applications are using System.ServiceModel.ServiceHost for some local network communications and were knocked out by KB5066131. After I removed that they started working again.
Also for me since KB5066835 is installed oauth login into my .net native app with authorization code delivery to localhost:port opened by with HttpListener does not work anymore.
We are using IIS to host local sites and APIs as well as hosting a WCF service within a windows service and have this problem too. The connection is always refused for both IIS and WCF.
I cannot remove the update as it's not our hardware, they just use our software so if someone has a solution I would appreciate that as we now have 17 clients who cannot use our software anymore. I will be recommending removal of the update but it's not ideal.
I think my problem maybe the exact same as everyone else's here.
My IIS Express was not allowing connections. I was getting the ERR_HTTP2_PROTOCOL_ERROR on a curl request to my local IIS Express. That's strange because it worked yesterday and I changed nothing but doing some Windows Updates and shutting down my computer.
I figured it might have to do with the updates.
So I went online and managed to determine it was likely being caused by a Windows Update I recently installed.
2025-10 Cumulative Update for Windows 11, version 25H2 for x64-based Systems (KB5066835) (26200.6899)
I went into the Windows Update settings -> Update History (Scrolled To The Bottom) -> Uninstall Updates
I see the update listed.
I clicked "Uninstall" next to the update.
Restarted my machine.
Not working! Alright let's keep searching for a fix.
Things I tried that didn't work.
I found a registry hack so I tried that and restarted but it didn't work.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters]
"EnableHttp2"=dword:00000000
"EnableHttp2Tls"=dword:00000000
"EnableHttp2Cleartext"=dword:00000000
I seen various scripts to remove the updates that might be causing it.
It had one I hadn't tried to remove yet.
It didn't show in the updates I had installed on my computer in Windows Update history. Weird?
I had already removed 5066835 so when I ran the next line it said it was not installed.
wusa /uninstall /kb:5066835
I don't like registry hacks so I removed the keys.
I ran:
wusa /uninstall /kb:5065789
It said the update didn't exist, but then it proceeded to uninstall something. Weird?!
Restarted the computer
Working!!! Yay!!!
Oops!!! I forgot to turn off automatic updates. I went into the Windows Update settings again and unchecked automatic updates.
Let's see if I manually check now. Does it know I uninstalled it?
If so maybe I can hide it or try to keep it from installing again.
It started installation again and it wouldn't let me cancel the update.
Restarted
Still working!!! Yay!!!
So now I have the update installed and it is working. Weird???
Kestrel version seems working fine. As temporary solution I planned to run this on localhost
I did restore the register, and it was worse. I have not yet recover from the problems it produces.
I have the same issue. Kept getting error "ERR_HTTP2_PROTOCOL_ERROR" while trying to access an app deployed in IIS.
Spent 6+ hours trying any other possible fix:
Look for a line containing port
Hope this helps someone
Great job, it's like pushing it directly to master, resolved by a system update without any update notice.
Microsoft seems to have reacted very quickly and posted a new update file online.
I uninstalled KB5066835 on all affected computers at 1 a.m. today – which solved the problem.
I forgot to pause updates for the next few days on one computer. The computer reinstalled the update there. But that worked.
This morning, I reinstalled the update on all other computers, and everything is working perfectly again.
For once, Microsoft reacted very quickly here. I suspect because millions of customers were affected (IIS + HTTP listener).
Thank you so much, I wasted a whole day yesterday because of this shocker. None of the websites on my machine worked after a reboot and I just couldn't figure it out, uninstalling IIS, changing firewall settings, stopping AV etc. This morning I have uninstalled KB5065789 and I am back in business. Completely outrageous outage - Thanks Microsoft for yet another complete shambles.
I fixed this without removing updates KB5066835 cumulative win 11 and KB5066131 .net 3.5 and 4.8.1 by uninstalling and reinstalling IIS, .Net 3.5, and the ASP.Net developer runtime features from windows on the local intranet app server. This allowed the windows updates to stay in place.
Hi Microsoft you need to add a new patch to fix all of this, after I removed the patch, all my solutions were working and my IIS now is working properly, is the only solution I saw it and applied to my computer
Hi there!
This morning there was a Defender update, I have installed it an now it works!!!
The localhost is working after updating as well
Resolution Steps Taken
100% fix this issue....
Hey, How should I update? I didn't find any updates in Windows Update.
If don't have update probably your PC already downloaded and installed the update. Try to restart the PC and see
Resolution Steps Taken
100% Working.
For my part I didn’t see the update either.... I rebooted the PC but didn’t see it, and it wasn’t installed. Maybe the update is being rolled out later in some countries? My solution: I uninstalled update KB5066835 and now everything works again. I’ve paused Windows Update for 5 weeks and will check later if there’s an update that fixes this issue.
I have installed the "Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.439.210.0)" today and for me it is now working again!
Installed the update and now working!
No need to roll back or disable updates
Repair the WCF Services installation by re-enabling all associated features. This process forces the system to properly reconfigure the affected components without requiring a full rollback of the Windows update.
Just tested that. I acknowledge that the Defender update resolved the issue
Worked for me as well (wasn't able to remove updates before so this works without updating). For the ones who couldn't update online can download and install it from (I did like that):
https://www.microsoft.com/en-us/wdsi/defenderupdates
Just keep in mind, the file you downloaded seems like doing nothing. Just run it with admin privilages and wait couple of minutes and restart your pc. It should work.
To force Windows Defender updates, as per https://www.microsoft.com/en-us/wdsi/defenderupdates
From an Administrator CMD run the following to update definitions. You must reboot after for the fix to take effect:
cd %ProgramFiles%\Windows Defender
MpCmdRun.exe -removedefinitions -dynamicsignatures
MpCmdRun.exe -SignatureUpdate
Don't uninstall anything at this point and turn back on windows updates. Originally uninstalling KB5066835 and KB5065789 resolved this - but we had dozens of machines unable to uninstall KB5065789 due to an error. Reinstalling KB5066835 later in the day on the machines with failed KB5065789 resolved the issue for us on ALL machines.
This is all dumb - and cost so many people wasted time...
I can confirm that this indeed corrects the problem. My use of HTTP.sys now functions normally with all windows/defender updates applied.
Yeah! working now, in my case, using Windows 11, went to:
Now IISExpress working and able to run localhost, thanks!
Installing this Microsoft Defender Antivirus update - KB2267602 solved my problem
In my case, I uninstalled IIS Express from Windows applications. I restarted my computer. And I downloaded and installed the latest version from Microsoft's page. It worked perfectly.
We're seeing that many machines automatically got the defender update, and we just need to reboot them, after which all is working again.
Some of our devs were having this issue yesterday along with other staff using applications that relied on the .net httplistener. Not all staff with the KB5066835 update ran into those issues though. Just some staff oddly enough. So we paused pushing the updates to anyone else.
Then this morning all the staff who had issues reported in that their apps started working again after a reboot. We made no changes on our end so were very confused.
Then I saw this answer about updating Defender and that could explain what we were seeing. If a combination of the KB5066835 and a specific Windows Defender update was the cause of the issue or if Microsoft placed a patch in a Defender update this morning. Then that could be the resolution for some users.
I suggest making sure you are on the latest Defender update and rebooting as one of your first trouble shooting steps before attempting to remove updates.
Did this break again today? System installed Security Intelligence update for MS Defender KB2267602 and now the problem has resurfaced for me.
We had the same issues here and only way round to fix it was to run the following commands to remove the KB's from command prompt run as administrator
wusa /uninstall /kb:5066835 and
wusa /uninstall /kb:5065789
This also stopped IIS from running and now that runs as well with no issues
I can't uninstall kb:5065789 - I get 'Installer encountered an error: 0x800f0825'. So I'm stuck with no IIS for the moment. Happy to try any other suggestions anyone might have
Having this error while trying to uninstall
I had the same error trying to uninstall kb:5066835 -- remove Windows Sandbox from Windows features first (takes an eternity; be patient). Then perform the uninstall. Worked for me. IIS/localhost working again. Then put Windows Update on pause for a few weeks, to give MS time to resolve. Good luck.
Mine Sandbox is not installed and still getting same error.
Check this file (%windir%\logs\cbs\CBS.log) for error 0x800f0825. Just before the error in the file, in my case, there was an error relating to HyperV. So I removed that feature temporarily from Turn Windows Features On and Off, and then I could uninstall KB5065789 successfully and IIS is working correctly again.
This is a big problem for us as well! I wonder how did they miss such a big mistake. We tried uninstall the update under windows settings and it would not even uninstall the 5066835 update. We are really hoping this will get resolved sooner because all development is stopped right now. Uninstalling the 5066835 did not fix it for us. Uninstalling the 50657889 fixed. So required to uninstall both updates. Please fix this issue sooner!
Same issue, working fine yesterday, today "ERR_CONNECTION_RESET"
I cannot uninstall KB5066835, fails with error: 0x800F0825
See if you have Sandbox feature enabled. If so, turn off, and now you should be able to uninstall the update
I have this issue. Haven't got sandbox enabled. And I'm unable to install KB5065789 due to error 0x800F0825. KB5066835 did uninstall for me, but I still have the same issue with IIS. I've tried all the other suggestions I can find, but can't get it working!
About an error 0x800F0825, open %windir%\logs\cbs\CBS.log and search for 0x800F0825 from the end, it should give you an hint on the error origin.
In one case we had to deactivate "wmic" and "print control management" before being able to uninstall the KB6066835 (we reactivated the two features afterward).
Havent got Sandbox enabled.
This is a windows 11 machine i use for dev.
I have also tried the registry fix, didnt help either.
I am having issues as well after this update. I uninstalled KB5066835 but the issue still remains. I cannot uninstall any other recommended items either. This has halted development for us too
also uninstall KB5065789. Once I did both I was able to continue.
@Steven K Unable to uninstall KB5065789 update.
You have to uninstall both KB5066835 AND KB5065789
So what do you do when you encounter the error in the screenshot? Like I have? There isn't any way to uninstall both for many!!
I also issued a net stop was as administrator before the uninstall which should take down IIS if its started but not running. It could be that one of its loaded dependencies is what is causing the uninstall to fail.
Check this file (%windir%\logs\cbs\CBS.log) for the error you get when uninstalling KB5065789. Just before the error in the file, in my case, there was an error relating to HyperV. So I removed that feature temporarily from Turn Windows Features On and Off, and then I could uninstall KB5065789 successfully and IIS is working correctly again.