SparkView (6)
How to Enable/Disable Multiple RDP Sessions in Windows 2012By default, Windows 2012 servers allow a single Remote Desktop session. If only one session is available and you take over another person’s live session, you may choose to enable multiple RDP sessions. This article describes the process for enabling and disabling multiple sessions.
Enable Multiple RDP Sessions
- Log into the server using Remote Desktop.
- Open the start screen (press the Windows key) and type gpedit.msc and open it
- Go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.
- Set Restrict Remote Desktop Services user to a single Remote Desktop Services session to Disabled.
- Double click Limit number of connections and set the RD Maximum Connections allowed to 999999.
Disable Multiple RDP Sessions
- Log into the server using Remote Desktop.
- Open the start menu and type ‘gpedit.msc’ and open it
- Go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.
- Set Restrict Remote Desktop Services user to a single Remote Desktop Services session to Enabled.
Bandwidth usage can be very different depends on the content, Spark View is based on standard RDP protocol, so you can check Microsoft’s white paper for details: http://www.microsoft.com/en-us/download/details.aspx?id=23236
From our testing and customer response, One RDP session needs about 260 Kbit bandwidth for normal business applications (Office, ERP etc).
- In server side plug in, if SessionInformation.getConfig().session.random is not null, that means the user logged in successfully.
- On client, the RDP JS library has onloggedin() event.
- In the log, you can see “User: xxx domain: xxx in session: xxx successfully logged into RDP session: xxx”
function _fullscr(e){ var element = document.webkitFullscreenElement || document.mozFullScreenElement || document.mozFullscreenElement || document.fullscreenElement || null; console.log("fullscreen..... w:" + window.innerWidth + " e:" + e.target + " elm:" + element); if (!svManager.getInstance()){ if (element){ $id("width").value = window.innerWidth; $id("height").value = window.innerHeight; } connectRDP(); } } function connectFullscr(){ var enabled = document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.fullscreenEnabled || false; if (enabled){//has fullscreen support var b = document.body; if (b.webkitRequestFullScreen){ b.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT); }else if (b.mozRequestFullScreen){ b.mozRequestFullScreen(); }else if (b.requestFullscreen){ b.requestFullscreen(); } document.addEventListener("fullscreenchange", _fullscr); document.addEventListener("webkitfullscreenchange", _fullscr); document.addEventListener("mozfullscreenchange", _fullscr); document.addEventListener("fullscreenchange", _fullscr); }else{ connectRDP();//no fullscreen support, start it directly } return false; }