Categories:
  🠪  General

Email
  🠪  Servers
  🠪  Testing
  🠪  Tips

Hardware
  🠪  3D Printing
  🠪  Apple
  🠪  Batteries
  🠪  Drives
  🠪  Edgerouter
  🠪  Electronics
  🠪  Laptop
  🠪  Modems
  🠪  Phone
  🠪  Printers
  🠪  Raspberry Pi
  🠪  Tablets
  🠪  Testing
  🠪  Virtualization

hidden
  🠪  General

Links
  🠪  Interesting
  🠪  Media

Network
  🠪  Data
  🠪  Testing
  🠪  VPN

Scripts
  🠪  Batch
  🠪  Linux
  🠪  Powershell

Servers
  🠪  Databases
  🠪  Misc
  🠪  Website

Software
  🠪  Other

Utilities
  🠪  Backup
  🠪  Fix Issues
  🠪  Recovery

Video
  🠪  Editing

Websites
  🠪  HTML
  🠪  Testing

Windows
  🠪  Adjustments
  🠪  Issues
  🠪  Remote Desktop
  🠪  Security
  🠪  Slow
  🠪  Software
  🠪  Startup

Submit Entry
Airin's Notes

Category: Windows 🠪 Issues
Windows 10 Update Failure Analysis
November 25, 2023

Known fixes:

"The system registry contains invalid file paths. Installation cannot proceed. This system image was applied without guaranteeing that drive-letter assignment would match across computers."
Set Environment Variable Path to: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
Remove 'Windows_Tracing_Flags' and 'Windows_Tracing_Logfile'


These tools let you do some diagnosis:

Setupdiag allows you to try to determine why a Windows 10 upgrade failed.
https://docs.microsoft.com/en-us/windows/deployment/upgrade/setupdiag

You can also analyze the log files:
https://support.microsoft.com/en-us/topic/log-files-that-are-created-when-you-upgrade-to-a-new-version-of-windows-9ec8aa31-0cc1-a0b2-2d98-e9c6714349b9


You can save this to a .bat file and run as admin:
SC config trustedinstaller start= auto
net stop bits
net stop wuauserv
net stop msiserver
net stop cryptsvc
if exist %Systemroot%\SoftwareDistribution.old rd /q /s %Systemroot%\SoftwareDistribution.old
Ren %Systemroot%\SoftwareDistribution SoftwareDistribution.old
if exist %Systemroot%\System32\catroot2.old rd /q /s %Systemroot%\System32\catroot2.old
Ren %Systemroot%\System32\catroot2 catroot2.old
dism /Online /Cleanup-image /ScanHealth
dism /Online /Cleanup-image /CheckHealth
dism /Online /Cleanup-image /RestoreHealth
dism /Online /Cleanup-image /StartComponentCleanup
Sfc /ScanNow


Keywords: Upgrade, Update, Win10, Fails, Windows 7, Windows 8, Win7, Win8





This site is meant to be used as a reference for myself, although others may find it useful. I use it to keep track of certain fixes, software, and other solutions which I may need while assisting customers. The page layout is pure HTML/CSS and is kept simple to optimize loading time and fast results.

Return to Airin's Computers