From 3995fae3b63a89c1982f6c56aa10e392dcc813bc Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 3 Apr 2013 20:20:29 +0000 Subject: [PATCH] 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 --- xCAT-server/share/xcat/netboot/windows/nextdestiny.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/share/xcat/netboot/windows/nextdestiny.ps1 b/xCAT-server/share/xcat/netboot/windows/nextdestiny.ps1 index e3d18dd97..423a95e16 100644 --- a/xCAT-server/share/xcat/netboot/windows/nextdestiny.ps1 +++ b/xCAT-server/share/xcat/netboot/windows/nextdestiny.ps1 @@ -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")