Windows: Generate file checksum Hash easily

Windows has a build in command line tool called CertUtil, which allows you to generate a file checksum hash.

For exmaple:
CertUtil -hashfile [FileName] [Hash Algorithm]

[Hash Algorithm] could be: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512

An example command would be:
CertUtil -hashfile c:\myfile.txt SHA512.

This command line will give you an output of hash string, which you can use to verify the file integrity after the file transfer.

Here’s what the output looks like:
hash_commandline

Comment

  1. Thanks for sharing this. Cheers


    Sam Smith
    Technology Evangelist and Aspiring Chef.
    Large file transfers made easy.
    http://www.innorix.com/en/DS

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>