fDenyTSConnections
The value of
fDenyTSConnections
determines if another computer can connect to
this computer with
Remote Desktop Services.
If the value is 0
, such connections are allowed, if it is 1
, connections are disallowed.
The following
PowerShell command line sets the value to
0
so that connections are allowed:
$null = new-itemProperty -path 'hklm:\SYSTEM\CurrentControlSet\Control\Terminal Server' -name fDenyTSConnections -propertyType DWord -value 0 -force
fSingleSessionPerUser
The value of fSingleSessionPerUser
determines if a user reconnects to the same session later.
The following command line sets the value to 0
:
$null = new-itemProperty -path 'hklm:\SYSTEM\CurrentControlSet\Control\Terminal Server' -name fSingleSessionPerUser -propertyType DWord -value 0 -force