From 7a59cd6404efdce573d5d7a07b7343a6f046f23d Mon Sep 17 00:00:00 2001 From: abrown38 Date: Mon, 16 Dec 2024 09:49:50 +0000 Subject: [PATCH] Disable UserAuthentication option --- .../roles/win_domain_controller/files/OpenStackADBuildv7.5.3.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/win_domain_controller/files/OpenStackADBuildv7.5.3.ps1 b/ansible/roles/win_domain_controller/files/OpenStackADBuildv7.5.3.ps1 index e68ae4d..ab6aae3 100644 --- a/ansible/roles/win_domain_controller/files/OpenStackADBuildv7.5.3.ps1 +++ b/ansible/roles/win_domain_controller/files/OpenStackADBuildv7.5.3.ps1 @@ -34,6 +34,7 @@ Set-GPRegistryValue -Name "RDS Settings" -ValueName "LicensingMode" -key "HKEY_L Set-GPRegistryValue -Name "RDS Settings" -ValueName "LicenseServers" -key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services" -Value $RDSServer -Type String Set-GPRegistryValue -Name "RDS Settings" -ValueName "MaxInstanceCount" -key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services" -Value 999999 -Type DWord Set-GPRegistryValue -Name "RDS Settings" -ValueName "fDenyTSCConnections" -key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services" -Value 0 -Type DWord +Set-GPRegistryValue -Name "RDS Settings" -ValueName "UserAuthentication" -key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services" -Value 0 -Type DWord #Create Default Domain Policy GPO Set-GPRegistryValue -Name "Default Domain Policy" -ValueName "NoAUShutdownOption" -key "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Value 1 -Type DWord