Remote Desktop Services connections empty
It is recommended that you use Server Manager to enable Remote Desktop Services (Terminal Services). You must be logged in as an administrator. Show The steps that follow explain how to install Remote Desktop Services (Terminal Services) on your Windows Server computer, and then install iFIX. To install Remote Desktop Service on a Windows Server computer:
NOTE: You can confirm the destination server at any time by verifying the name of the destination server in the upper right hand corner of the wizard.
NOTE: Installing the above features window appears to add some features related to above services.
To install iFIX on the Remote Desktop:
NOTE: Follow steps 3-4 or just insert the DVD. The iFIX install selects the correct install mode.
IMPORTANT: Do NOT click the Finish or Cancel button before the installation has ended.
You can use RDS Drain Mode to maintain terminal hosts in a Remote Desktop Services farm. If you enable Drain Mode for your RDS server, you can prevent the server from accepting new user’s RDP connections, and current RD connections will stay active till users log off manually or automatically by the RDS session timeout. Then you will be able to maintain your Windows Server host without interrupting your RDS farm operation (install updates, change server or app settings, update configuration files, etc.). What Is Drain Modes on Windows Server Remote Desktop Services?The Drain Mode appeared in Windows Server 2008 (Terminal Services Server Drain mode). When you put an RDS host in drain mode, it can no longer accept new user’s connections. As a rule, the mode is used when a server administrator needs to maintain a server (install Windows updates, configure or update apps) without affecting the availability of the entire RDS farm. An RDS host can work in either of the three types of the Drain Mode:
How to Deny New User Logons to an RD Session Server?You can enable the Drain Mode on your RDS host server via the RDS collection settings.
Users having active Remote Desktop sessions will be able to reconnect to the server, while all new connections will be forwarded by the Connection Broker to other hosts in your RDS farm. You can also set the Drain Mode locally on the RDS host via the command prompt. To do it, the change logon command is used. To prevent new user connections, run the command below: change logon /drain Now, if a new user tries to connect to the RDS host directly (when the RD Connection Broker is not used), the following error appears: Remote logins are currently disabled.At the same time an event with the Event ID 1070 and TerminalServices-RemoteConnectionManager as the source appears in the RDS host log: A logon request was denied because the RD Session Host server is currently in drain mode and therefore not accepting new user logons. To configure the server to allow new user logons, use the Remote Desktop Services Configuration tool. The following command enables the Drain Mode until the host restart: change logon /drainuntilrestart To prevent users even with active sessions to connect to the host, run this command: change logon /disable To allow connections, use this command: change logon /enable To make sure if the Drain Mode is enabled on your RDS server, run the command below: If you tried to set the Drain Mode on your server using change logon and see the following error: Connections are currently ENABLED by Group Policy for this machine, unable to change. This means that the Drain Mode is configured via the GPO. The policy setting is called Allow users to connect remotely using Remote Desktop Services and you can find it under the following GPO section: Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections. Disable the policy or set it to Not Configured. Set Drain Mode for Windows Server RDS Host via PowerShellYou can manage Drain Mode settings of an RDS host collection or a standalone RDS server using PowerShell: Import-Module RemoteDesktop # To deny new RDP connections to the Remote Desktop Services Host Set-RDSessionHost -SessionHost mun-saprdsh1.woshub.com -NewConnectionAllowed No -ConnectionBroker mun-saprdcb.woshub.com # To allow connections Set-RDSessionHost -SessionHost mun-saprdsh1.woshub.com -NewConnectionAllowed Yes -ConnectionBroker mun-saprdcb.woshub.com You can also make sure if the Drain Mode on your host is enabled using the PowerShell script below: Get-WmiObject win32_terminalservicesetting -N "root\cimv2\terminalservices" | %{ if ($_.logons -eq 1){ "Disabled"} Else { switch ($_.sessionbrokerdrainmode) { 0 {"Enabled"} 1 {"DrainUntilRestart"} 2 {"Drain"} default {"error"} } } } To enable the Drain Mode via PowerShell (similar to change logon /Drain): $temp = (Get-WmiObject win32_terminalservicesetting -N "root\cimv2\terminalservices") $temp.sessionbrokerdrainmode=2 $temp.put() To put the RDS host to normal mode (change logon /enable), run this command: $temp = (Get-WmiObject win32_terminalservicesetting -N " root\cimv2\terminalservices ") $temp.sessionbrokerdrainmode=0 $temp.logons=0 $temp.put() |