Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows updates failed with 'Exception from HRESULT: 0x80240438'. Retrying... #146

Open
sivashanmugamiag opened this issue Jul 21, 2024 · 1 comment

Comments

@sivashanmugamiag
Copy link

=> Image/WINDOWS/2019/SQL2019/STD/X.amazon-ebs.win19_SQL2019_Std: Uploading the Windows update elevated script...
2024/07/19 21:41:10 packer-plugin-windows-update_v0.16.0_x5.0_linux_amd64 plugin: 2024/07/19 21:41:10 [INFO] 4426 bytes written for 'uploadData'
2024/07/19 21:41:10 [INFO] 4426 bytes written for 'uploadData'
2024/07/19 21:41:10 packer-plugin-amazon_v1.3.2_x5.0_linux_amd64 plugin: 2024/07/19 21:41:10 Uploading file to 'C:/Windows/Temp/packer-windows-update-elevated.ps1'
==> Image/WINDOWS/2019/SQL2019/STD/X.amazon-ebs.win19_SQL2019_Std: Uploading the Windows update check for reboot required elevated script...
2024/07/19 21:41:14 packer-plugin-windows-update_v0.16.0_x5.0_linux_amd64 plugin: 2024/07/19 21:41:14 [INFO] 4247 bytes written for 'uploadData'
2024/07/19 21:41:14 [INFO] 4247 bytes written for 'uploadData'
2024/07/19 21:41:14 packer-plugin-amazon_v1.3.2_x5.0_linux_amd64 plugin: 2024/07/19 21:41:14 Uploading file to 'C:/Windows/Temp/packer-windows-update-pending-reboot-elevated.ps1'
==> Image/WINDOWS/2019/SQL2019/STD/X.amazon-ebs.win19_SQL2019_Std: Uploading the Windows update script...
2024/07/19 21:41:17 packer-plugin-windows-update_v0.16.0_x5.0_linux_amd64 plugin: 2024/07/19 21:41:17 [INFO] 10350 bytes written for 'uploadData'
2024/07/19 21:41:17 [INFO] 10350 bytes written for 'uploadData'
2024/07/19 21:41:17 packer-plugin-amazon_v1.3.2_x5.0_linux_amd64 plugin: 2024/07/19 21:41:17 Uploading file to 'C:/Windows/Temp/packer-windows-update.ps1'
==> Image/WINDOWS/2019/SQL2019/STD/X.amazon-ebs.win19_SQL2019_Std: Running Windows update...
2024/07/19 21:41:21 packer-plugin-amazon_v1.3.2_x5.0_linux_amd64 plugin: 2024/07/19 21:41:21 [INFO] starting remote command: PowerShell -ExecutionPolicy Bypass -OutputFormat Text -File C:/Windows/Temp/packer-windows-update-elevated.ps1
Image/WINDOWS/2019/SQL2019/STD/X.amazon-ebs.win19_SQL2019_Std: Searching for Windows updates...
Image/WINDOWS/2019/SQL2019/STD/X.amazon-ebs.win19_SQL2019_Std: Waiting for operation to complete (system performance: 0% cpu; 12% memory)...
Image/WINDOWS/2019/SQL2019/STD/X.amazon-ebs.win19_SQL2019_Std: Search for Windows updates failed with 'Exception from HRESULT: 0x80240438'. Retrying...
Image/WINDOWS/2019/SQL2019/STD/X.amazon-ebs.win19_SQL2019_Std: Waiting for operation to complete (system performance: 3% cpu; 12% memory)...
Image/WINDOWS/2019/SQL2019/STD/X.amazon-ebs.win19_SQL2019_Std: Search for Windows updates failed with 'Exception from HRESULT: 0x80240438'. Retrying...
Image/WINDOWS/2019/SQL2019/STD/X.amazon-ebs.win19_SQL2019_Std: Waiting for operation to complete (system performance: 1% cpu; 12% memory)...

@sivashanmugamiag
Copy link
Author

After multiple attempts windows update fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant