mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 13:37:21 +00:00
Disable UserAuthentication option
This commit is contained in:
1 parent
4a998f5790
commit
7a59cd6404
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user