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

Microsoft Azure RemoteApp API

$
0
0

Is there or will Microsoft announce some kind of the API for the Microsoft Azure RemoteApp? 

Thanks.


Webaccess role question

$
0
0

Hi,

I'm setting up a RDS 2016 environment. I have configured the webaccess role on the gateway server. The gateway server is in a DMZ.

Do i also need a webaccess server available inside the network, besides the one in the DMZ? 

RDS 2012 R2 - Pshell to disable the user consent for shadowing procedure

$
0
0

Hi,

is there some cmdlet to disable the user consent?

Clean install Windows 10 can not RDP via 2012 RD2 RDG.

$
0
0

I have two systems, both clean installs of Windows 10 Pro.  Both systems used to connect to work via a Windows Server 2012 RD RD Gateway.  We saved the RDP shortcut and they both stopped working now.  We create a new short-cut with same or different creds and still does not work.  Failure seems to be when authentication takes place on the RD Gateway server, not the remote computer.  I know this since I removed all creds and enter each manually and this happens when I am asked for the RD Gateway creds.  Now if I connect from any other system it works fine, if I connect from my phone via MS's RDP client it works fine.  I checked event logs both on the client jumping in and the RDG server and there is nothing when this happens. 

Error: Your computer can't connect to the remote computer because an error occurred on the remote computer that you want to connect to.  Contact your network administrator for assistance.

Any thoughts?

windows server 2016 TSclient: Open RDP Virtual Channel Failed already open

$
0
0

Hi all !

I'm running on windows server 2016 terminal server services.

When all client running win10 try to connect this error appear

TSclient: Open RDP Virtual Channel Failed already open

Client then click OK button, error disappear and have desktop access.

if the client is running windows 7 no error appear.

I googled all the morning but seems that this issue appear only on windows server 2012.

Have anyone ever seen this on 2016 machine?

Thanks.


Adl Srl

RD session connections windows server 2016 - two computers couldn't connect in the amount of time allotted

$
0
0

we have RDS installed in Windows 2016 standard edition and use session-base desktop deployment.

It was working fine for about one year. About two weeks ago, we started to have the following issue:

This computer can't connect to the remote computer.
The two computers couldn't connect in the amount of time allotted. Try connecting again. If the problem continues, contact your network administrator or technical support. 

When this issue happens, we find some users are disconnected in the RDS-Collections-QuickSessionCollection. But we cannot log/sign off those users, they are always showing there.

BTW, we can sign of those users in the Task Manager-Users. 

We can solve this issue by restarting the server. How to fix it without restarting the server?

Thanks!

RemoteApp Disconnected. The two computers couldn't connect in the amount of time allotted.

$
0
0

We have RDS installed in Windows 2008 R2 Standard edition and configured RDS Web, RDS Gateway, RemoteAPP, ADS, DNS in the same server which is in DMZ and we have opened the port 443 only for the clients and enabled the self signed certificate.   We have tested this setup with various windows 7 ( 32/64 bits and IE9/IE10) machines, everything works fine.  But few clients are getting the below error.

RemoteApp Disconnected

This computer can't connect to the remote computer.
The two computers couldn't connect in the amount of time allotted.  Try connecting again.  If the problem continues, contact your network administrator or technical support.

Please suggest a way forward.  3 users are able to connect from windows 7 (IE10) PC, but 3 users are getting the above error they are also having windows 7 (IE10) PC.

2019 RDS Connection Problems, Errors, Weirdness

$
0
0

I'm trying to set up 2019 RDS to replace our 2008R2 Terminal Server.  I used this paper as a guide, but did not publish any apps, just using session based desktops: https://gallery.technet.microsoft.com/Windows-Server-2016-Remote-ffc383fe

I have a broker server, gateway server, web server and two session hosts.  Licensing server is running on the broker server but not activated yet.  I also haven't enabled the gateway server yet as I'm just testing internally. So far I have just one collection pointing to one of the session host servers. We are not testing any remote apps, just session based desktops.

Here's the problem:

  • I'm able to initially get two users connected (either directly on the broker server, or through the Remote Desktop Web Access page) If a third tries to connect, it hangs at a black screen and eventually gives the message "failed to reconnect to your remote session.  Please try to connect again".  I would expect to see a message about not enough licenses or do you want to bump someone else off.
  • During the black screen time, and before the error message, the active two users get bumped off, but then automatically reconnect.
  • If I then log off one or both of the active users, I'm unable to log anyone into the server again.  They all get the black screen and the error message.  At this point I'm only able to log into the server on the console.  The only way to fix this is to reboot the broker server, and the cycle begins again.

Here's what shows up in the Event Viewer on the Broker server:

  • When active users get bumped out theTerminalServices-LocalSessionManager log shows an error like this: “Session 3 has been disconnected, reason code 3489660929”. Also shows reason codes 12 and 0.  Also get this error in the same log: “An error occurred when transitioning from CsrConnected in response to EvCsrInitialized. (ErrorCode 0x80070102)”

  • In the RemoteDesktopServices-RdpCoreTS Operational log, we get lots of weird errors:

-TCP socket READ operation failed, error 10054”; “RDP_TCP: An error was encountered when transitioning from StateUnknown in response to Event_Disconnect (error code 0x80072746).”;

-RDP_SEC: An error was encountered when transitioning from FStateProcessingData in response to FEventPostReceiveFailed (error code 0x80072746).”

-RDP_SEC: An error was encountered when transitioning from FStatePassthrough in response to FEventCheckAndCompleteReadsFailed (error code 0x8007139F)”.

-Failed InputMgr->GetHandles' in CUMRDPConnection::GetInputHandles at 4043 err=[0x80070102]”; “'GetInputHandles Failed' in CUMRDPConnection::GetInputHandles at 1401 err=[0x80070102]”

Here’s what I’ve tried:

  • All servers are updated
  • Removed and recreated my collection
  • Rebooted many times
  • Restarted the Windows Audio service
  • Tried both from the RD Web Access page and directly connecting to the Broker server
  • Tried disabling firewalls on all RDS servers

I’m kind of at a loss and it’s driving me bananas. Any suggestions would be much appreciated!


George Moore


RDP to windows 10 try to use local printer set as default but it's trying to use last printing device used on remote host to print.

$
0
0

RDP to Win10 pro system 1803 from a windows 1803 with a printer attached>  Select the redirected printer, in this case a Zebra GC420d thermal > print a test page...works fine. >  Set it as default printer > try to print anything.  

What seems to be happening is any device on the remote system that was last used to print on the remote system is what it tries to print to ;HP printer, onenote, PDF printer. even though the redirected local host printer is set as the default

It was working fine before updating the remote system to 10.  

Can't Change RDWorkSpaceName

$
0
0

Had to uninstall my RDS services and reinstall. When I try to change the WorkSpace name through powershell I get this error.

Set-RDWorkspace : Failed to update the workspace on RD Connection Broker server RDS.DOMAIN.COM.
Error: Exception calling "Put" with "0" argument(s): ""
At line:1 char:1
+ Set-RDWorkspace -Name "My Company"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Set-RDWorkspace

Any ideas? I am running powershell as admin.

Thanks, The_Techguy

2FA for Windows server essentials

$
0
0

Hi Support,

Can 2FA be installed on the Windows server 2012 & 2016 Essentials?  If yes what is the best practice? If not can anyone recommend a third party software to achieve the goal?  I want to have 2 FA for connecting to the local workstations via RWA (remote web access or access anywhere).

I appreciate your help.

Jamshid

 

Replaced SSL cert, now getting certificate error when launching remote apps

$
0
0

Set up:

Server2016 Hyper V Guest 
Remote Desktop Gateway
Remote Desktop Licensing
RD Web Access
RD Connection Broker

Server2016 Hyper V Guest
RD Session host

Internal FQDN: Domain.Company.Local
External FQDN: company.ca

SSL Cert Wildcard: *.company.ca

DNS redirects remote.company.ca > external IP on firewall

Firewall port forwards RDP requests to Remote Desktop Gateway via custom port :9999 (443 was taken and my firewall didn't redirect through a WAF well with RDP so this worked)
Custom Port was set in transport options on remote desktop.

Initial setup worked fine, imported the SSL certs (which are now expired) then I updated the server to the HTML 5 client.

That worked until the certs expired, I replaced the certs first in the remote desktop gateway manager then in the Server Manager > Remote Desktop Gateway Overview > Collection Properties (selected the new cert for each, hit apply)

Checked IIS binding, its now the new cert.  Did IIS reset, and rebooted server to make sure changes took.

The portal gets the new cert just fine back to secure padlock in browser.  When launching an app though I get a certificate error:

Your session ended because an unexpected server authentication certificate was received from the remote PC. Ask your admin or tech support for help.

Certificate information:

Server Name:
CN=*.company.ca
Certificate thumbprint (SHA1):

<THE CORRECT CERTIFICATE THUMBRPINT)

I verified the thumbprint against the cert and all was correct.  I hadn't changed the FQDN from the setup before, and even tried rolling back the server and checking, as soon as I swap the cert out in any of the places it breaks the FQDN external being different from internal hoops I had to jump through originally.

Oddly if I go to /rdweb and use the non-html5 method the remote apps fire up and launch just fine.

What am I missing here?


Temp local folder for random users

$
0
0

Hi All,

An environment of RDS servers and broker, OS version Windows Server 2016 Standard with roaming profiles,

random users sometimes are signing in and creating c:\users\temp* folder,

once full log off is preformed the next login will probably be valid even to the same server,

I can attach GPO result summary if needed,

any ideas?

thanks alot,

Noam.


Microsoft remote desktop 10 connect to the wrong environment

$
0
0

I am using Microsoft remote desktop connection client for mac version 2.1.1, and when I am connecting to the server I first input the address and then I can select the user from the second window, but when I use the Microsoft remote desktop 10 I always login in the wrong environment because it does give me the option to choose the user. how can I achieve that in the new software? Thank you


Remote desktop connection is crashing with an orange screen

$
0
0
Until yesterday everything worked fine. Now the Remote Desktop displays the two screen shots of the 2 computers I am trying to connect to. However, when I click on the images the second window opens with an all orange screen and then both windows crash in a few seconds.
My desktop is running Win10 pro Version 1803, build 17134.590
The main server I am trying to connect to is Win Server Essentials 2016, Version 1607, build 14393.2724
The other computer I am trying to connect is a Win7 Pro, version 6.1, build 7601, with Service Pack 1.
All of the computers are up to date with their Windows updates. They have all been restarted.
I checked the services and all of the automatic ones are running.

RemoteApp Disconnected

$
0
0

We have one user who gets this "RemoteApp Disconnected" very frequently.

RDS brokers in multiple regions - where to put SQL

$
0
0

Hi All,

I'm designing a multi-region RDS 2016 farm where 2 of the regions have very stable internet connections but the 3rd does suffer from intermittent internet outages. The office is on an island in the Carribean and the telco thinks nothing of cutting the connection to the island for a few hours for maintenance every so often so there's not much I can do about that. I also have to think about hurricanes and the odd ship that hits the undersea cable. As if things weren't difficult enough :)

Currently, all users at all offices are using PCs but we are introducing RDS with the long term plan to have everyone using RDS session-based desktops, also available externally. There are many reasons for this, including an ever-growing population of remote users.

The main user population is in the Carribean but our SQL databases for critical in-house applications, Exchange and a few other important apps run out of our main data centre located in a very stable environment but will all be moving to Azure (US) and O365 this year.

My preference would be to put all the RDS environment (brokers, GW, Web, RDSH etc) in our main data centre or Azure as our critical data and apps aren't accessible during an internet outage anyway but I've already lost that argument.  So that's enough background.

To ensure users in the Carribean office can launch an RDS desktop session from a thin client when they have no internet connection, along with having local RDSH servers, I'll have to have the brokers in HA, one in the Carribean, the other in our main data centre. As this will require SQL, will the broker in the Carribean office still function should it not be able to communicate to the SQL DB in our main data centre? is the broker clever enough to cache the settings locally and continue to work or will it cease to handle any connections when the DB is unavailable?

If it will not function without a continuous connection to the DB, I guess my only option would be to have the SQL DB in HA group with both SQL servers servicing their local brokers. I'd really like having to avoid paying for 2 SQL licenses.

Thanks

Conor


Client unable to RDP from Windows 8, 10 over RDP Gateway sitting behind a load balancer

$
0
0

Hi,

I have a simple setup of RDP Gateway sitting behind a AWS Elastic load balancer (HTTPS). I am able to connect through this gateway when I am connecting using an older OS, windows xp, windows 7. But Anything above Windows 7(SP1), Windows 8, 10, are not able to get through the gateway. When I look at the event logs I can see the below events. RDPClient_Gateway: An error was encountered when transitioning from AAStateInitializingTunnel to AAStateError in response to 6 (error code 0x800706BA).

RDPClient_Gateway: An error was encountered when transitioning from AAStateCreatingOutChannel to AAStateError in response to 3 (error code 0x800706BA).

Its funny that if I remove the load balancer, and try to connect the server directly, then I am able to connect to the server.

From wireshark I can see that its the client which is terminating the connection.

Could you please tell me what needs to be done, so I can make the RDP Gateway work with windows 8 & 10, with a load balancer between.

PS: The load balancer, is only for SSL termination, so I can use a proper CA signed certificate.

Regards,

Naveen Naik

Using RDP Gateway - remote computer uses NLA but domain controller cannot be contacted

$
0
0

Hi,

This evening I got the error remote computer uses NLA but domain controller cannot be contacted... however I closed the error down, tried again and got straight on.

Could it just simply be a blip? I was using our Server 2016 RDP gateway to get onto my Windows 10 machine.

To confirm I have then gone on to all 3 of our DC's and run a DC diag, and all come back fine...

Server 2012 R2 Remote Desktop Services Deployment

$
0
0

Good day Everyone,

So, the agreement between my company and another was to use terminal services for their users to connect and use the published apps, which was fine to test out during the 60day trail period. Complications occurred when the white-listing of specific sites stopped working and we had to find ways around this, which meant that by the time things got sorted, the 60 day trail period you get when installing RDS role, expired. 

The company doesn't want to purchase any CAL's for their 2/3 users (users is expecting to grow, hence terminal services) and requested that terminal services be removed for the time being. This is fine, because I can just uninstall the RDS role form server manager. 

The problem is, even after uninstalling, RDS still appears in the quick access on the left in server manager. I am not an expert on RDS or terminal services, but i would expect it to be removed. But this isn't the real problem, the problem is, even after removing the role, windows still complains about there not being a license configured in the license manager, which means that users can't RDP to the computer. I've been searching the internet and cannot find a solution. 

I already tried going to regedit HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp and selecting decimal and setting it to 3389. 

My understanding is that server is for some reason still sending incoming rdp requests to the session host? And that it's checking for a license on the license manager since the temp license expired.. Not sure what the process is that it's following. 

I just want to reinstate that default RDP, so that users can atleast connect to the machine again. 

I saw a fix where a user said you must go to the session host config and create a new RDP-Tcp listener, but i have no session host server added, and cannot add one. 

Any help would be appreciated please. 

Thanks

Viewing all 27656 articles
Browse latest View live


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