[Bug Report] - W11 Creator 26.09.29 breaks Windows updates
I have read the known issues
- [x] Yes, I did
Version of WinUtil
26.09.29
What part of WinUtil are you having issues with?
Win11 Creator Tab
Description of the issue
So, I used the 26.09.29 pre-release version on 26H2 that just came out and started creating my iso using the Creator 11 Tab, i noticed it couldn't install the iso to a usb drive anymore for me as the limit of fat32 was 4gb while mine was 5gb+ so I used rufus and it worked just fine. I installed the iso smoothly and I opened windows update and it was blocked. I enabled update orchestrator, windows updates, and bits. Also enabled windows update medic from regedit. After all this, windows update popped up again, but it fails to update with a retry button every time.
List of Applied Tweaks
Only applied tweaks is in the Creator 11 Tab of 26.09.29.
Paste the full error output (if available) or Screenshot or Video.
No response
I enabled them with these commands:
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUServer" -ErrorAction SilentlyContinue
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUStatusServer" -ErrorAction SilentlyContinue
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -ErrorAction SilentlyContinue
gpupdate /force
I had the same issue then i asked gemini, it gave me these commands to run in admin powershell, updates are working fine now.
Set-Service -Name wuauserv -StartupType Manual Set-Service -Name bits -StartupType Manual Set-Service -Name cryptsvc -StartupType Automatic
Stop-Service -Name wuauserv -Force -ErrorAction SilentlyContinue Stop-Service -Name bits -Force -ErrorAction SilentlyContinue Stop-Service -Name cryptsvc -Force -ErrorAction SilentlyContinue
Remove-Item -Path "C:\Windows\SoftwareDistribution*" -Recurse -Force -ErrorAction SilentlyContinue
Start-Service -Name wuauserv Start-Service -Name bits Start-Service -Name cryptsvc
Hey @dzcu thanks for the report, do you mind uploading this file C:\Windows\Setup\Scripts\FirstLogon.log? I'll have to see what happened during the first logon cause the Win11 Creator should've restored everything back to normal.
I've also ran into this issue both with the latest (September) 25H2 ISO and the 26H2 release, non-preview ISO.
I've attached the file you requested, hope it helps.
@kutulhu, could you also upload C:\Windows\Setup\Scripts\WinUtil-PostInstall.log? It records the earlier setup steps and may help explain why Windows Update stayed disabled.
@kutulhu, did the PowerShell window close by itself after your first login, or did it stay open?
The log ends before the completion message, so I cannot confirm that setup restored Windows Update. Please mention if you closed the window or restarted Windows while it was still open
in my case, when I first logged in, Windows briefly opened two terminal windows but immediately restarted the PC. Itβs highly likely the script didn't run because one of the scripts triggered an immediate restart, thereby aborting the process.
@kutulhu, did the PowerShell window close by itself after your first login, or did it stay open?
The log ends before the completion message, so I cannot confirm that setup restored Windows Update. Please mention if you closed the window or restarted Windows while it was still open
On first login, two powershell windows were opened but the system immediately restarted just as alezio30 says.
Thanks for the reports. I'm going to work on a global fix for upcoming Win11 Creator releases.
If your install already has broken updates, this should get them working again. Please run this in an admin PowerShell window, then restart your PC and try updates once more.
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /f
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /f
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v UseWUServer /f
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DisableWindowsUpdateAccess /f
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v WUServer /f
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v WUStatusServer /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v DODownloadMode /f
Set-Service -Name BITS -StartupType Manual
Set-Service -Name wuauserv -StartupType Manual
Set-Service -Name UsoSvc -StartupType Automatic
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc' -Name 'Start' -Value 3 -Type DWord
gpupdate /force
Restart-Computer
If updates still fail with retry after the restart, run this next in another admin window.
Stop-Service -Name wuauserv -Force -ErrorAction SilentlyContinue
Stop-Service -Name bits -Force -ErrorAction SilentlyContinue
Stop-Service -Name cryptsvc -Force -ErrorAction SilentlyContinue
Remove-Item -Path "C:\Windows\SoftwareDistribution\*" -Recurse -Force -ErrorAction SilentlyContinue
Start-Service -Name cryptsvc
Start-Service -Name bits
Start-Service -Name wuauserv
Then try updates again. If it still fails, please post the exact error code from Windows Update so I can look further. The setup restart happened before the update restore finished, so your PC was left with the temporary setup blocks still in place.
@mewclouds Hey thanks, I have since reinstalled, but this time I also injected drivers when creating the ISO and it seems that all went well now? Windows normally doesn't have network drivers for my Z790 board (Intel NIC), so previously my installs were fully offline. Not sure how this could've caused an issue though. Here are the new logs, if it helps.
Yeah, everything ran cleanly that time. For anyone else in the meantime, run the fixes above in an admin window and report back. I'm working on a long-term fix for this.
The issue is that the restart happened before the script returned the updates to their regular state.
FYI for the long-term fix: #5157 makes Updates > Recommended clear this leftover block explicitly: DisableWindowsUpdateAccess, and WUServer/WUStatusServer/UseWUServer only when WUServer is the http://localhost:8080 marker. That's on top of the NoAutoUpdate/DODownloadMode removal it already does. So once it's in, clicking Recommended should restore the update policies on an affected install. It doesn't re-enable WaaSMedicSvc, which your workaround also does. Happy to adjust it to match whatever the long-term fix does.
Fixed in #5167
17. Fixed in #5167
Hi @mewclouds - seeing a fix is incoming is great news π I also recently did a W11 creator fresh install hit the same issue w/Windows Update, and ran the three (3) commands shared above by participante8 to re-enable Windows Update functionality.
Question: Do you recommend people in similar situations like me should (A) run any other commands right now -and/or- (B) run WinUtil (once the fix is merged) and then select Recommended/etc?
These are the three (3) commands (shared at the top of this thread) I previously ran:
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUServer" -ErrorAction SilentlyContinue
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUStatusServer" -ErrorAction SilentlyContinue
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -ErrorAction SilentlyContinue
gpupdate /force
Thanks!
@ggamel The fix is for future Win11 Creator installations, so I'd run the bigger PowerShell block I shared above
I'm not really sure why this started happening now and not before to be honest, since this bug has been there for a while now π€·π»ββοΈ