I was trying to install Windows Hardware Lab Kit on the Windows Server 2016, but always failed and got the error as the below picture:
I found some errors in the logs and it seems that the source of package to download, 'package_HLKSetupPreConditions_x86_en_us', is invalid. How can I fix it?
[0FF8:12D4][2021-04-22T16:12:02]i362: System restore disabled, system restore point not created.
[0FF8:12D4][2021-04-22T16:12:02]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{a2ce327a-a662-46e0-8bfd-7ac4b4e16e58}, options: 0x7, disable resume: No
[0FF8:12D4][2021-04-22T16:12:02]i000: Caching bundle from: 'C:\Users\ADMINI~1\AppData\Local\Temp\{a2ce327a-a662-46e0-8bfd-7ac4b4e16e58}\.be\HLKSetup.exe' to: 'C:\ProgramData\Package Cache\{a2ce327a-a662-46e0-8bfd-7ac4b4e16e58}\HLKSetup.exe'
[0FF8:12D4][2021-04-22T16:12:02]i320: Registering bundle dependency provider: {a2ce327a-a662-46e0-8bfd-7ac4b4e16e58}, version: 10.1.14393.4
[0FF8:12D4][2021-04-22T16:12:02]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{a2ce327a-a662-46e0-8bfd-7ac4b4e16e58}, resume: Active, restart initiated: No, disable resume: No
[00C4:01A0][2021-04-22T16:12:02]w343: Prompt for source of package: package_HLKSetupPreConditions_x86_en_us, payload: package_HLKSetupPreConditions_x86_en_us, path: C:\Users\Administrator\Downloads\Installers\HLK Setup PreConditions-x86_en-us.msi
[00C4:01A0][2021-04-22T16:12:02]i000: package_HLKSetupPreConditions_x86_en_us
[00C4:01A0][2021-04-22T16:12:02]i000: Resolving download root for: http://go.microsoft.com/fwlink/?prd=12546&pver=10&plcid=0x409&clcid=0x409&ar=Redstone&sar=HLK&o1=10.0.14393.0
[00C4:01A0][2021-04-22T16:12:02]i000: HTTP status code: 302
[00C4:01A0][2021-04-22T16:12:02]i000: Redirected URL: https://www.microsoft.com?ref=go
[00C4:01A0][2021-04-22T16:12:02]i000: Resolved redirected download root: https://www.microsoft.com?ref=go/
[00C4:01A0][2021-04-22T16:12:02]i000: package_HLKSetupPreConditions_x86_en_us to https://www.microsoft.com/Installers/HLK Setup PreConditions-x86_en-us.msi
[00C4:01A0][2021-04-22T16:12:02]i338: Acquiring package: package_HLKSetupPreConditions_x86_en_us, payload: package_HLKSetupPreConditions_x86_en_us, download from: https://www.microsoft.com/Installers/HLK Setup PreConditions-x86_en-us.msi
[0FF8:09BC][2021-04-22T16:12:02]e000: Error 0x80091007: Hash mismatch for path: C:\ProgramData\Package Cache\.unverified\package_HLKSetupPreConditions_x86_en_us, expected: C6A5BA076883B5C556DB26FC0F986D73D1E8EAD9, actual: F21BF2F13F89D1C9DFD2844D57728102D5714EAA
[0FF8:09BC][2021-04-22T16:12:02]e000: Error 0x80091007: Failed to verify hash of payload: package_HLKSetupPreConditions_x86_en_us
[0FF8:09BC][2021-04-22T16:12:02]e310: Failed to verify payload: package_HLKSetupPreConditions_x86_en_us at path: C:\ProgramData\Package Cache\.unverified\package_HLKSetupPreConditions_x86_en_us, error: 0x80091007. Deleting file.
[0FF8:09BC][2021-04-22T16:12:02]e000: Error 0x80091007: Failed to cache payload: package_HLKSetupPreConditions_x86_en_us
[00C4:01A0][2021-04-22T16:12:02]i000: ERROR: Failed to verify the integrity of payload [package_HLKSetupPreConditions_x86_en_us] for Package package_HLKSetupPreConditions_x86_en_us
[00C4:01A0][2021-04-22T16:12:02]i000: RetryManager: Retry acquire for cache verification error on payload [package_HLKSetupPreConditions_x86_en_us]
90489-windows-hardware-lab-kit-windows-10-20210422161130.log
See the attachment for the whole log. Thanks!