From f4cbf468070b10218a856cf46542a365e7561648 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 5 Oct 2025 16:29:00 +0200 Subject: [PATCH] Refactor first logon commands in win2008r2.xml Removed command to add entry in hosts file and updated order for the shortcut creation command. --- assets/win2008r2.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/assets/win2008r2.xml b/assets/win2008r2.xml index df194be..a345bf8 100644 --- a/assets/win2008r2.xml +++ b/assets/win2008r2.xml @@ -288,16 +288,11 @@ 19 - cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts - Add entry in hosts file - - - 20 cmd /C mklink /d %userprofile%\Desktop\Shared \\host.lan\Data Create desktop shortcut to shared folder - 21 + 20 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