The Get-FileHash command doesn't give a positive result; Where to next?

Claus Debanker 21 Reputation points
2023-01-26T20:23:23.6433333+00:00

So, an Win11 ISO file was downloaded and then a verification was performed with PowerShell like this guide shows at

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash?view=powershell-7.3&viewFallbackFrom=powershell-7

The result did not prove the file's integrity. What is a sensible to follow up next? Another ISO file download and a new verification?

(Sure, somewhere reads that Win installation won't be supported the same way as with Win 10 ISO files, but what about the verification anyway?)

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,701 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,280 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Stephen Harper 0 Reputation points
    2023-01-29T04:01:15.14+00:00

    Yes, re-download the ISO file and check the hash again. You may have a corrupted file.

    0 comments No comments

  2. Limitless Technology 43,966 Reputation points
    2023-02-01T11:17:42.28+00:00

    Hi. Thank you for your question and reaching out. I’d be more than happy to help you with your query.

    It would be a good idea to download the ISO file again and perform another verification. If the file fails verification again, it may indicate that the file was corrupted during the download process or that the file has been tampered with. In this case, you should obtain the file from a different source or contact the publisher to obtain a new copy. Additionally, you can use other tools or checksum to verify the file integrity as well.

    And to make it clearer, if the Get-FileHash command does not provide a positive result, it may indicate that the file has been tampered with or that it was corrupted during the download process. Here are a few steps you can take to further investigate the issue: 1. Download the file again from the same source and run the Get-FileHash command again. If the file is still not passing the verification, it may be a problem with the source. 2. Compare the hash value of the file you have downloaded with the one provided by the publisher or developer. If the values do not match, the file may have been tampered with or corrupted. 3. Use other tools to verify the file integrity, such as sha256sum, md5sum, etc. 4. If you're still unsure about the integrity of the file, it would be best to obtain the file from a different source or contact the publisher to obtain a new copy. 5. If you are installing a software, you can also check for digital signature and see if that matches with the publisher's digital signature. It is important to ensure the integrity of files that you download, especially if they are related to system updates or software installations.

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.

    0 comments No comments

  3. Limitless Technology 43,966 Reputation points
    2023-02-01T11:17:49.95+00:00

    Double post

    0 comments No comments