diff --git a/lib/images/windows/templates/generalize.nix b/lib/images/windows/templates/generalize.nix index 13b2a65..56896f1 100644 --- a/lib/images/windows/templates/generalize.nix +++ b/lib/images/windows/templates/generalize.nix @@ -79,9 +79,6 @@ in powershell -Command "Get-AppxPackage *MicrosoftEdgeDevToolsClient* | Remove-AppxPackage -ErrorAction SilentlyContinue" - ${if enableRDP then '' - :: Skip MAS activation when RDP is enabled (MAS switches edition to IoT which lacks RDP server) - '' else '' :: Activate Windows using HWID method if exist C:\MAS_AIO.cmd ( echo. | call C:\MAS_AIO.cmd /HWID @@ -92,7 +89,6 @@ in echo. | call C:\MAS_AIO.cmd /Ohook ) ) - ''} del /q C:\MAS_AIO.cmd 2>nul ${lib.optionalString enableRDP ''