none
SSMS will not install - Not a cryptographic message or the cryptographic message is not formatted correctly (0x8009200D)

    Question

  • I am having problems installing SSMS and getting the above listed error.

    I have tried:

    REGSVR32 WINTRUST.DLL Succeeded
    REGSVR32 SOFTPUB.DLL  Succeeded
    REGSVR32 INITPKI.DLL  Failed to load - Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files
    REGSVR32 MSSIP32.DLL  Succeeded

    also

    SFC /SCANNOW

    I also tried correcting from the win10 disk to do a repair

    I checked my Surface for this file thinking I could grab it from there , but its not there either???

    I'm not sure how to pass you the install log file as it is to big to post and I cant post links.

    Tuesday, March 14, 2017 8:04 PM

Answers

  • After updating to the new version of windows "Microsoft Windows [Version 10.0.15063]" this problem no longer exists.
    • Marked as answer by Steve Miske Thursday, April 13, 2017 9:12 PM
    Thursday, April 13, 2017 9:12 PM

All replies

  • Hi Steve,

    >> I'm not sure how to pass you the install log file as it is to big to post and I cant post links.

    Please upload the installation log to online file share services(such as OneDrive) and post the link here so we can have a better understanding about the issue. The files should be found under '%temp%\ssmssetup\'.

    If you have any other questions, please let me know.

    Regards,
    Lin

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, March 15, 2017 2:14 AM
    Moderator
  • I tried that yesterday, but it would not allow me to post links. I will try again.

    https://1drv.ms/u/s!ArH0evzxXv4ahLMgaz11kE1c3F7VXg

    Hopefully it will let me save this.


    • Edited by Steve Miske Wednesday, March 15, 2017 7:12 PM
    Wednesday, March 15, 2017 7:12 PM
  • Hi Steve,

    From the log you uploaded:

    >>Error 0x8009200d: Failed authenticode verification of payload
    >>Error 0x8009200d: Failed to verify signature of payload:

    This message indicates that windows installer cannot verify the signature of the payload. This could be either the installation package is damaged, or a issue with the Microsoft root certificate installed on your computer. In former case, re-download SSMS installation package and try again. In latter case, you might have to export the certificate(s) from a trusted computer and import it into your computer.

    If you have any other questions, please let me know.

    Regards,
    Lin


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, March 16, 2017 9:43 AM
    Moderator
  • Since I have downloaded several times my guess is that I might have to export the certificate(s) from a trusted computer and import it into your computer.  I don't know which certificate(s) I need to export?

    Thanks.

    Thursday, March 16, 2017 1:20 PM
  • Would this be related to the issue that I am having?  https://developercommunity.visualstudio.com/content/problem/22017/another-version-of-this-product-is-already-install.html

    Thursday, March 16, 2017 5:01 PM
  • Hi Steve,

    I seem to find more information from the log you uploaded:

    >>Detected partially cached package: DotNet46, invalid payload: DotNet46, reason: 0x80070570
    >>Detected partially cached package: SqlSupport_x86, invalid payload: SqlSupport_x86, reason: 0x80070570

    0x80070570 indicates ‘The file or directory is corrupted and unreadable.’. Here, it means whatever extracted from the installation package is damaged and unreadable.

    I was incorrect about the certificate issue, and now it seems like either the SSMS installation package is damaged or something is wrong with your hard drive(as it would corrupt both installation media and the extracted packages).

    Also, here’s a similar thread suggests downloading via other browsers could corrupt the installation media, if that’s what you are facing I would suggest you try again with Internet Explorer.

    If you have any other questions, please let me know.

    Regards,
    Lin

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, March 17, 2017 5:34 AM
    Moderator
  • Well I tried IE and I tried Chrome only to get the same results.  I can't believe that there is not some type of Diagnostic tool, that can be run on Win10 that could tell what is going on.   https://1drv.ms/u/s!ArH0evzxXv4ahLMnTQrkG2FZrcIT7w           https://1drv.ms/w/s!ArH0evzxXv4ahLMoxSr-39fh40z3rA
    Friday, March 17, 2017 2:52 PM
  • Am I at a point where I have to reinstall Windows 10 from scratch?  It seems that the issue of "Not a cryptographic message or the cryptographic message is not formatted correctly (0x8009200D)" is never really solved that I can find.  It also appears as though Microsoft is ok with that solution.
    Friday, March 17, 2017 4:02 PM
  • Hi Steve,

    Have you tried with chkdsk /r to check for file system errors?

    If you have any other questions, please let me know.

    Regards,
    Lin

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, March 20, 2017 5:42 AM
    Moderator
  • after the chkdsk /r I retried the install, which failed with the same error.

    https://1drv.ms/u/s!ArH0evzxXv4ahLMrt1iy78l2H2Jyjw

    Monday, March 20, 2017 6:29 PM
  • Out of the log their are a couple things I don't understand.  As I have check the Location and Language and they are correct in Win10, I have also done restarts so their should be nothing pending.

    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SystemLocaleMismatch' to value 'Setup detected mismatch between the languages of the installer and the OS. Use the English-language version installer, or install the language pack and change the format and system locales through the regional settings in the control panel.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'LcidMismatchWarning' to value 'Operating system language mismatch detected.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing numeric variable 'InstallerLcid' to value '1033'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'CancelText' to value 'Cancel'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'CloseText' to value 'Close'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'ContinuePastWarningText' to value 'Do you wish to continue?'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'InstallText' to value 'Install'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'LicenseTermsText' to value 'License Terms'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'LoadingPackagesText' to value 'Loading packages. Please wait...'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'OverallProgressText' to value 'Overall Progress'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'PackageProgressText' to value 'Package Progress'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'PrivacyStatementText' to value 'Privacy Statement'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'PrivacyDisclaimerText' to value 'SQL Server Management Studio transmits information about your installation experience, as well as other usage and performance data, to Microsoft to help improve the product. To learn more about SQL Server Management Studio data processing and privacy controls, see the privacy statement link above.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'RepairText' to value 'Repair'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'RestartText' to value 'Restart'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupBlockedDescriptionText' to value 'Something has blocked setup from continuing.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupBlockedText' to value 'Setup Blocked'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupCanceledDescriptionText' to value 'The setup operation has been canceled.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupCanceledText' to value 'Setup Canceled'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupCompletedText' to value 'Setup Completed'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupFailedDescriptionText' to value 'A failure occured during installation.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupFailedText' to value 'Setup Failed'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupHelpDescriptionText' to value '/install | /repair | /uninstall | /layout - installs, repairs, uninstalls or creates a complete local copy of the bundle in directory.  Install is the default.
    /passive | /quiet - displays minimal UI with no prompts or displays no UI and no prompts.  By default UI and all prompts are displayed.
    /norestart - suppress any attempts to restart.  By default UI will prompt before restart.
    /log log.txt - logs to a specific file.  By default a log file is created in %TEMP%.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupHelpText' to value 'Setup Help'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupInstalledText' to value 'All specified components have been installed successfully.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupLayoutText' to value 'Layout operation has completed.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupLogText' to value 'Click here for the log file.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupProgressText' to value 'Setup Progress'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupRepairedText' to value 'All specified components have been repaired successfully.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupRestartDescriptionText' to value 'The computer needs to be restarted before setup can continue.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupRestartText' to value 'Restart required in order to complete setup.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupUninstalledText' to value 'All specified components have been uninstalled successfully.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupWarningDescriptionText' to value 'The following issues may impact the installed application.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'SetupWarningText' to value 'Setup Warnings'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'TermsAndConditionText' to value 'By clicking the "Install" button, I acknowledge that I accept the {License Terms} and {Privacy Statement}.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'UninstallText' to value 'Uninstall'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'WelcomeInstallText' to value 'Welcome. Click "Install" to begin.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'YesText' to value 'Yes'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'RestartAlreadyPending' to value 'A pending restart is blocking setup from completing. Please restart the computer and run setup again.'
    [3468:346C][2017-03-20T13:41:50]i000: Initializing string variable 'AnotherInstallRunning' to value 'Setup is blocked due to another install currently running. Please let the other install complete and then restart the computer if necessary.'
    [3468:346C][2017-03-20T13:41:50]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\stephan\AppData\Local\Temp\SsmsSetup\SSMS-Setup-ENU_20170320134150.log'
    [3468:346C][2017-03-20T13:41:50]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\stephan\Downloads\SSMS-Setup-ENU (2).exe'
    [3468:346C][2017-03-20T13:41:50]i000: Setting string variable 'WixBundleName' to value 'Microsoft SQL Server Management Studio - 16.5.3'
    [3468:346C][2017-03-20T13:41:50]i000: Loading managed bootstrapper application.
    [3468:346C][2017-03-20T13:41:50]i000: Creating BA thread to run asynchronously.
    [3468:34C4][2017-03-20T13:41:50]i000: ManagedBootstrapperApp.Run: Launcing the managed bootstrapper application.
    [3468:34C4][2017-03-20T13:41:50]i000: BootstrapperMetadataModel.Initialize: Start loading the bootstrapper app data xml file
    [3468:34C4][2017-03-20T13:41:50]i000: BootstrapperMetadataModel.Initialize: Completed loading the bootstrapper app data xml file content: <BootstrapperApplicationData xmlns="http://schemas.microsoft.com/wix/2010/BootstrapperApplicationData">
      <WarningCondition Condition="(WixBundleInstalled OR NOT(SqlEngineCoreExists_x86) OR NOT(DatabaseEngineVersion_x86 &lt;&lt; &quot;13&quot;) OR DatabaseEngineVersion_x86 &gt;= &quot;13.0.1601.5&quot;)" Message="SSMS install detected shared components on this machine.  If the installation continues, applications such as SQL Server may be impacted by an update to the shared components." />
      <WarningCondition Condition="(WixBundleInstalled OR NOT(SqlEngineCoreExists_x64) OR NOT(DatabaseEngineVersion_x64 &lt;&lt; &quot;13&quot;) OR DatabaseEngineVersion_x64 &gt;= &quot;13.0.1601.5&quot;)" Message="SSMS install detected shared components on this machine.  If the installation continues, applications such as SQL Server may be impacted by an update to the shared components." />
      <WixBalCondition Condition="RebootPending = 0" Message="Setup has detected that a computer restart is pending. Please restart the computer and run Setup again" />
      <WixBalCondition Condition="(VersionNT = v6.1 AND ServicePackLevel = 1) OR VersionNT &gt; v6.1" Message="The current operating system is not supported. This application requires at least Windows 7 SP1 or Windows Server 2008 R2 SP1 to run." />
      <WixBalCondition Condition="(VersionNT &lt;&gt; v6.3) OR (KB2919355_amd64_CurrentState = 112 OR KB2919355_x86_CurrentState = 112)" Message="The update corresponding to KB2919355 needs to be installed before you can install this product on Windows 8.1 or Windows Server 2012 R2. Please refer to https://support.microsoft.com/en-us/kb/2919355/ to obtain and install this update." />
      <WixBundleProperties DisplayName="Microsoft SQL Server Management Studio - 16.5.3" LogPathVariable="WixBundleLog" Compressed="no" Id="{2d1a30f7-a163-4aa7-a10e-e936aeba38fe}" UpgradeCode="{AAC1DB06-D9C4-4EAD-BA78-E9CCDFC02B4C}" PerMachine="yes" />
      <WixMbaPrereqInformation PackageId="NetFx45Web" LicenseUrl="http://go.microsoft.com/fwlink/?LinkID=260867" />
      <WixPackageProperties Package="VCRedistD14x86" Vital="no" DisplayName="Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23026" Description="Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23026" DownloadSize="13767776" PackageSize="13767776" InstalledSize="13767776" PackageType="Exe" Permanent="yes" LogPathVariable="WixBundleLog_VCRedistD14x86" RollbackLogPathVariable="WixBundleRollbackLog_VCRedistD14x86" Compressed="yes" DisplayInternalUI="no" />

    Monday, March 20, 2017 6:50 PM
  • Also why am I getting a message for Win8.1 this is an Install without upgrade to 10?

    Message="The update corresponding to KB2919355 needs to be installed before you can install this product on Windows 8.1 or Windows Server 2012 R2. Please refer to https://support.microsoft.com/en-us/kb/2919355/ to obtain and install this update." />

    Monday, March 20, 2017 6:58 PM
  • Does this use VC++?  Am I failing on the Microsoft.VisualC.Redist.12?

    https://1drv.ms/u/s!ArH0evzxXv4ahLMse2fxzxVHBKi2DA

    https://1drv.ms/u/s!ArH0evzxXv4ahLMtJ89Lv8m6LlRIbA

    Monday, March 20, 2017 9:30 PM
  • Hi Steve,

    I apologize for the delayed response. We are currently looking into this issue and will give you an update as soon as possible.

    Thank you for your understanding and support.

    Regards,
    Lin

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, March 24, 2017 5:14 AM
    Moderator
  • Hi Steve,

    May I have the link you download the SSMS setup file? If you are trying to install it separately, what is the version of your SQL Server instance?

    Thanks,

    Monday, March 27, 2017 12:57 PM
  • Monday, March 27, 2017 7:58 PM
  • Hello Steve,

    Since window 8.1 is same with window server 2012 R2, I tested your installation file on my window server 2012 R2 machine, it installed successfully.

    Based on your log file, please finish the installation of Microsoft Visual C++ 2015 and KB2919355 first, then restart the server. Rerun the setup files and send us the new log files if it fails again.

    thanks,

    Friday, March 31, 2017 6:49 AM
  • That seems to be the problem, I cannot get C++ 2012 to install, that seems to be the underlying issue.  If I can get the 2012 redist to install I could move forward.
    Friday, March 31, 2017 3:58 PM
  • After updating to the new version of windows "Microsoft Windows [Version 10.0.15063]" this problem no longer exists.
    • Marked as answer by Steve Miske Thursday, April 13, 2017 9:12 PM
    Thursday, April 13, 2017 9:12 PM