certutil hashfileIT technician command center
Windows CMD · Windows Command Line

certutil hashfile

Calculate a file hash.

Copy-ready commandcertutil hashfile
certutil -hashfile installer.exe SHA256

Requirements and permissions

Requirements
Windows 10/11 or Windows Server
Permissions
Varies by command
Last reviewed
2026-07-31

Examples

Basic example

Calculate a file hash.

certutil -hashfile installer.exe SHA256

Common errors

Command not found

Confirm Windows 10/11 or Windows Server is installed and available in your current shell.