Howard_inGA
Senior Member
While trying to check my download signatures in both CMD or Powershell in Win 11, I'm getting a failure that I can't pinpoint. Here is the command used and the returned result. Note that they are the same in both, and fail when used on the trx file itself or the zip file.
Powershell-
PS C:\Users\howar> certutil -hashfile C:\Users\howar\Downloads\Computer Items\Router Info\ASUS RT-AC5300\RT-AC5300_386.11_0.zip sha256
Expected no more than 2 args, received 5
CertUtil: Too many arguments
Usage:
CertUtil [Options] -hashfile InFile [HashAlgorithm]
Generate and display cryptographic hash over a file
Options:
-Unicode -- Write redirected output in Unicode
-gmt -- Display times as GMT
-seconds -- Display times with seconds and milliseconds
-v -- Verbose operation
-privatekey -- Display password and private key data
-pin PIN -- Smart Card PIN
-sid WELL_KNOWN_SID_TYPE -- Numeric SID
22 -- Local System
23 -- Local Service
24 -- Network Service
Hash algorithms: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512
CertUtil -? -- Display a verb list (command list)
CertUtil -hashfile -? -- Display help text for the "hashfile" verb
CertUtil -v -? -- Display all help text for all verbs
PS C:\Users\howar>
CMD Prompt-
C:\Windows\System32>certutil -hashfile C:\Users\howar\Downloads\Computer Items\Router Info\ASUS RT-AC5300\RT-AC5300_386.11_0.zip SHA256
Expected no more than 2 args, received 5
CertUtil: Too many arguments
Usage:
CertUtil [Options] -hashfile InFile [HashAlgorithm]
Generate and display cryptographic hash over a file
Options:
-Unicode -- Write redirected output in Unicode
-gmt -- Display times as GMT
-seconds -- Display times with seconds and milliseconds
-v -- Verbose operation
-privatekey -- Display password and private key data
-pin PIN -- Smart Card PIN
-sid WELL_KNOWN_SID_TYPE -- Numeric SID
22 -- Local System
23 -- Local Service
24 -- Network Service
Hash algorithms: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512
CertUtil -? -- Display a verb list (command list)
CertUtil -hashfile -? -- Display help text for the "hashfile" verb
CertUtil -v -? -- Display all help text for all verbs
Any ideas as to what I'm doing wrong?
Powershell-
PS C:\Users\howar> certutil -hashfile C:\Users\howar\Downloads\Computer Items\Router Info\ASUS RT-AC5300\RT-AC5300_386.11_0.zip sha256
Expected no more than 2 args, received 5
CertUtil: Too many arguments
Usage:
CertUtil [Options] -hashfile InFile [HashAlgorithm]
Generate and display cryptographic hash over a file
Options:
-Unicode -- Write redirected output in Unicode
-gmt -- Display times as GMT
-seconds -- Display times with seconds and milliseconds
-v -- Verbose operation
-privatekey -- Display password and private key data
-pin PIN -- Smart Card PIN
-sid WELL_KNOWN_SID_TYPE -- Numeric SID
22 -- Local System
23 -- Local Service
24 -- Network Service
Hash algorithms: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512
CertUtil -? -- Display a verb list (command list)
CertUtil -hashfile -? -- Display help text for the "hashfile" verb
CertUtil -v -? -- Display all help text for all verbs
PS C:\Users\howar>
CMD Prompt-
C:\Windows\System32>certutil -hashfile C:\Users\howar\Downloads\Computer Items\Router Info\ASUS RT-AC5300\RT-AC5300_386.11_0.zip SHA256
Expected no more than 2 args, received 5
CertUtil: Too many arguments
Usage:
CertUtil [Options] -hashfile InFile [HashAlgorithm]
Generate and display cryptographic hash over a file
Options:
-Unicode -- Write redirected output in Unicode
-gmt -- Display times as GMT
-seconds -- Display times with seconds and milliseconds
-v -- Verbose operation
-privatekey -- Display password and private key data
-pin PIN -- Smart Card PIN
-sid WELL_KNOWN_SID_TYPE -- Numeric SID
22 -- Local System
23 -- Local Service
24 -- Network Service
Hash algorithms: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512
CertUtil -? -- Display a verb list (command list)
CertUtil -hashfile -? -- Display help text for the "hashfile" verb
CertUtil -v -? -- Display all help text for all verbs
Any ideas as to what I'm doing wrong?