question

FrankErli-1828 avatar image
0 Votes"
FrankErli-1828 asked ·

How do I get version/revision of CertUtil

I've noticed fciv is no longer available for download. Is this permanent? Assuming so, the alternative seems to be CertUtil. I would like to use CertUtil but need to know the revision/version.

In fciv the revision/version is reported by default when the results of the checksum is displayed. However, CertUtil does not even in verbose mode. I looked at all the verbs available and it is not obvious to me how to display the revision/version.

My question is how do I get the revision/version for CertUtil?

dotnet-cli
· 3
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

certutil by no means is a replacement for FCIV. BTW, what is the purpose of getting certutil version? You can find its version in file properties.

0 Votes 0 ·

Thanks for your response.

I realize fciv is limited compared to CertUtil. However, CertUtil can be used to provide the function previously provided by fciv.

Example: CertUtil -hashfile myfile.txt SHA1

In regulated industries it is common to have to validate any utility used to create/verify a product. This usually includes specifying the version/revision that is validated.

You mentioned you can get the revision via file properties. That was valuable information for me. I assume you mean in the details tab of the files properties. Is there a way to get that using Command Line Interface? Either using CertUtil itself or some other utility where the CertUtil.exe file is specified?

0 Votes 0 ·

Hi Frank

Thank you for contacting Microsoft Open Specifications Support. Your question does not appeared related to Microsoft Open Specifications Documentation, I've removed openspecs-windows tag from the post.


0 Votes 0 ·

1 Answer

Crypt32 avatar image
0 Votes"
Crypt32 answered ·

you can get executable version using WMIC (command prompt only):

 WMIC DATAFILE WHERE name="C:\\windows\\system32\\certutil.exe"
· 2 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I added get Version to the end and got what I was after in a pretty output. Thanks for the help.

C:\Windows> WMIC DATAFILE WHERE name="C:\\windows\\system32\\certutil.exe" get Version
Version
10.0.17763.1697

0 Votes 0 ·

Thank Cryp32 for answering the question 8 )

0 Votes 0 ·