The File Checksum Integrity Verifier (FCIV) is a command prompt utility that computes and verifies cryptographic hash values of files. FCIV can compute MD5 or SHA-1 cryptographic hash values. These values can be displayed on the screen or saved in an XML file database for later use and verification.
This utility is available from Microsoft at
Availability and description of the File Checksum Integrity Verifier utility.
Features
The FCIV utility has the following features:
Supports MD5 or SHA-1 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
Commands
-add file | dir: Compute the hash and send it to an output device (default screen). The dir parameter has the following options: -r: Recursive
-type: Specify file type. For example, -type *.exe
-exc file: Do not compute these directories.
-wp: Do not store the full path name (by default, FCIV stores the full path name).
-bp: Remove the base path from the path name of each entry.
-list: List entries in the database.
-v: Verify hashes. The -v option has the following option: -bp: Remove the base path from the path name of each entry.
-?, -h, or -help: Open extended help.
How to use the FCIV utility to check the installation of a Citrix environment
The text below can be added to a batch file and run on a known good server. The batch file creates an XML file that contains the database of all the files in the directories and subdirectories listed.
fciv.exe -add "c:\program files\citrix" -r -XML c:\citrixfiles.xml
fciv.exe -add "c:\winnt\system32\ctxgina.dll" -r -XML c:\citrixfiles.xml
fciv.exe -add "c:\winnt\system32\ctxrdpwsx.dll" -r -XML c:\citrixfiles.xml
fciv.exe -add "c:\winnt\system32\vdtw30.dll" -r -XML c:\citrixfiles.xml
fciv.exe -add "c:\winnt\system32\wsxica.dll" -r -XML c:\citrixfiles.xml
fciv.exe -add "c:\winnt\system32\drivers\wdica.sys" -r -XML c:\citrixfiles.xml
Pause
Once the text above is added to a batch file and modifies the location of where to store the database, follow the procedure below to create the XML database file:
1. Run the batch file on a known good server. This creates a file called citrixfiles.xml on the C drive.
2. To list the contents of the database to the console, type the following command:
fciv.exe -list -XML c:\citrixfiles.xml
3. To verify the contents of the XML database against the server that is to be verified, type the following command:
fciv -v -XML c:\citrixfiles.xml ( this could also be piped to a text document)
Note: Files that do not match appear in the command window.
There are known files that do not match on the servers, such as IMAlhc.mdb, any logs that are in the folders such as Resource Manager logs, and Resource Manager summary files that are waiting to be uploaded.
http://support.citrix.com/article/CTX110330