From 280c817779b6b6c8a83e72b3160b9cd54232ddcb Mon Sep 17 00:00:00 2001 From: Joe Fitzgerald Date: Sat, 17 May 2014 11:55:52 -0600 Subject: [PATCH] Remove Disable Windows Updates, Enable Microsoft Updates By Default - Disable Windows Updates can be run as a provisioner step; it's not required at this point. If you don't want Windows Updates at all, uncomment the "WITHOUT WINDOWS UPDATES" section and comment the section "WITH WINDOWS UPDATES" --- answer_files/2008_r2/Autounattend.xml | 10 +++++----- answer_files/2008_r2_core/Autounattend.xml | 13 +++++-------- answer_files/2012/Autounattend.xml | 13 +++++-------- answer_files/2012_r2/Autounattend.xml | 13 +++++-------- answer_files/2012_r2_core/Autounattend.xml | 13 +++++-------- answer_files/7/Autounattend.xml | 13 ++----------- answer_files/81/Autounattend.xml | 13 ++----------- 7 files changed, 29 insertions(+), 59 deletions(-) diff --git a/answer_files/2008_r2/Autounattend.xml b/answer_files/2008_r2/Autounattend.xml index 0eb29777..efef41ea 100644 --- a/answer_files/2008_r2/Autounattend.xml +++ b/answer_files/2008_r2/Autounattend.xml @@ -226,11 +226,6 @@ 21 Disable Hibernation Mode - - cmd.exe /c a:\microsoft-updates.bat - 22 - Enable Microsoft Updates - + + cmd.exe /c a:\microsoft-updates.bat + 98 + Enable Microsoft Updates + cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\openssh.ps1 Install OpenSSH diff --git a/answer_files/2008_r2_core/Autounattend.xml b/answer_files/2008_r2_core/Autounattend.xml index 96e1f5a2..f77ec70c 100644 --- a/answer_files/2008_r2_core/Autounattend.xml +++ b/answer_files/2008_r2_core/Autounattend.xml @@ -262,14 +262,6 @@ 27 Disable Hibernation Mode - - + + cmd.exe /c a:\microsoft-updates.bat + 98 + Enable Microsoft Updates + cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\openssh.ps1 Install OpenSSH diff --git a/answer_files/2012/Autounattend.xml b/answer_files/2012/Autounattend.xml index 75afdb85..660b485e 100644 --- a/answer_files/2012/Autounattend.xml +++ b/answer_files/2012/Autounattend.xml @@ -231,14 +231,6 @@ 21 Disable Hibernation Mode - - + + cmd.exe /c a:\microsoft-updates.bat + 98 + Enable Microsoft Updates + cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\openssh.ps1 Install OpenSSH diff --git a/answer_files/2012_r2/Autounattend.xml b/answer_files/2012_r2/Autounattend.xml index ef99145a..e82a3017 100644 --- a/answer_files/2012_r2/Autounattend.xml +++ b/answer_files/2012_r2/Autounattend.xml @@ -228,14 +228,6 @@ 21 Disable Hibernation Mode - - + + cmd.exe /c a:\microsoft-updates.bat + 98 + Enable Microsoft Updates + cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\openssh.ps1 Install OpenSSH diff --git a/answer_files/2012_r2_core/Autounattend.xml b/answer_files/2012_r2_core/Autounattend.xml index 8ff07e1d..74924543 100644 --- a/answer_files/2012_r2_core/Autounattend.xml +++ b/answer_files/2012_r2_core/Autounattend.xml @@ -228,14 +228,6 @@ 21 Disable Hibernation Mode - - + + cmd.exe /c a:\microsoft-updates.bat + 98 + Enable Microsoft Updates + cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\openssh.ps1 Install OpenSSH diff --git a/answer_files/7/Autounattend.xml b/answer_files/7/Autounattend.xml index 8fb874f4..1b179610 100644 --- a/answer_files/7/Autounattend.xml +++ b/answer_files/7/Autounattend.xml @@ -227,14 +227,6 @@ 21 Disable Hibernation Mode - - - cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\dis-updates.ps1 - Disable Windows Updates + cmd.exe /c a:\microsoft-updates.bat 98 - true + Enable Microsoft Updates cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\openssh.ps1 diff --git a/answer_files/81/Autounattend.xml b/answer_files/81/Autounattend.xml index 4182dbea..a511c16d 100644 --- a/answer_files/81/Autounattend.xml +++ b/answer_files/81/Autounattend.xml @@ -224,14 +224,6 @@ 21 Disable Hibernation Mode - - - cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\dis-updates.ps1 - Disable Windows Updates + cmd.exe /c a:\microsoft-updates.bat 98 - true + Enable Microsoft Updates cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\openssh.ps1