当前位置:网站首页>For patch rollback, please check the cbpersistent log

For patch rollback, please check the cbpersistent log

2022-06-23 03:36:00 shawyang

Problem description : Domain member machines are self built update The server could not be successfully updated KB5009595、KB5009624 this 2 A patch , Manual downloading of installation files for patching , Show Installation complete Tips Restart Now, However, the application failed to succeed after restarting , Finally rolled back .

The Remote Desktop Session host service and related diagnostic tools are installed on the domain member machine

Later, I adjusted the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList in ProgramData The default value of :%SystemDrive%\ProgramData , It's set to D:\ProgramData

Later, I will install 2022 year 1 The security patch released in January KB5009595、KB5009624, After installation, restart the machine and rollback the process of applying the patch .

upate These are the logs

C:\Windows\Logs\DISM\dism.log

C:\Windows\WindowsUpdate.log

C:\Windows\Logs\CBS\CBS.log

C:\Windows\Logs\CBS\CbsPersist*.log or C:\Windows\Logs\CBS\CbsPersist*.cab

Generally speaking WindowsUpdate.log、CbsPersist* Just go

From the latest rollback process ,CbsPersist journal (C:\Windows\Logs\CBS\ ) Show The system accesses D:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Terminal Services, An attempt was made to create a file but the prompt path could not be found :STATUS_OBJECT_PATH_NOT_FOUND

You need to check the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList Inside ProgramData Whether the configuration is different from the default , Default should be %SystemDrive%\ProgramData

After checking, it was changed to D:\ProgramData, I dare not change it any more , Let's keep the status quo

in addition , This is a remote desktop session host , Relevant diagnostic tools are installed , Since we can't ( Afraid to ) Revise ProgramData To configure , Consider removing the Remote Desktop Session host related diagnostic tools or creating D Path where the disk does not exist , Try installing the patch after reboot .

The thought of 2 A plan :

1、 uninstall Administrative Tools\Terminal Services, I know this is to install the Remote Desktop Session host The emergence of , How was it installed , On the contrary, unload

2、 To confirm the D:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools Does the path exist , Is there any document in it ?

If the path doesn't exist , Open as an administrator powshell Run this 2 Sentence command Ba C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools copy to D The corresponding position of the disc , Test and patch again to see if you can avoid this problem

mkdir -force "D:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools"

Xcopy /E /F /Y "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools" "D:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools"

Implementation plan 1 After that, the patch was successfully installed . programme 2 If there is a scene next time , Try it then .

原网站

版权声明
本文为[shawyang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/01/202201171951372332.html