首页 > Windows开发 > 详细

添加特定软件证书到windows不信任列表

时间:2020-05-25 17:57:41      阅读:63      评论:0      收藏:0      [点我收藏+]
$target="C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
$filePath=$PSScriptRoot+(New-Guid).Guid
$cer = Get-AuthenticodeSignature $target
Export-Certificate -Cert $cer.SignerCertificate -FilePath $filePath
Import-Certificate -FilePath $filePath -CertStoreLocation Cert:\LocalMachine\DisallowedImport-Certificate -FilePath $filePath -CertStoreLocation Cert:\CurrentUser\Disallowedrm $filePath -Force

 

添加特定软件证书到windows不信任列表

原文:https://www.cnblogs.com/talentzemin/p/12957937.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!