Forum Discussion
daved3
Aug 09, 2022Brass Contributor
didn't find cert in both store - in IntuneManagementExtension
Hello I am trying to troubleshoot why a win32 App will not install on a computer with Intune. In IntuneManagementExtension - I get the error Didn't find cert in both store, retry 30 Int...
Aug 27, 2022
Download psexec, run a powershell session as system with it (-i -s)
And launch this script
$certificate = Get-ChildItem -Path Cert:\Currentuser\My\
$password= "secret" | ConvertTo-SecureString -AsPlainText -Force
Export-PfxCertificate -Cert $certificate -FilePath c:\intune.pfx -Password $password
$password= "secret" | ConvertTo-SecureString -AsPlainText -Force
Import-PfxCertificate -Exportable -Password $password -CertStoreLocation Cert:\LocalMachine\My -FilePath c:\intune.pfx
And launch this script
$certificate = Get-ChildItem -Path Cert:\Currentuser\My\
$password= "secret" | ConvertTo-SecureString -AsPlainText -Force
Export-PfxCertificate -Cert $certificate -FilePath c:\intune.pfx -Password $password
$password= "secret" | ConvertTo-SecureString -AsPlainText -Force
Import-PfxCertificate -Exportable -Password $password -CertStoreLocation Cert:\LocalMachine\My -FilePath c:\intune.pfx