Created
September 30, 2016 17:50
-
-
Save rvjykmr/79231e258badae55b91d46791f283199 to your computer and use it in GitHub Desktop.
Powershell script for disabling Strong Name Validation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function DisableStrongSignValidation | |
{ | |
reg DELETE "HKLM\Software\Microsoft\StrongName\Verification" /f | |
reg ADD "HKLM\Software\Microsoft\StrongName\Verification\*,*" /f | |
if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") | |
{ | |
reg DELETE "HKLM\Software\Wow6432Node\Microsoft\StrongName\Verification" /f | |
reg ADD "HKLM\Software\Wow6432Node\Microsoft\StrongName\Verification\*,*" /f | |
} | |
Restart-Service msiserver | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why restart the msiserver?