Hello @Clement, Ronald (SSC/SPC)
This doesn't necessarily mean pinning an application is corrupting Windows. Based on the behavior you described, SFC appears to be detecting a hash difference in a shortcut (.lnk) that Windows modifies as part of Start menu customization.
The important thing is to identify exactly what CBS is reporting. After reproducing the issue, run:
findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log > "%userprofile%\Desktop\SFC-details.txt"
If the only reported files are shortcuts that you intentionally pinned or modified, I would treat this differently from actual WinSxS/component-store corruption. There have also been other reports of Start menu pinning behavior on Windows Server 2025, so a shell/servicing interaction is plausible rather than a damaged ISO.
For the DISM source-files-not-found issue, the ISO source needs to match the installed Windows Server edition closely. After cumulative updates, the installed OS can also be at a substantially newer servicing level than the original ISO, which can make the RTM install.wim unsuitable as a repair source.
First, determine the correct WIM index:
DISM /Get-WimInfo /WimFile:D:\sources\install.wim
Then use the index corresponding to the installed edition, for example:
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:D:\sources\install.wim:<index> /LimitAccess
Using :2 without verifying the index isn't safe because the index depends on the media. Microsoft guidance similarly recommends checking the WIM contents before selecting the repair source.
The fact that your original ISO repairs the unpatched installation but fails after Windows Server 2025 is updated is particularly significant. Windows Server 2025 cumulative updates also service the component store, so I would test with updated installation media that matches the server's servicing level, rather than assuming the original ISO remains a valid repair source. Microsoft documents servicing Windows Server 2025 installation media with cumulative update packages.
I also wouldn't manually delete or replace files under WinSxS to satisfy SFC. If CBS consistently identifies the same .lnk files immediately after a supported Start menu pin operation, while DISM otherwise reports the image healthy, this is worth reporting to Microsoft as a Windows Server 2025 servicing/Start menu issue, with the CBS log and exact OS build attached.
Sharing these references with you:
Microsoft: Repair a Windows image with DISM ·
Microsoft Q&A: Server 2025 Start Menu pinned items
Windows Server 2025 servicing example
Please "Accept the Answer" if this information helped you. This will help us and others in the community.