Hello,
What you are seeing is a Windows AppX package management issue with Notepad, specifically where one version is fully installed (11.2508.38.0) and a newer version (11.2510.14.0) is stuck in the staged state across multiple VMs. A reboot does not clear staged packages because the AppX deployment pipeline requires either a commit or a cleanup of the staged package.
The proper way to resolve this is to force the staged package to complete installation or remove the staged copy so that the system can reattempt the update. On one of the affected machines, open PowerShell as Administrator and run:
Get-AppxPackage -Name Microsoft.WindowsNotepad -AllUsers
This will confirm both the installed and staged versions. To clear the staged package, run:
Remove-AppxPackage -Package Microsoft.WindowsNotepad_11.2510.14.0_x64__8wekyb3d8bbwe -AllUsers
If you want to force the update to complete instead of removing it, use:
Add-AppxPackage -Register "C:\Program Files\WindowsApps\Microsoft.WindowsNotepad_11.2510.14.0_x64__8wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown
After this, check again with Get-AppxPackage to ensure only one version remains. If you remove the staged package, Windows Update or the Microsoft Store will push the newer version again, but this time it should install cleanly.
For environments with hundreds of VMs, you should script this cleanup using PowerShell Remoting or Intune/Configuration Manager so that the staged package is either removed or committed across all machines. The key point is that leaving both installed and staged versions causes vulnerability scanners to flag the package because the staged copy is not patched or usable.
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.