Strong Name Verification Errors

Version 6

    Verified Product Versions

    Endpoint Manager 9.6Endpoint Manager 2016.x

    Description:

    During a Remote console install  you receive the following error:

     

    "The Strong name verification system contains exclusion entries in the registry. Blocking access."

     

    Cause:

    Strong Naming is a function of a .net assembly.  Some environments enforce verification of these assemblies which causes this failure.

     

    Resolution:

    To resolve this conflict you can enable verification by adding a new "DWORD"  named " AllowStrongNameBypass" and a value of "1" to the following registry keys:

     

    HKLM:\SOFTWARE\Microsoft\.NETFramework

    HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework

     

    Then Delete the following Key:

     

    HKLM:\SOFTWARE\Microsoft\StrongName\Verification\*,*

     

    Alternatively, you can run the following in an elevated Powershell:

     

    # Disable strong name validation

    New-ItemProperty -path 'HKLM:\SOFTWARE\Microsoft\.NETFramework' -name AllowStrongNameBypass -value 1 -PropertyType 'DWord' -Force

    New-ItemProperty -path 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework' -name AllowStrongNameBypass -value 1 -PropertyType 'DWord' -Force

    Remove-Item -Path 'HKLM:\SOFTWARE\Microsoft\StrongName\Verification\*,*\' -Force