Quantcast
Channel: Remote Desktop Services (Terminal Services) Forum
Viewing all 27656 articles
Browse latest View live

Enable USB smart card to be read over vpn

$
0
0

Hi,

I am accessing to company VPN to work from home and I need to remote to a desktop in the company before I could rdweb to a application.I am unable to see the USB device through this method even if I enabled smart card in rdp or using mstsc /admin or mstsc / console.

summary

1 - VPN to the company network
2 - rdp to the specific company desktop
3 - launched the rdweb
4 - clicked on the URL that application which needs the USB for authentication 
however, even if at pt2 when I checked it also did not detect the usb

Need any advise on how I can detect the USB device

many tks


Unable to retrieve the session collection properties

$
0
0

Hi,

we're facing the following issue while trying to add new Remote Desktop Session Hosts into
a session host collection  : "Unable to retrieve the session collection properties".

The server can be added into the deployment but can't be added into the session host collection and the message above
is returned. This error never happened before and is ennoying as we need to deploy more Servers/Collections.

A collegue noticed that adding a couple of servers at once (from the GUI) succeeded ...
I can't find anything related on EventViewer (Brokers / DataBase server)

Is this a known bug ? I can't find anything related on Microsoft support.microsoft.com
Any help would be much appreciated, Thanks.


MCTS Windows Server Virtualization, Configuration

Win2019 RDS - Multiple Per User CAL's allocated to single domain user

$
0
0

I have a RDS server in domain installed with Licensing role as well (RDSH and Licensing role on same server) with Per User CAL installed.
Licensing report revealed that multiple CAL's allocate to single domain user.
Total 2 CAL's against one user name - one of yesterday and two of today with same time.

I can see he only running one session as per "quser"

Domain User account is not modified like user account is not recreated or renamed.

I could not find reasons or clue how this can happen with Per User CAL's

Appreciate if someone can shed some light or what next I can do to avoid it.

Remote Desktop Session Host on Server 2016 - html5 version no recording audio

$
0
0

Hi There

Hoping you can help

I have a remote desktop services 2016 farm which consists of a broker, gateway and several rds session hosts, when staff connect to a session there audio and recording audio is fine but when they connect to the HTML5 version the audio recording sources are empty, am i missing something, is this no supported in the HTML5 version

RDS 2019 - Unable to connect when screen scaling enabled on Surface Book 2

$
0
0

I am in the process of standing up an RDS 2019 environment along side our RDS 2016 environment. 2016 environment was thrown together in a hurry a couple years ago and I figured this would be a good chance to stand a new one up done halfway properly. No issues on the old environment, what few published RemoteApps are there work ok.

However, on the 2019 environment I seem to have issues connecting with my Surface Book 2.

Scenario:

GW01 - RD Gateway
WEB01 - RD Web
CB01 - RD Broker
LS01 - RD Licensing
SH01 - RD Session Host running Wordpad RemoteApp to test

Client:
Surface Book 2
Windows 10 Enterprise
3000x2000 with 200% scaling
2 x 1920x1080 monitors connected via Surface Dock

This client connected to our RDS 2016 farm does not have any issues running a RemoteApp. If I attempt to run the test Wordpad on the 2019 setup I get the following message:


[Window Title]
RemoteApp Disconnected

[Content]
The configuration of the local display monitors was not accepted by the remote computer. For assistance, contact the owner of the remote computer or your network administrator.

[OK] [Help]

Here are the scenarios I have tried:

On dock with external monitors with W10 scaling at 200%: Fails with error above

Off the dock with no external monitors but native resolution scaled to 200% - works

On the dock with native resolution scaled to 100% - works

The first scenario is going to be the most common use for me. This is really a niche issue at the moment since I am one of a few that are using a Surface device with a high resolution display. However we continue to roll out other Surface devices and laptop brands with high resolution screens so I could see this being more problematic down the line.

I haven't been able to find another reference to this error thru my Google searches so far. As long as scaling is the same across all monitors it appears to work ok but in this mixed scaling setup, the 2019 session host fights back where the 2016 session host appears to handle it with no issue.

Can't open start menu on RDS Windows 2016 Server for all users

$
0
0

Hi

I have RDS cluster on Windows 2016 Server and use User Profile Disk. Today when users login on one server when press start button menu start don't show myself. When logout this person and person log myself on different server menu start work correct. Person use this same User Profile Disk. This situation is for all users on this one server. Not was installed any updates.

RemoteApp Launch Timeout

$
0
0

Hello all,

We've been having an issue lately with a specific app we use over RemoteApp - it's essentially a program built inside of FileMaker.
When people launch the RemoteApp, the FileMaker client can sometimes take 10-15 seconds before it actually shows any GUI (but the process launches immediately). When running as a full Remote Session, or directly on the server, this is no problem. However, it seems when that GUI doesn't show fast enough, the RemoteApp Connection Times out (The icon in the System Tray that shows we're connected to a Remote App Session disappears as well). If they relaunch the RemoteApp (via the RDP file), the process is already running since the user session was just disconnected and not logged off, and the app is fine.

It's not really too much of an issue, but obviously it does cause some frustration with users. I've been searching for an answer, but I can't seem to find one. Is there a configurable timeout for the RemoteApps that I can set?

This is in a Domain Environment.
All the client machines are running Windows 10 Pro. Servers are running 2016 Standard in a Hyper-V environment.
The app is FileMaker Pro 17 Advanced.

Any thoughts?

2019 RDS Gateway slow logon. Approx. 80-100 seconds.

$
0
0

Can't figure out why login through RDS Gateway is so slow...

I've setup a 2019 RDS environment.

It's all VM's
Server: Connection Broker and License Server
Server: Session Host (Server 2019)
Server: Gateway (in DMZ)

Using FSLogix.
MFA plugin through Azure.

When logging in from inside network it's fast. (Not asking for MFA)
When logging in from outside through gateway, it takes 1:40 minutes before desktop is ready. (Asking for MFA)

Using a RDP file.
MFA challenge comes ~11 seconds after password is entered.
After that: "Configuring remote session" in a long time.
Occasionally the login is way faster.
(after I wrote this, the MFA challenge took 4 seconds and was 100% logged in in about 10 seconds through gateway)

I can't see where to begin troubleshooting...

Sometimes the connection is lost, asking the MFA challenge again.
Tried using "Negotiate" and  "RDP Security Layer"

Tried looking Event Viewer on several servers with no luck

Sorry for the jumping in text.



RDS CALs per user only partially issued

$
0
0

Hello,

We have a new Server 2016 Remote Desktop environment set up (1 broker + 2 TS's).
We installed 50 RDS CALs (per user).

At first none of the CALs were being issued, but the remote desktop connections work fine nonetheless (published apps).
License configuration + License Diagnostics say everything is OK.

So we removed the licenses, reinitialized the database, reinstalled the licenses, reactivated license server.
After that we noticed that about 10% of the connections made had a corresponding CAL issued.
I have no idea why some are issued and most are not. The users for whom the CAL was issued are spread across both TS's.
Eventviewer shows nothing out of the ordinary regarding RDS licensing. License config + diagnostics still say everything is OK.

It also turns out that the grace period is still active when we check through WMI : 110 days left (10 days past since reactivating the licenses).

Any ideas on where to look next ? Thank you.

RD Virtualization Host Configuration Failed : At least one of the required services is not running on the server

$
0
0

I have two nodes that I am trying to set up a virtual machine-based deployment with.

Node1 has RDCB, RDGW, RDWA, RDVH all installed properly, and seem to work as expected.

Node2 has only RDVH installed, and it is not working correctly.

From Node2, in Server Manager under Remote Desktop Services, I get the error:  

The server pool does not match the RD Connection Brokers that are in it. Errors:
1. Cannot connect to any of the specified RD Connection Broker servers. Ensure at least one server is available and that the Remote Desktop Management (rdms), RD Connection Broker (tssdis), or RemoteApp and Desktop Connection (tscpubrpc) services are running.

Node1 (which hosts the RDCB) is online, and all of the three services above are running on it.

I can ping Node1 from Node2 and vice versa.

Node2 is apart of the server pool on Node1 and vice versa. I even removed them and re-added them.

I followed threads suggesting to open the RDCms database in SQL Management Studio, bring it offline and then back online, but this makes no difference (probably because RDCms was not in a recovery or pending state in the first place for me).

Uninstalling RDVH and re-installing RDVH directly onto Node2 makes no difference.

Uninstalling RDVH and re-installing RDVH through "Add RD Virtualization Host Servers" under Deployment Overview on Node1 fails with this error in Event Viewer under Microsoft-Windows-Rdms-UI/Admin :

Event ID 4119

RD Virtualization Host Configuration Failed on <server-name> With Error: At least one of the required services is not running on the server <server-name>.

Searching this event ID pretty much only brings up results about firewall blockages. I have no firewall set up, and so this is not the issue. I found absolutely no results online about not having a required service.

On Node2, I have the following services installed and running:

- Remote Desktop Configuration

- Remote Desktop Services

- Remote Desktop Services UserMode Port Redirector

- Remote Desktop Virtualization Host Agent

What service am I missing? Is it Remote Desktop Management (rdms)? How do I go about installing it? And why was it not already installed?

Both these servers have just gone though fresh OS installations, are fully updated, and have identical OS specs. 

I have removed/installed/rebooted both servers countless times to try to get a proper RDVH installation on Node2.

It makes no sense as to why this wouldn't be working out of the box.

Upgrading RD Services to 2019

$
0
0

I am getting the following error when I try to upgrade an RD Virtualization Host from 2016 to 2019.  this is from the Scanresults.xml

Id="RdsUpgCheck.dll_RdsUpgradeComplianceCheck"><CompatibilityInfo BlockingType="Hard"/><Message Text="You have the Remote Desktop Virtualization Host (RDVH) role installed on this server. After you upgrade, you won’t be able to add the RemoteFX 3D video adapter to virtual machines."/><Action Name="Dismiss"

Google does not return much on this error.  I am doing it this way because it will not allow us to add a 2019 RD Virtualiztion Host to our deployment and I can find to useful errors in the event logs. 

We are trying to upgrade our RD Services from 2012 R2  to 2019. Specifically we are migrating our of RD Virtualization hosts to new hardware on Windows 2019. We have already upgrade the RD Broker to 2019, the RD Web and Gateway are on 2016. 

The upgrade procedure was falling so I loaded Windows 2016 on the RD Virtualization hosts and was able to successfully add the host to our current RD Broker. I then thought I would in-place-upgrade the RD Virtualization host to 2019 but if fails the checks with the error above. 

Todd



Shadow session indicator

$
0
0
Hi.
Users want to know when shadow session starts and when it ends. Red frame around screen or icon on taskbar.
Is there some way to indicate that user session is shadowing?


How to allow Terminal Server logon scripts to use PowerShell full language mode?

$
0
0

Hello everybody,

At a customer's site there is a PowerShell logon script set for users via GPO. The users log on to Terminal (RDP) Servers. PowerShell seems to be in restricted language mode at least for normal users. However, the logon script must use features not available in PowerShell restricted language mode.

How can we have the logon scripts in full language mode please?


Best Regards, Stefan Falk

W10 1709 RemoteApp - Pop-ups hidden behind main window

$
0
0

Hi, I've this issue after migration of RDS server from 2012 R2 to 2016 and client have Windows 10 1709 but with Windows 10 1703 no issue.

Any suggestions?

Hyper-V VM running RDS - typing causes 1 character a second to appear

$
0
0

I have a Hyper-V cluster running Server 2016 Datacenter version 1607

This cluster is running multiple VMs, including 6 RDS Host servers for users to access both internally and externally through RDGateway. Everything has been running fine since last Summer, but in the last could of days, one of the 6 RDS hosts has started to experience a typing lag. This lag occurs whether you connect via an RDP connection or even if you connect via a console session in Hyper-V Manager (without running an Enhanced session)

The lag only occurs after you log in - i.e. at the username/password field, typing appears instantly, but as soon as the users desktop appears, anything you type (notepad, word, etc, Start Menu-> Run), any typing appears on the screen very lowly, one character every (roughly) 1 second, no matter how fast you typed in. no characters are lost though.

This occurs whether you log on as a domain user or a local administrator.

All 6 RDS hosts are in the same OU and have the same GPOs applied.

No relevant changes have occurred, and no windows updates have been applied in the last month.

All other VMs and the host servers typing is normal. Only this one RDS Host.

Has anyone seen anything similar before?

Anyone got a fix?

Thanks

Ken Z


RD Gateway server could not create tunnel.

$
0
0

The user "domain\user", on client computer "193.xxx.xxx.xxx", was not authorized to connect to the RD Gateway server because a tunnel could not be created. The authentication method attempted: "NTLM" and connection protocol"HTTP". The following error occurred: "2147965433".

Any ideas?

  • Clean install,
  • godaddy cert.
  • Windows 2012 R2 Standard
  • 1 Broker, 1 Gateway, 1 Host on the same server.
  • Client uses windows 10 

When connecting via RDWEB, the login prompt is displayed. When logging in after clicking on the rdp file the mstsc connection window freezes for a brief second, then the pop up below appears: (google translated)

Your computer can not connect to the remote computer because the server Remote Desktop Gateway expected a different authentication method than the one used.

1 CAP, 1 RAP. Policy set to allow Domain Users, user is member of Domain User and Admins.

Also saw the following Warning:

RDPClient_SSL: An error was encountered when transitioning from TsSslStateDisconnected to TsSslStateDisconnected in response to 25 (error code 0x8000FFFF).



//Regards, Andreas



was not authorized to connect to the RD Gateway server because a tunnel could not be created after installing MFA solution

$
0
0

We have built a new RDGateway\RDWeb server and initial testing was working successfully.  We then installed our MFA Solution (SMS Passcode) and are now getting getting this error:

The user "userid", on client computer "ipaddress", was not authorized to connect to the RD Gateway server because a tunnel could not be created. The authentication method attempted: "Cookie" and connection protocol "HTTP". The following error occurred: "2147965432".

This is occuring on all browsers we have tested with (Edge-Chromium, Chrome, IE111) but if the user does an Empty cache and hard refresh in their browser, they are able to successfully authenticate and connect.

If we do an iisrest on the RDWeb server, users are able to successfully authenticate and connect for approx. 10 minutes before this starts occurring again.

We have totally rebuilt the server and installed all roles and have consultants double check the RDGateway\RDWeb setup to confirm those are installed correctly.

Has anyone seen this before or may now of a fix?


jkv

No remote desktop license servers are available to provide license

$
0
0

I am getting this error on many servers and solution to this is to delete the grace period.

But I have my license activated and license diagnoser does not show anr error. I made changes in group policy and specify the license server name. 

In RD Licensing Manager it is showing Total and Available license but is still showing 0 License has been issued.

Please help me in this.

What privledges for Remote Access

$
0
0

Hi,

This is my first post here and I'm also doing my first Powershell script.

Small background to the project. As everyone knows COVID-19 is spreading around the globe and we are suggested to work from home. With this my manger asked me if I could do a dashboard for VPN users. Which I've done in python and php.

But we also have a couple of Direct Access servers which I would like to monitor aswell.

I've found the following cmdlet which does what I want Get-RemoteAccessConnectionthe question I have now is. What privledges does require for me to run this command on a remote server.

I want to set up a Service Account that only have read rights to get the remote access information.

Best Regards,

Robin

Remote Desktop Connection App for Android and iOS with 2FA

$
0
0

Good Day,

I have a remote desktop services deployment using RD Web Access and RD Gateway. I want to secure the RD Web Access portal with 2FA. With 2FA disabled users are able to add the resource feed URL to the Remote Desktop Connection app for iOS and Android and access the published apps on their mobile devices with no issues.

When i enable 2FA the connection to the resource feed is blocked. When i contact my 2FA provider they indicate that they currently do not support the RD Connection app. Their response was:

if one is using the Microsoft Remote Desktop smartphone app to connect to apps published via the remote apps feed hosted by a our 2FA-protected RD Web server, then this will no longer work as our 2FA service for RD Web application blocks access to the remote apps web-feed URLs. 

Does Microsoft support any 2FA service with the RD Connection app?

Viewing all 27656 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>