From b88bb36695a4269f0d7cb2ad6362e483a3e38c89 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 19 May 2024 13:52:03 +0200 Subject: [PATCH] Update winvistax86-enterprise.xml --- assets/winvistax86-enterprise.xml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/assets/winvistax86-enterprise.xml b/assets/winvistax86-enterprise.xml index 9bf7750..4064c9d 100644 --- a/assets/winvistax86-enterprise.xml +++ b/assets/winvistax86-enterprise.xml @@ -262,31 +262,26 @@ 19 - reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f - Disable LUA consent prompts for Admin - - - 20 - cmd /C FOR /F "usebackq delims=\ tokens=8" %a IN (`reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles"`) DO @REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\%a" /V "Category" /t REG_DWORD /D 00000001 /F + cmd /C "FOR /F "usebackq delims=\ tokens=8" %a IN (`reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles"`) DO @REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\%a" /V "Category" /t REG_DWORD /D 00000001 /F" Set Network Location to Home - 21 + 20 reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f Enable RemoteAPP to launch unlisted programs - 22 + 21 netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes Enable Network Discovery - 23 + 22 netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes Enable File Sharing - 24 + 23 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