PowerShell: Unlimit RDP Sessions

$tsRegHive='REGISTRY::HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server'
Set-ItemProperty -Path $tsRegHive -Name fSingleSessionPerUser -value 0
Set-ItemProperty -Path $tsRegHive -Name fdenyTSConnections -value 0
get-itemproperty $tsRegHive

Leave a Reply

Your email address will not be published. Required fields are marked *