Generating Checksum on Windows

I got an interesting request from one of the enterprises which uses vijava in their product. Although there are downloads for binary and source packages on the sourceforge Web site, they still would like me to create the checksum as I am the trustable source for that. As I was told, the checksum is required by their build team. I don’t know how is exactly used, but I decided to help out anyway.

As I mainly use Windows for my own development, I searched for a tool that can generate the checksum. With no surprise, I found one from Microsoft. Its official name is called File Checksum Integrity Verifier (FCIV) utility. It does not come with GUI, but strictly command line which is good enough for me to generate the checksums. On high level, the FCIV:

Lost VMs or Containers? Too Many Consoles? Too Slow GUI? Time to learn how to "Google" and manage your VMware and clouds in a fast and secure HTML5 App.

  • Supports MD5 or SHA1 hash algorithms (The default is MD5.)
  • Can output hash values to the console or store the hash value and file name in an XML file
  • Can recursively generate hash values for all files in a directory and in all subdirectories (for example, fciv.exe c:\ -r)
  • Supplies an exception list to specify files or directories to hash
  • Can store hash values for a file with or without the full path of the file

There are a few options for the command line which I won’t go through here. To save my time, I just create an XML file with both MD5 and SHA1 hashes.

Here is the command line I used to create the checksums for the vijava API 5.1:

C:\Temp\MS_checkSum>fciv.exe -both -xml vijava51.xml

The XML generated is as follows:

<?xml version="1.0" encoding="UTF-8"?>

If you have to use checksum on Windows in the future, the FCIV utility is the way to go. As a command line, it should be easy to be integrated in your build system as well.


This entry was posted in Software Development and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.


  1. Posted March 4, 2013 at 12:31 am | Permalink

    Generating Checksum on Windows (DoubleCloud)

  2. Posted March 6, 2013 at 12:56 pm | Permalink

    Generating Checksum on Windows via @sjin2008

One Trackback

  • By Tofa IT » Generating Checksum on Windows on March 4, 2013 at 7:34 am

    […] the checksum as I am the trustable source for that. As I was told, the checksum is required by […]Generating Checksum on Windows originally appeared on DoubleCloud by Steve Jin, author of VMware VI and vSphere SDK (Prentice […]

Post a Comment

Your email is never published nor shared. 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>


    My company has created products like vSearch ("Super vCenter"), vijavaNG APIs, EAM APIs, ICE tool. We also help clients with virtualization and cloud computing on customized development, training. Should you, or someone you know, need these products and services, please feel free to contact me: steve __AT__

    Me: Steve Jin, VMware vExpert who authored the VMware VI and vSphere SDK by Prentice Hall, and created the de factor open source vSphere Java API while working at VMware engineering. Companies like Cisco, EMC, NetApp, HP, Dell, VMware, are among the users of the API and other tools I developed for their products, internal IT orchestration, and test automation.