Windows 10: Signtool errors with a file not found even though the file exists.

Discus and support Signtool errors with a file not found even though the file exists. in Windows 10 Gaming to solve the problem; Recently we've rebuilt a Azure VM we use to build installers with Inno Setup with signing. All our installer generation processed worked a few days... Discussion in 'Windows 10 Gaming' started by John Farrell2, Jan 1, 2025.

  1. Signtool errors with a file not found even though the file exists.


    Recently we've rebuilt a Azure VM we use to build installers with Inno Setup with signing. All our installer generation processed worked a few days ago.Now we are getting an error a file doesn't exist even though it clearly exists. We are thinking this is a type of access or permissions issue?Here is the command we are using:C:\Program Files x86\Windows Kits\10\bin\10.0.26100.0\x64>signtool sign /debug /fd SHA256 /tr "http://timestamp.acs.microsoft.com" /td SHA256 /dlib "C:\Installs\Agent\Extras\tsc-dll\Azure.CodeSigning.Dlib.dll" /dmdf "C:\Installs\Agent\Extras\metadata.json" "C:\Install

    :)
     
    John Farrell2, Jan 1, 2025
    #1

  2. 0x800700C1 in SignTool

    hi

    i hvae made a 32 bit game but im having trouble signing the sertificate off the .appx file

    this is the error that i get

    C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x86>SignTool sign /fd SHA256 /a /f signingCertx.pfx C:\projectx\snake\PackageFiles\snake.appx

    Done Adding Additional Store

    SignTool Error: SignedCode::Sign returned error: 0x800700C1

    For more information, please see https://aka.ms/badexeformat

    SignTool Error: An error occurred while attempting to sign: C:\projectx\snake\PackageFiles\snake.appx

    i have used desktop app converter to make the EXE into an APPX

    i have done all the steps that has brought me to this code:

    SignTool sign /fd SHA256 /a /f signingCertx.pfx C:\projectx\snake\PackageFiles\snake.appx

    but im stuck coz all i get is the error mentioned above after i type the code below :

    SignTool sign /fd SHA256 /a /f signingCertx.pfx C:\projectx\snake\PackageFiles\snake.appx

    my certificate has no password so i didnt include the /p

    can you help me please

    it would be much apritiated

    i run windows pro

    i have the windows SDK installed

    also i have visual studio 7 that makes it easier

    thank you
     
    toniantonia, Jan 1, 2025
    #2
  3. Tatty_One Win User
    Saves log files ?

    You can either read the files in Windows or my preferred method is.....

    Download CCcleaner from here...........

    http://www.piriform.com/ccleaner

    You can then run cleaner, you will see the log files listed, then if you right click you can save as a text file and then have a read. You may also get an "error reporting" log listed seperatly.
     
    Tatty_One, Jan 1, 2025
    #3
  4. Signtool errors with a file not found even though the file exists.

    How to sign these custom proprietary file formats using Microsft signtool?

    Hi KANTHETI,

    Welcome to Microsoft Community.

    I'm Hahn and I'm here to help you with your concern.

    I can help you with some information about signing files using Microsoft signtool.

    According to the documentation [Using SignTool to Sign a File - Win32 apps | Microsoft Learn], signtool is a command-line tool that digitally signs files, verifies the signatures in files, and time stamps files. You can use signtool to sign any file type, as long as the file format supports digital signatures.

    To sign a file using signtool, you need to have a certificate that identifies the signer. You can obtain a certificate from a certification authority (CA), or create your own self-signed certificate. You can store the certificate in a Personal Information Exchange (PFX) file, or in a certificate store on your computer.

    The basic syntax for signing a file using signtool is: `signtool sign [options] file_name` where `options` are the parameters that specify the certificate, the digest algorithm, the time stamp server, and other information.

    For more information about signtool, see [SignTool - Win32 apps | Microsoft Learn]. I hope this helps you with your task.

    If you have more questions, SignTool issue is not supported on the Microsoft Answers forum. It is more suitable for publishing on Microsoft Learn (English only), you can click on "Ask a question", there are experts who can provide more professional solutions in that place.



    Here is a link: Windows 11 - Microsoft Q&A to the forum where you can raise specific scenarios and share your idea to help solve the problem.



    I won't be able to help you, but I'll leave that question open in case one of our amazing volunteers has ideas for you.



    Your Sincerely

    | Microsoft Community Support Specialist
     
    Hahn - MSFT, Jan 1, 2025
    #4
Thema:

Signtool errors with a file not found even though the file exists.

Loading...
  1. Signtool errors with a file not found even though the file exists. - Similar Threads - Signtool errors file

  2. Signtool errors with a file not found even though the file exists.

    in Windows 10 Software and Apps
    Signtool errors with a file not found even though the file exists.: Recently we've rebuilt a Azure VM we use to build installers with Inno Setup with signing. All our installer generation processed worked a few days ago.Now we are getting an error a file doesn't exist even though it clearly exists. We are thinking this is a type of access or...
  3. Files Not Showing on HDD Even Though They are There

    in Windows 10 Gaming
    Files Not Showing on HDD Even Though They are There: Hello,I bought a new internal HDD so I unplugged my other one and plugged the new one in and created a partition. Now when I plugged back in my old one it takes the name of my new one and doesn't show my files even though they are still there. How can I fix...
  4. Files Not Showing on HDD Even Though They are There

    in Windows 10 Software and Apps
    Files Not Showing on HDD Even Though They are There: Hello,I bought a new internal HDD so I unplugged my other one and plugged the new one in and created a partition. Now when I plugged back in my old one it takes the name of my new one and doesn't show my files even though they are still there. How can I fix...
  5. File not found error even if the file is present.

    in Windows 10 Network and Sharing
    File not found error even if the file is present.: I have a folder on my desktop. I am trying to delete the folder. But it's showing that it cannot find anything to delete even if the folder is there and I can see it....
  6. File not found error even if the file is present.

    in Windows 10 Gaming
    File not found error even if the file is present.: I have a folder on my desktop. I am trying to delete the folder. But it's showing that it cannot find anything to delete even if the folder is there and I can see it....
  7. File not found error even if the file is present.

    in Windows 10 Software and Apps
    File not found error even if the file is present.: I have a folder on my desktop. I am trying to delete the folder. But it's showing that it cannot find anything to delete even if the folder is there and I can see it....
  8. File Explorer not showing files even though they exist on Windows 10

    in Windows 10 News
    File Explorer not showing files even though they exist on Windows 10: [ATTACH]File Explorer helps you find your files and folders, but sometimes it seems like […] This article File Explorer not showing files even though they exist on Windows 10 first appeared on TheWindowsClub.com. read more...
  9. Receiving cannot access file errors even though the file is present

    in Windows 10 BSOD Crashes and Debugging
    Receiving cannot access file errors even though the file is present: This question concerns 64-bit Windows 10 system version 2004; OS Build 19041.685. I am struggling to figure out what could be causing the following error for both operating system and application files: Windows cannot access the specified device, path, or file. You may...
  10. Source file not found. "path". Verify that file exists...

    in Windows 10 Support
    Source file not found. "path". Verify that file exists...: Swapped and old HDD with a new one, installed Windows 10 Pro (with Windows Media Creation Tool and bootable usb) and then these 2 problems appeared, which I think are tied together.After installing most of the essential apps without a hitch, I got an error when I tried...