From d9ed2504debed008b4083ab4f6d78d7028d5adfd Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 17 May 2024 22:12:06 +0200 Subject: [PATCH] feat: Multi-language support --- assets/win11arm64.xml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/assets/win11arm64.xml b/assets/win11arm64.xml index 686020e..f89e69e 100644 --- a/assets/win11arm64.xml +++ b/assets/win11arm64.xml @@ -177,7 +177,7 @@ 24/7 Dockur - https://github.com/dockur/windows/issues + https://github.com/dockur/windows-arm/issues Windows for Docker @@ -314,15 +314,6 @@ 0 - - - - true - Remote Desktop - all - - - @@ -470,26 +461,31 @@ 20 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery 21 - netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "FPS-.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable File Sharing 22 + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "RemoteDesktop-[^I].*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" + Add RDP in firewall + + + 23 reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f Disable unsupported hardware notifications - 23 + 24 reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f Disable unsupported hardware notifications - 24 + 25 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