Skip to content

Instantly share code, notes, and snippets.

@rvjykmr
Created September 30, 2016 17:50
Show Gist options
  • Save rvjykmr/79231e258badae55b91d46791f283199 to your computer and use it in GitHub Desktop.
Save rvjykmr/79231e258badae55b91d46791f283199 to your computer and use it in GitHub Desktop.
Powershell script for disabling Strong Name Validation
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
}
@ThetaSinner
Copy link

Why restart the msiserver?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment