sâmbătă, 21 mai 2016

Checksum Verification with Microsoft File Checksum Integrity Verifier

For executing the checksum verification follow the steps:
  1. Install the File Checksum Integrity Verifier. You can download it from microsoft site. 
  2. Create a but file with the script comands for every neccesary subfolder.
Ex of fciv cmd script:
     fciv.exe -v -bp E:\...\test -sha1 -xml   
   "E:\DB/..\test -sha1.xml"   

where
fciv - the comand for checksum
-v - executing the verification
-bp - remove the base path (it will not remove anything on your subfolder, just used for its verification)
E:\..\test\  - the subfolder path that contains other subfolders with file content
sha1 - is the verification algoritm
"E:\..\test -sha1.xml" - the name of DB xml that contains all the hashes with with will be compared to.
   
 3.  Put the bat script file into the same path with the fciv.exe file of instaled Checksum Integrity Verifier program that you downloaded from microsoft site.
4. Execute the bat created. Ex:
D:\Tasks\Checksum>D:\Tasks\Checksum\checksum.bat >checksum.log
You will receive the log trace in checksum.log

Niciun comentariu:

Trimiteți un comentariu