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:
parent
2d0f36801a
commit
3995fae3b6
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user