mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-25 05:41:09 +00:00
Fix nextdestiny powershell script to have WinPE skip trying to retrieve CA certs mid-connection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
$command=@{'command'='nextdestiny'}
|
||||
if (!(Test-Path HKLM:\Software\Policies\Microsoft\SystemCertificates\AuthRoot)) {
|
||||
mkdir HKLM:\Software\Policies\Microsoft\SystemCertificates\AuthRoot
|
||||
Set-ItemProperty HKLM:\Software\Policies\Microsoft\SystemCertificates\AuthRoot DisableRootAutoUpdate 1
|
||||
}
|
||||
if (!(Test-Path HKCU:\Software\xCAT)) {
|
||||
mkdir HKCU:\Software\xCAT
|
||||
$certstore = New-Object System.Security.Cryptography.X509Certificates.X509Store("My","CurrentUser")
|
||||
|
Reference in New Issue
Block a user