From 0ccd618448a6719456144c09152818eba9dbf0c1 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 19 May 2024 18:44:37 +0200 Subject: [PATCH] Update win2008r2-eval.xml --- assets/win2008r2-eval.xml | 44 ++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/assets/win2008r2-eval.xml b/assets/win2008r2-eval.xml index f9d72c1..e1c7fe8 100644 --- a/assets/win2008r2-eval.xml +++ b/assets/win2008r2-eval.xml @@ -167,6 +167,12 @@ en-US en-US + + true + + + true + false @@ -238,76 +244,86 @@ 3 + reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f + Enable option for passwordless sign-in + + + 4 cmd /C wmic useraccount where name="Docker" set PasswordExpires=false Password Never Expires - 4 + 5 cmd /C POWERCFG -H OFF Disable Hibernation - 5 + 6 cmd /C POWERCFG -X -monitor-timeout-ac 0 Disable monitor blanking - 6 + 7 reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f Disable Network Discovery popup - 7 + 8 reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f Disable Network Discovery popup - 8 + 9 reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f Disable Network Discovery popup - 9 + 10 reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f Disable first-run experience in Edge - 10 + 11 reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f Show file extensions in Explorer - 11 + 12 reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f Zero Hibernation File - 12 + 13 reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f Disable Hibernation - 13 + 14 cmd /C POWERCFG -X -standby-timeout-ac 0 Disable Sleep - 14 + 15 reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f Enable RemoteAPP to launch unlisted programs - 15 + 16 + reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f + Turn off Windows Update auto download + + + 17 netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes Enable Network Discovery - 16 + 18 netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes Enable File Sharing - 17 + 19 cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat" Execute custom script from the OEM folder if exists