58 votes
Accepted

How can I view active remote connections (RDP) to a Windows server?

You can type "Query User" into a command prompt on the remote machine to get a very quick look
  • 15.3k
39 votes

How can I view active remote connections (RDP) to a Windows server?

Run the "qwinsta" command on the server, or with the /server:servername switch. >qwinsta /? Display information about Remote Desktop Sessions. QUERY SESSION [sessionname | username | sessionid] ...
  • 1,929
25 votes

How can I view active remote connections (RDP) to a Windows server?

You can see in the Task manager users Tab
  • 251
23 votes
Accepted

How often do you restart a heavily-utilized Windows Server 2008R2 Remote Desktop Server (VM)?

Generally, I'm opposed to the idea that a Windows server should be rebooted on a regular schedule EXCEPT in relation to TS/RDS servers. We reboot ours every day. It clears up old sessions, releases in ...
  • 109k
17 votes

How often do you restart a heavily-utilized Windows Server 2008R2 Remote Desktop Server (VM)?

Users refuse to log off instead of disconnect Setup the appropriate group policies to auto-logoff them. You can separately control an idle timeout and logoff. That should certainly minimize some of ...
  • 130k
15 votes
Accepted

How install SSL certificate for RDS on windows server 2016?

Finally I found solution! First of all, name of the server had to be changed by adding DNS suffix. For example, if you want to connect to the server by srv.example.com address, your server name ...
10 votes
Accepted

Can my DC be used as a remote desktop licencing server?

Yes, you can use your DC as a RDP Licensing server. I do so myself. However, after a while, I started thinking I should have made it a single purpose VM instead but not because of any problem, just a ...
  • 6,473
10 votes
Accepted

Link servers to RD Licencing server

Open Server Manager. Navigate to the Remote Desktop Services navigation area. Select the Overview branch. Under the Deployment Overview area, select Edit Deployment Properties from the Tasks menu. ...
9 votes

Remote Desktop & Network Access Protection Issue

In the end, this issue was caused by incorrect certificate installation in the Remote Desktop Gateway. When I opened the RD Gateway Manager it gave me options to select a certificate to import and use....
9 votes

What does "Administrator" have that allows them to RDP into a server?

There are two components required for users to log on to a server via RDP: User Rights and Permissions. Rights: Users must have the "Allow logon through Remote Desktop Services" user right. ...
  • 109k
8 votes
Accepted

Windows Events for Remote Desktop logon failure

You will get this logon type 3 when you are using NLA (Network Layer Authentication) as the authentication type since it will try and pre-authenticate you prior to giving you RDP access. You can test ...
  • 32.5k
7 votes
Accepted

Why can't my Remote Desktop Server make proper use of the licensing server?

Start by checking the basics as described in Microsoft's technet article on event 1130: Make sure the Remote Desktop server has network connectivity to the licensing server. If you can ping the ...
7 votes
Accepted

How to disable warnings about low disk space

Yes, you can disable Low disk space checks by adding this registry value (DWORD, data: 1) NoLowDiskSpaceChecks here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
  • 6,445
6 votes

Remote Desktop Services login history

You can use a script to collect this information. Not as ideal/simple, but it will get the job done. Here is a Powershell script that should work on Windows 7/Server 2008r2 or higher (this code can ...
6 votes

How often do you restart a heavily-utilized Windows Server 2008R2 Remote Desktop Server (VM)?

Depending on your cash, time, and the savviness of your users, another idea could be to stand up a second server. You'll still need to reboot occasionally, but you seem to be reaching the limits of a ...
  • 281
6 votes
Accepted

How does a running application behave when a remote desktop session "ends"?

The answer is:https://technet.microsoft.com/en-us/library/cc754272.aspx By default, Remote Desktop Services allows users to disconnect from a remote session without logging off and ending the ...
  • 8,921
6 votes

Doing DPI Scaling server side RDP Windows Server 2016

I agree that the problem can be fixed under Win 2016, but I had to do 2 things in parallel: Goto „HKEY_CURRENT_USER\Control Panel\Desktop\LogPixels“ => if LogPixels does not exist then create ...
  • 61
5 votes

Using tsconfig/tsadmin in Windows Server 2012 locally

Support tsconfig.msc similar to Stefan's solution for tsadmin.msc 1) Add these files (from a 2008 server to the Windows 2012/8 computer under C:\windows\system32): tsconfig.dll tsconfig.msc 2) ...
  • 91
5 votes

Configure custom SSL certificate for RDP on Windows Server 2012 (and later) in Remote Administration mode?

If you getting "Invalid Parameter" when you trying Ryan's solution, make sure you are using elevated command prompt (run as administrator).
5 votes
Accepted

Windows 2012 RDS Server asking for Licensing Mode when it's already set?

I have actually ran into this on a couple of servers running 2012 R2 recently and this solved it. Must be a 'feature'. http://www.tbngconsulting.com/blog/bid/404182/Licensing-mode-for-the-Remote-...
5 votes
Accepted

Why is SiteToZoneAssignment GPO applying, but sites not appearing in IE

I created a new user account, and when logged on for the first time, it too experienced the same issue with sites not showing in IE, even though the GPO was applied. I found in HKEY_CURRENT_USER\...
5 votes
Accepted

What's the PowerShell command to add server to the serverpool of RDS

Unfortunately, there is no PowerShell command that adds servers to Server Manager. Therefore you have to edit ServerList.xml before starting Sever Manager and this can be done with PowerShell. 1. ...
  • 5,801
4 votes
Accepted

Cannot enable RDP8 on Windows Server 2008R2

After more searching I've found this: Remote Desktop Protocol 8.0 Update for Windows 7 SP1: Enabling a great WAN user experience for Windows 7 SP1 virtual desktops Are the RemoteFX and RDP 8.0 ...
  • 56
4 votes

How to migrate and upgrade Windows Server RDS CALs from 2008 to 2012

Edited: Yes you can install your old CAL on your new license server (2012R2) If you want to upgrade the CAL to 2012R2's CAL to serve on login on a new 2012R2 RDS server Buy new's one, you can't ...
  • 16.5k
4 votes

How often do you restart a heavily-utilized Windows Server 2008R2 Remote Desktop Server (VM)?

I am familiar with the "user type" that refuses to logoff. However, they seemed to have no issue understanding that the Server would be rebooting nightly so any unsaved work would be lost. This is ...
4 votes
Accepted

Do not allow passwords to be saved with RD Gateway in Remote Desktop Client

The "Always prompt for password upon connection policy" on the server side can be used as a workaround. Users are asked for a password even if it saved on the client. Same setting in Log on settings ...
  • 233
4 votes

Activate a Remote Desktop License Server without GUI

This code should handle the activate the license server by PowerShell part of your question and may give you ideas for the rest. # ---------------------------------------------------------------------...
  • 161
4 votes
Accepted

how to fix remote desktop access in Windows Server 2012 R2

Finally found the problem. Launch gpedit.msc, navigate to Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment -> Allow log on ...
  • 1,614
4 votes

Windows 2012 R2 RDP - How to force a default desktop background for AD users on remote sessions only?

What you want is loopback policy. Normally, users policies are applied to user containers, and computer policies are applied to computer containers. Loopback policies are user policies that are ...
  • 22.9k
4 votes
Accepted

Error adding RDS license to a server

You should probably do some reading on RD Licensing in 2012. This Technet blog post has a pretty good explanation. At a high level, you don't actually install/activate your license on every RDS ...
  • 16.6k

Only top scored, non community-wiki answers of a minimum length are eligible