Sometimes you need the SHA value of a file, in the command prompt you can create a file hash under Windows 11, 10, ...!Hash algorithms: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512 are supported by certutil -hashfile and can be created from any file quite quickly without having to resort to free external tools! Contents: 1.) ... Simple commands to create a file hash!
|
| -dump | Maps configuration information or files. | |
| -asn | Analyze ASN.1 file | |
| -decodehex | Decodes a hexadecimal encoded file. | |
| -decode | Decodes a Base64 encoded file. | |
| -encode | Encodes a file using Base64. | |
| - deny | Denies the pending request. | |
| -resubmit | Resubmits the pending request. | |
| -setattributes | Sets attributes for the pending request. | |
| -setextension | Sets extension for the pending request. | |
| -revoke | Revokes the certificate. | |
| -isvalid | Displays the current certificate disposition. | |
| -getconfig | Determines the default configuration. | |
| -ping | Sends signal to the Certificate Services Active Directory request interface. | |
| -pingadmin | Sends signal to the Certificate Services Active Directory management interface. | |
| -CA Info | Show certification authority information | |
| -approx.cert | Gets the CA certificate. | |
| -ca.chain | Gets the CA certificate chain. | |
| -GetCRL | Gets the blacklist. | |
| -CRL | Publishes new blacklists [resp. delta lock only]. | |
| -shut down | Shuts down Active Directory Certificate Services. | |
| -installCert | Installs the CA certificate. | |
| -renewCert | Renews the CA certificate. | |
| -schema | Maps the certificate scheme. | |
| -view | Maps the certificate view. | |
| -db | Maps the binary database. | |
| -deleterow | Deletes the server database series. | |
| -backup | Backs up Active Directory Certificate Services. | |
| -backupDB | Backs up the Active Directory Certificate Service database. | |
| -backupKey | Backs up Active Directory Services certificate and private key. | |
| -restore | Restores Active Directory Certificate Services. | |
| -restoreDB | Restores the Active Directory Certificate Services database. | |
| -restoreKey | Recovers Active Directory Services Certificate and Private Key. | |
| -importPFX | Imports certificate and private key. | |
| -dynamicfilelist | Displays a dynamic file list. | |
| -databaselocations | Displays the database path. | |
| -hashfile | Generates the crypto. Hash of a file and displays it. | |
| -store | Maps certificate store. | |
| -addstore | Adds a certificate to the store. | |
| -delstore | Deletes a certificate from the store. | |
| -verifystore | Verifies a certificate in the store. | |
| -repair store | Repairs key mapping or updates certificate properties or key security descriptors. | |
| -viewstore | Maps certificate store. | |
| -viewdelstore | Deletes a certificate from the store. | |
| -dsPublish | Publishes certificate or revocation list in Active Directory. | |
| -ADTemplate | View Active Directory templates | |
| -Template | View enrollment policy templates | |
| -TemplateCAs | Displays certificate authorities for template. | |
| -CATemplates | Displays certificate authority templates. | |
| -enrollmentServerURL | View, add, or delete enrollment server URLs for a certificate authority | |
| -ADCA | View Active Directory Certificate Authorities | |
| -CA | View Enrollment Policy Certificate Authorities | |
| -Policy | View registration policy | |
| -PolicyCache | View or clear cached entries for enrollment policies | |
| -CredStore | View, add, or delete credential store entries | |
| -InstallDefaultTemplates | Installs default certificate templates. | |
| -URLCache | Displays or clears URL cache entries. | |
| -pulse | Impulse auto logon events | |
| -Machine Info | Displays Active Directory computer object information. | |
| -DC Info | View domain controller information | |
| -EntInfo | Displays company information. | |
| -TCA info | Show certification authority information | |
| -SCInfo | Displays smart card information. | |
| -SCRoots | Manages smart card root certificates. | |
| - verify keys | Verifies the public-private key pair. | |
| -verify | Verifies certificate, certificate revocation list or chain. | |
| -syncWithWU | Sync with Windows Update | |
| -generateSSTFromWU | Generate SST from Windows Update | |
| - sign | Resigns the revocation list or the certificate. | |
| -vroot | Creates/Deletes Web Virtual Root and releases. | |
| -vocsproot | Creates/Deletes Web Virtual Root for OCSP web proxy | |
| . | ||
| -addEnrollmentServer | Add registration server application | |
| -deleteEnrollmentServer | Delete registration server application | |
| -oid | Displays or sets the name of the object ID. | |
| - error | Displays the message text of the error code. | |
| -gereg | Displays the registry value. | |
| -setreg | Sets the registry value. | |
| -delreg | Deletes the registry value. | |
| -ImportKMS | Imported user. and Z. for archiving in the DB. | |
| -Import Cert | Imports a certificate file into a database. | |
| -GetKey | Retrieves archive recovery blob. private key. | |
| -RecoverKey | Recovers the archived private key. | |
| -MergePFX | Merges PFX files. | |
| -ConvertEPF | Converts PFX files to an EPF file. | |
| -? | Displays this syntax message. |
FAQ 126: Updated on: 26 August 2023 10:58
