SignTool Error: This file format cannot be signed because it is not recognized

Nerd With Coffee 0 Reputation points
2025-08-03T10:31:30.09+00:00

I have been attempting to sign a .cat file, but I keep getting the error message that the file format is not recognized. I thought that maybe it was the file itself, so I tried with .pdf, .txt, and .exe files, but the same thing happens. I have a valid certificate, timestamp url, and I even tried to set the path of the signtool.exe as well as the file I'm attempting to sign into the path with set path=%path%;C:\Document\Here. I still get the message. My SDK is updated to the latest build and I don't currently have any windows updates for my x64 bit Windows 10 MSI laptop. I also have the command prompt in admin mode, and the line I am using is signtool sign /a /tr http://timestamp.digicert.com /td sha256 /fd sha256 /v "C:\File\Path\Here" . I even have my cd path set to where my signtool.exe is located: D:\Important Stuff\bin\10.0.26100.0\x64>

I'm not sure what else I can do as I've been researching this for a good amount of time now and I've started hitting dead-ends or already attempted solutions

Windows development | Windows App SDK
{count} votes

1 answer

Sort by: Most helpful
  1. Nerd With Coffee 0 Reputation points
    2025-08-04T03:17:38.24+00:00

    Yes, I looked in the mmc to export it after I installed it, and the type said code signing


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.