From 522e274315eb5ae3bb4d133866f9c8961ad38e86 Mon Sep 17 00:00:00 2001 From: Jeremy Drake Date: Wed, 8 Sep 2021 13:51:10 -0700 Subject: [PATCH] reorder firstlogon commands It turns out it shows DISM console window on the desktop. Better to load explorer settings first so they'll be applied, and then let DISM do its thing --- Untitled.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Untitled.xml b/Untitled.xml index 188fca7..bb195fe 100644 --- a/Untitled.xml +++ b/Untitled.xml @@ -71,37 +71,37 @@ - 4 + 1 reg import "%systemroot%\OEM\CustomizationFiles\explorer_settings.reg" Import explorer settings - 5 + 2 reg import "%systemroot%\OEM\CustomizationFiles\powershell_settings.reg" Import powershell settings - 7 + 4 cmd /c COPY /Y "%SystemRoot%\OEM\CustomizationFiles\settings.json" "%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState" Copy Windows Terminal settings - 6 + 3 cmd /c mkdir "%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState" Make Windows Terminal settings dir - 1 + 5 Install sshd DISM /online /Add-Capability /CapabilityName:OpenSSH.Server~~~~0.0.1.0 - 2 + 6 Enable sshd sc config sshd start= auto - 3 + 7 Start sshd sc start sshd