From 250336787e2b41125f862039716804e35298a5fa Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 3 Apr 2013 20:19:18 +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/branches/2.8@15815 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")