From 1383087739c7bcee2c7134cb77e933c3349ef5bc Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 19 May 2024 13:51:16 +0200 Subject: [PATCH] Update winvistax64-ultimate.xml --- assets/winvistax64-ultimate.xml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/assets/winvistax64-ultimate.xml b/assets/winvistax64-ultimate.xml index b71364d..27d1d3c 100644 --- a/assets/winvistax64-ultimate.xml +++ b/assets/winvistax64-ultimate.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