From e9fba20c0b89dc149eae1469321e3c0622ee780f Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 30 Jun 2024 13:06:28 +0200 Subject: [PATCH] added RSAT --- optional/install-rsat-offline.cmd | 22 ++++++++++++++++++++++ optional/install-rsat-online.cmd | 10 ++++++++++ software/other.csv | 1 + 3 files changed, 33 insertions(+) create mode 100644 optional/install-rsat-offline.cmd create mode 100644 optional/install-rsat-online.cmd diff --git a/optional/install-rsat-offline.cmd b/optional/install-rsat-offline.cmd new file mode 100644 index 0000000..85f1a0f --- /dev/null +++ b/optional/install-rsat-offline.cmd @@ -0,0 +1,22 @@ +@echo off +call check-for-admin +if %ERRORLEVEL% neq 0 exit /b + +set SOFTWARE=..\software +set MSU=WindowsTH-KB2693643-x64.msu + +if NOT EXIST %SOFTWARE%\%MSU% ( + echo ERROR: %SOFTWARE%\%MSU% not found! + exit /b +) + +echo ####### %0 ####### + +cd %SOFTWARE% +@echo on +wusa %MSU% +@echo off + +echo ####### %0 ####### +pause + diff --git a/optional/install-rsat-online.cmd b/optional/install-rsat-online.cmd new file mode 100644 index 0000000..1e4f0b9 --- /dev/null +++ b/optional/install-rsat-online.cmd @@ -0,0 +1,10 @@ +@echo off + +echo ####### %0 ####### + +echo install Windows RSAT tools ... +powershell -Command "Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0" +echo. + +echo ####### %0 ####### + diff --git a/software/other.csv b/software/other.csv index 2a92009..dd5a312 100644 --- a/software/other.csv +++ b/software/other.csv @@ -1,4 +1,5 @@ dummy WIN10-LTSC_EVAL_x64FRE_19044_21h2_en-us.iso +dummy WindowsTH-KB2693643-x64.msu dummy citrixworkspace-setup.exe dummy nsepa_setup.exe dummy usb2serial-PL2303-setup.exe