The last cumulative update for Windows 10 1607 didn’t want to install on my computer. So I started to troubleshoot and gathered some of my troubleshooting tips here you have trouble installing an update.
First of all, if you have issued installing an update, always try twice. It maybe a random issue that may be fixed with a restart.
If the issue still exists, the first place to look is the CBS log files, located in the %SystemRoot%\Logs\CBS and is called CBS.log
Open the file in notepad and search for “, error” “, fail” “rollback” and look for errors in the log
In my case I found this in CBS.log
Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed;
Looked in the log to see what happened prior to this error message and found errors like this
- HRESULT_FROM_WIN32(ERROR_ALREADY_EXISTS)
- HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED)
But where did this came from? Looking back in the CBD log, it is obviously an issue with a scheduled task
So I tried to delete this manually from the Scheduled Tasks, did not work – Access Denied. So time to fire up Sysinternals ProcMon to start a trace to see where the issue originated. Found out that the task tree is saved in this registry key:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree
and all the tasks details points to a GUID and can be found here
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks
So located the XblGameSave Standby Task in the registry Tree key and located the id GUID in the Tasks key, deleted both keys.
Retried the update and now the it was successfully installed!
Note! Make sure to troubleshoot carefully and handle registry with care. Make sure you have a current backup close when making this kind of changes