Hello,
The behavior you are seeing with KB5007651 repeatedly downloading and reinstalling on Windows Server 2025 build 26100.32522 is not a generic Windows Update cache issue. That update is the Windows Defender Antivirus Platform Update, and it is known to loop when the servicing stack believes the patch is not fully applied. This typically happens in sysprep images or non‑activated builds because the update detection logic relies on registry and servicing stack state that is finalized only after activation.
Deleting SoftwareDistribution and Catroot2 folders is useful for clearing stale update metadata, but in your case the loop persists because the registry keys under HKLM\SOFTWARE\Microsoft\Windows Defender\Signature Updates and the servicing stack catalog entries are not being updated correctly. On non‑activated images, the update installer may stall silently without logging an error, which matches what you described.
There is no supported permanent registry hack to suppress KB5007651. Microsoft’s servicing stack will continue to re‑offer it until the system reports the correct platform version. The only reliable way to break the loop is:
- Ensure the image is fully activated before capture. Non‑activated builds often fail to commit Defender platform updates.
- Apply the latest Servicing Stack Update (SSU) and Cumulative Update for Server 2025 before sysprep. These updates refresh the detection logic for Defender platform patches.
- If you must work with a non‑activated image, disable Defender platform updates temporarily using Group Policy (Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus > Signature Updates) and re‑enable after deployment and activation.
Since you mentioned this is a sysprep image, the best practice is to activate the reference machine, apply all cumulative and platform updates until Windows Update reports “no updates available,” then generalize with sysprep. Capturing a non‑activated image will almost always cause servicing anomalies like the one you are seeing.
In short, you cannot permanently fix KB5007651 in the registry or file system on a non‑activated Server 2025 image. The supported resolution is to activate the reference build, apply the SSU and cumulative updates, and then capture. If activation is not possible, you will need to accept that the Defender platform update will re‑apply after deployment until the machine is licensed.
I hope you've found something useful here. If it helps you get more insight into the issue, it's appreciated to accept the answer. Should you have more questions, feel free to leave a message. Have a nice day!
Domic Vo.