question

63876347 avatar image
0 Votes"
63876347 asked RitaHu-MSFT edited

aws ec2 windows server 2016 Os Build Update Error

Ec2Instacne used in AWS (
Windows Server 2016) has a problem updating OS Build and needs help.

My instance version is OS Build 1439.33115 .
The version you want to upgrade is OS Build 14393.4583
( OS Build 14393 . 3115 -- > OS Build 14393 . 4583 )

I've already been helped by case Open by AWS, but I don't think AWS knows the cause well.

This is the site I used as a reference.
https://docs.microsoft.com/en-us/archive/blogs/askcore/how-to-use-dism-to-install-a-hotfix-from-within-windows

I looked at the site and copied it, but I can't use the DISM command.

I know Error87 is a syntax error, but I tried everything I could to get it online, but it didn't work.

I can't even run the sfc scannow command.It is difficult to use safe mode because it is in use on aws.

I will attach an additional DISM log file with the Error screenshot.125430-sfc-error.png125365-dism-error.png125387-update-error.png125354-my-osbuild-ver.png125377-dismlog.txt


windows-server-2016windows-server-update-services
sfc-error.png (2.5 KiB)
dism-error.png (53.9 KiB)
update-error.png (10.0 KiB)
my-osbuild-ver.png (14.6 KiB)
dismlog.txt (56.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RitaHu-MSFT avatar image
0 Votes"
RitaHu-MSFT answered RitaHu-MSFT edited

@63876347
Thanks for your posting on Q&A.

I noticed that you missed "\" when you tried to run the below command to install the .cab file on the Windows server 2016.

 DISM.exe /Online /Add-Package /PackagePath:c:\temp\976571\Windows6.1-KB976571-v2-x64.cab

125453-16.png

Please add the "\" again and then we could try to install the file.

In addition, I tested in my lab and here are related screenshots for your reference:
125464-17.png

Hope the above will be helpful. Please keep us in touch if you have any questions.

Regards,
Rita


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


16.png (35.9 KiB)
17.png (85.5 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your reply.

It's the command I used.

DISM . exe / Online / Add - Package / PackagePath : c : \ temp \ 5005043 \ Windows 10 . 0 - KB5005043 - x64 . cab

I tried add \
But I'm still getting the same error.

0 Votes 0 ·

Have you tried to install the latest SSU first? The latest SSU is KB5001402. Please try to download and then install the KB5001402 on the Windows server 2016 first and then we could try to install the KB5005043 Cumulative Update.

In fact, we have to install the SSU first before installing any Cumulative Updates. Fortunately, the SSUs are inculded into the latest Cumulative Update after Windows 10 2004 and latest version. But we have to install the SSUs manually in Windows Server 2016.

We could get the SSU in this link:
https://www.catalog.update.microsoft.com/Search.aspx?q=KB5001402

Hope the above will be helpful.

Regards,
Rita

1 Vote 1 ·