[SOLVED] Server 2016 Cumulative Updates Rolling Back

All seemed well at first. The command completed with no errors, and said that the system needed to be restarted. I typed Y, and it continued to install the update. However, when we go to almost 100% it rolled back again with "We couldn't complete the updates - Undoing changes - Don't turn off your computer".
 
Please attach the following logs and run SetupDiag to take a look at.

- %windir%\logs\cbs\cbs.log
- %windir%\INF\setupapi.dev.log

Download and run SetupDiag from Microsoft

  • Download
    60e45c659164d-SetupDiag.png
    SetupDiag to your desktop.
  • Right-click on SetupDiag.exe and select Run as administrator.
  • When completed the following files are created: "Logs.zip, SetupDiag.exe.config and SetupDiagResults.log"
  • Attach SetupDiagResults.log and Logs.zip to your next reply.
 
Here are the requested log files.

I ran setupdiag and it closed instantly with no logs.zip created. I ran it again from an admin command prompt, and the following was displayed:

Capture.JPG
 

Attachments

The CBS logs are archived, can you attach a zipped copy of the following folder.

Right-click on the C:\Windows\Logs\CBS folder and choose Send to > Compressed (zipped) folder.
Now the message will appear, "Windows cannot create the Compressed (zipped) Folder here. Do you want it to be placed on the desktop instead?"
Click on the Yes button here and attach this file to your next reply.


Right-click on the Start button and click Windows PowerShell (Admin).
Copy and paste the following command into it, press enter afterwards
Code:
Get-WindowsUpdateLog
Wait for the message "WindowsUpdate.log written to C:\Users\<username>\Desktop\WindowsUpdate.log".
Attach the logfile WindowsUpdate.log to your next reply.
 
Hi,

Can you please check if the following directory's exist.

Code:
%SystemRoot%\WinSxS\amd64_microsoft-windows-s..-csvlk-pack-license_31bf3856ad364e35_10.0.14393.4402_none_dec0e6c87f409bc7
%SystemRoot%\WinSxS\amd64_microsoft-windows-s..-csvlk-pack-license_31bf3856ad364e35_10.0.14393.4946_none_de8e7d347f65f35c

%SystemRoot%\WinSxS\amd64_microsoft-windows-s..verstandard-license_31bf3856ad364e35_10.0.14393.4402_none_054bdd5d57c965e4
%SystemRoot%\WinSxS\amd64_microsoft-windows-s..verstandard-license_31bf3856ad364e35_10.0.14393.4946_none_051973c957eebd79

%SystemRoot%\WinSxS\x86_microsoft-windows-s..-csvlk-pack-license_31bf3856ad364e35_10.0.14393.4402_none_82a24b44c6e32a91
%SystemRoot%\WinSxS\x86_microsoft-windows-s..-csvlk-pack-license_31bf3856ad364e35_10.0.14393.4946_none_826fe1b0c7088226
 
Open a elevated command prompt and run the following six command's to check the permissions. Attach Permissions.txt to your next post.

Code:
icacls %SystemRoot%\WinSxS\amd64_microsoft-windows-s..-csvlk-pack-license_31bf3856ad364e35_10.0.14393.4402_none_dec0e6c87f409bc7 >> "%userprofile%\Desktop\Permissions.txt"
icacls %SystemRoot%\WinSxS\amd64_microsoft-windows-s..-csvlk-pack-license_31bf3856ad364e35_10.0.14393.4946_none_de8e7d347f65f35c >> "%userprofile%\Desktop\Permissions.txt"
icacls %SystemRoot%\WinSxS\amd64_microsoft-windows-s..verstandard-license_31bf3856ad364e35_10.0.14393.4402_none_054bdd5d57c965e4 >> "%userprofile%\Desktop\Permissions.txt"
icacls %SystemRoot%\WinSxS\amd64_microsoft-windows-s..verstandard-license_31bf3856ad364e35_10.0.14393.4946_none_051973c957eebd79 >> "%userprofile%\Desktop\Permissions.txt"
icacls %SystemRoot%\WinSxS\x86_microsoft-windows-s..-csvlk-pack-license_31bf3856ad364e35_10.0.14393.4402_none_82a24b44c6e32a91 >> "%userprofile%\Desktop\Permissions.txt"
icacls %SystemRoot%\WinSxS\x86_microsoft-windows-s..-csvlk-pack-license_31bf3856ad364e35_10.0.14393.4946_none_826fe1b0c7088226 >> "%userprofile%\Desktop\Permissions.txt"
 
The permissions looking good, but after removing all the previous LCU's and reinstalling the latest. The following error appears again, as described by Microsoft this must be a problem with the license for this server? Microsoft Docs article: SLGetLicenseFileId function (slpublic.h) - Win32 apps

Return code/valueDescription
E_INVALIDARG 0x80070057One or more arguments are not valid.
SL_E_INVALID_LICENSE 0xC004F01FThe license is not valid.
SL_E_LICENSE_FILE_NOT_INSTALLED 0xC004F011The license file is not installed.


Rich (BB code):
2022-05-20 10:33:12, Info                  CSI    00000327@2022/5/20:15:33:12.102 'SPP Installer: ProcessInstallOrUninstall (amd64_rosoft-Windows-Security-SPP-Component-SKU-ServerStandard-License_31bf3856ad364e35_10.0.14393.4946_neutral_4829ace3) completed with hr=0xc004f01f'

2022-05-20 10:33:12, Error                 CSI    00000329@2022/5/20:15:33:12.102 (F) CMIADAPTER: AI failed. HRESULT = c004f01f [Error,Facility=FACILITY_ITF,Code=61471 (0xf01f)]
    Element:
    '<sppInstaller xmlns="urn:schemas-microsoft-com:spp:installer" />'
[gle=0x80004005]
2022-05-20 10:33:12, Error                 CSI    0000032a@2022/5/20:15:33:12.102 (F) CMIADAPTER: Exiting with HRESULT code = c004f01f [Error,Facility=FACILITY_ITF,Code=61471 (0xf01f)].
[gle=0x80004005]
2022-05-20 10:33:12, Error      [0x01803c] CSI    0000032b (F) Failed execution of queue item Installer: SppInstaller ({1b265fd2-721c-4e59-ad55-9d102a5d1d7f}) with HRESULT c004f01f [Error,Facility=FACILITY_ITF,Code=61471 (0xf01f)].  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]
 
Please check the following folder again to see which subfolders are present:

C:\Windows\System32\spp\tokens\skus
 
I know the license is good... This Server was installed with the Server 2016 Trial ISO and upgraded to 2016 Standard. Activation worked normally... I feel like there's got to be a corrupt file somewhere. At this point, I am feeling like I would spend less time just wiping the server and starting from scratch. Unless you feel like we are close to a breakthrough?

In that directory, I have: csvlk-pack, ServerStandard, ServerStandardEval.old
 
I feel like there's got to be a corrupt file somewhere.
I think so too, and most likely in the folders you've checked in post #86, please run the following script to collect those folders. Then I can compare it to the files on a VM and the original KB's.

Download
56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.
  • Download the attachment SFCFixScript.txt and save it to your desktop.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
62151e1bebac4-SFCFix-Txt-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called Folders.zip.
  • Attach this file as attachment to your next reply.
 

Attachments

Please run the attached script again, some double \\ were present, and thereby the script is not completely executed.
 

Attachments

You have got to be kidding me... It worked. Never in my wildest dreams would I have thought it could be something so simple. Thank you so much. I know this was a tedious job, and it is appreciated. I will remember that one for the future!
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top