Unanswered Why dpinst.exe not recognized as signed on Win7 x64?

  • Wednesday, May 16, 2012 5:58 PM
     
     

    The dpinst.exe from WDK 7.1.0 redist is signed by Microsoft, but when run on Win7 SP1 x64, the UAC prompt says "from unknown publisher". Could anyone tell why?

    After I signed it with my cert, the UAC prompt properly shows my publisher name.

    Thanks,

    -- pa

All Replies

  • Friday, May 18, 2012 4:10 AM
     
     
    Pavel A wrote:
    >
    >The dpinst.exe from WDK 7.1.0 redist is signed by Microsoft, but when run
    >on Win7 SP1 x64, the UAC prompt says "from unknown publisher". Could
    >anyone tell why?
     
    You are running the 64-bit dpinst on the 64-bit system, aren't you?
    --
    Tim Roberts, timr@probo.com
    Providenza & Boekelheide, Inc.
     

    Tim Roberts, VC++ MVP Providenza & Boekelheide, Inc.
  • Friday, May 18, 2012 3:09 PM
     
     

    Yes, on 64-bit win7 ultimate sp1 from MSDN.

    -- pa

  • Sunday, May 20, 2012 5:39 AM
     
     
    Pavel A wrote:
    >
    >Yes, on 64-bit win7 ultimate sp1 from MSDN.
     
    My question really was making sure that you are using the amd64 version of
    DPInst.
    --
    Tim Roberts, timr@probo.com
    Providenza & Boekelheide, Inc.
     

    Tim Roberts, VC++ MVP Providenza & Boekelheide, Inc.
  • Sunday, May 20, 2012 8:47 AM
     
     

    Yes, Tim, it is amd64 version. Tested also on 2008R2.

    When I view the signature in the file properties, it says the signature is OK.

    -- pa

  • Tuesday, May 22, 2012 8:05 PM
     
     

    bump

  • Wednesday, May 23, 2012 6:07 AM
     
     

    Happens on Windows 8 too. Signtool verify is happy with the signature:

    C:\WinDDK\7600.16385.1\redist\DIFx\dpinst\EngMui\amd64>signtool verify -v dpinst.exe

    Verifying: dpinst.exe
    Hash of file (sha1): 0F333AD4E07C4244F7DDE4BEA333516CC18ED240

    Signing Certificate Chain:
        Issued to: Microsoft Root Certificate Authority
        Issued by: Microsoft Root Certificate Authority
        Expires:   Mon May 10 02:28:13 2021
        SHA1 hash: CDD4EEAE6000AC7F40C3802C171E30148030C072

            Issued to: Microsoft Windows Verification PCA
            Issued by: Microsoft Root Certificate Authority
            Expires:   Wed Mar 16 01:05:41 2016
            SHA1 hash: 5DF0D7571B0780783960C68B78571FFD7EDAF021

                Issued to: Microsoft Windows
                Issued by: Microsoft Windows Verification PCA
                Expires:   Tue Mar 08 00:57:40 2011
                SHA1 hash: 02ECEEA9D5E0A9F3E39B6F4EC3F7131ED4E352C4

    The signature is timestamped: Tue Feb 09 09:37:38 2010
    Timestamp Verified by:
        Issued to: Microsoft Root Certificate Authority
        Issued by: Microsoft Root Certificate Authority
        Expires:   Mon May 10 02:28:13 2021
        SHA1 hash: CDD4EEAE6000AC7F40C3802C171E30148030C072

            Issued to: Microsoft Time-Stamp PCA
            Issued by: Microsoft Root Certificate Authority
            Expires:   Sat Apr 03 16:03:09 2021
            SHA1 hash: 375FCB825C3DC3752A02E34EB70993B4997191EF

                Issued to: Microsoft Time-Stamp Service
                Issued by: Microsoft Time-Stamp PCA
                Expires:   Sat Jan 05 00:22:03 2013
                SHA1 hash: 9DF6FED2FCCB81963B1A4A6C7AA2D82232D75C5C

    Successfully verified: dpinst.exe

    Number of files successfully Verified: 1
    Number of warnings: 0
    Number of errors: 0