[Actions]
Message "Enable Remote Desktop Login ...."

Registry_currentuser_set

[Registry_currentuser_set]
openkey [HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server]
set "fDenyTSConnections" = REG_DWORD:00000000
set "fSingleSessionPerUser" = REG_DWORD:00000000

openkey [HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\Licensing Core]
set "EnableConcurrentSessions" = REG_DWORD:00000001

openkey [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
set "EnableConcurrentSessions" = REG_DWORD:00000001

openkey [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
set "AllowMultipleTSSessions" = REG_DWORD:00000001

#openkey [HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]
#set "MaxInstanceCount" = REG_DWORD:00000005
