Windows cmd: 'signtool' is not recognized as an internal or external command, operable program or batch file
Note: Starting June 1, 2021, GoDaddy will no longer issue or renew Code Signing or Driver Signing Certificates. If you already own a Code Signing or Driver Signing Certificate, you will be unable to rekey it after June 1, 2021. All certificates issued before June 1, 2021 will remain valid until they expire.
While trying to sign code using a code or driver signing certificate through
cmd.exe using SignTool, you might receive the following error message:
'signtool' is not recognized as an internal or external command, operable program or batch file
This error means that the SignTool executable is not accessible through
Add the path for
signtool.exe to your system PATH.
Find the path to signtool.exe
- In Windows Explorer, search for signtool.exe
- Right-click the result, and then select Open file location.
- Click the address bar in Windows Explorer and copy the path that displays there.
Add signtool.exe to your system path
- Launch cmd.exe.
- Add the path to
signtool.exeto your system PATH:set PATH="the path to signtool.exe you copied in the last section";%PATH%
This solution works only until you close this instance of cmd.exe. If you close and relaunch cmd.exe, you have to add signtool.exe to your system's path again.