The File Checksum Integrity Verifier Utility

Citrix states in their article: CTX110330

Document ID: CTX110330, Created on: Aug 16, 2006, Updated: Aug 16, 2006

Products: Citrix MetaFrame Presentation Server 3.0 for Microsoft Windows 2000, Citrix MetaFrame Presentation Server 3.0 for Microsoft Windows 2003, Citrix Presentation Server 4.0 for Microsoft Windows 2000, Citrix Presentation Server 4.0 for Microsoft Windows 2003

The File Checksum Integrity Verifier Utility

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.



Primary links

Custom Search

Who's new

  • Choodogek
  • zepsleltpap
  • layersepavy
  • moneytome12
  • maczugaher

Who's online

There are currently 0 users and 4 guests online.

KrissysCorner.com RuthSwensonLaw.com CreativeLizardProductions.com

DISCLAIMER:

None of this has anything to do with us, someone else is responsible for the entire thing, and we have no idea who or why. We do not know anything about it. It may be alien life forms for all we know: we haven't a clue. You cannot blame us for anything that may result from your visit. That was entirely your own personal choice, made by you of your own volition, and without our knowledge. We do not, after all, have any control over you and cannot by any stretch of the imagination be expected to accept or acknowledge, be it legally or morally, any accountability for decisions made by you on an independent basis, utilizing your own free will, and without our intervention. We are therefore in no way, shape, or form answerable to anyone for any consequences arising from the aforementioned or indeed any other actions, similar or otherwise, because it was not us that did, or did not do anything. It is not even remotely our fault, and we are in no way prepared or willing to accept any liability, not even slightly, ever. We are, in fact completely and utterly blameless, in that it is definitely not our concern, and no blame can possibly be laid at our doorstep, even if we had one, the possession of which we hereby reserve as being entirely our own free choice. The onus is not on us at all, and furthermore, never has been. The entire matter is wholly beyond our control, and completely out of our hands, each of which are washed scrupulously clean of the whole business. We are not accountable for anything at all, and we hereby categorically deny all responsibility for all that has ever, or will ever happen. Our innocence is therefore wholly beyond doubt and absolutely unimpeachable, and so cannot, under even the remotest or unlikeliest circumstances, be brought into question. By clicking either on a link on this site, clicking on a link that leads to this site, or by arriving at this site by natural or supernatural means, you are in effect accepting responsibility for the fact that it is all entirely your own fault, down to the most miniscule detail, and that you are wholly accountable for whatever outcome may arise as a consequence of the aforementioned action or actions insofar as they were undertaken personally by you on an entirely voluntary basis and without any persuasion, coercion or influence from any party or parties other than yourself. Don't come sniveling to us, we are only figments of your imagination. I also agree that if I am ever with a contributor to this website during mealtimes I agree to pay for any super-sizing of their meal, or at least a nice dessert or one of those foo-foo drinks with an umbrella or a monkey. By admitting to have seen the worthless spineless drivel on this website (also known as content)

I Agree Wholeheartedly and Without Reservation to the above. (Except maybe for that part about the monkey.)

All Your Base Are Belong To Us.

Soylent Green Is People!

Never make a bet with a Sicilian when Death is on the Line!

No. Really, I do agree.