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

indexing issue

$
0
0

i have server 2012 r2 i have issue that when my search reached to 10 GB it automatically broken and initialized with start point i have formet the server, rebuild the indexing it is very frustrating for me to deal because users not be able to find the mail while search request you to please suggest me what do please. 

   

Setup Connection Broker HA multiple sites

$
0
0

Hi all,

We have an infrastructure deployed on 2 sites, Production and Disaster Recovery.

In order to manage this platform, I want to deploy an RDS Farm of Jump Servers for the engineers to operate.

This deployment will have 4 servers, 2 as a Connection Brokers in HA + 4 as a Session Hosts (including 2 CBs), also License servers will be deployed on Domain Controllers and SQL CB database will be hosted in an Availability Group with nodes in both sites.

In order to provide resiliency, I want to deploy 2 servers in Prod and 2 servers in DR.

My question is, can I configure 1 CB in Prod and the other one in DR site?

If so, I assume that both will use the same SQL DB for HA, but do you know if there's any way to configure that CB in DR points to SQL Db in DR where a secondary-readable copy of the DB will be running?

I know that probably this is an strange scenario and I'm pretty sure that the second part, the SQL one, is not possible. But just wanted to know if some of you faced a similar approach and even if there are better options to achieve this.

Thanks in advance.

Failing to deploy Remote Desktop Services on fresh Windows Server 2019 domain

$
0
0
Hi

I am having trouble deploying an RDS environment. My deployment plan was this:
1. Install RD Connection Broker, RD Licensing, RD Web Access and RD Gateway role on my domain controller (dc01)
2. RD Session Host on my other virtual server (rds01 - fresh install, only joined to domain)

Step-by-step of how I installed this:
(on dc01)
1. Manage > Add Roles and Features > Next
2. Select "Remote Desktop Services installation" > Next
3. Select "Standard deployment" > Next
4. Select "Session-based desktop deployment" > Next > Next
5. Add "dc01.corp.contoso.com" as RD Connection Broker server > Next
6. Add "dc01.corp.contoso.com" as RD Web Access server > Next
7. Add "rds01.corp.contoso.com" as RD Session Host server > Next
8. Select "Restart the destination server automatically if required"
9. Confirm rds01 is online and reachable
10. Hit "Deploy"
* at this point it takes about 5 minutes before the first error shows up

RD Connection Broker role service: dc01.corp.contoso.com - Failed
    Error message: "Failed: Unable to set the RD Session Host server running in redirection mode because the RD Connection Broker server is unreachable."
    Event viewer error: "RD Connection Broker Configuration Failed on DC01.CORP.CONTOSO.COM With Error: Unable to save the RD Session Host server redirection settings."
RD Web Access role service: dc01.corp.contoso.com - Succeeded
RD Session Host role service: rds01.corp.contoso.com - Succeeded

Continuing, I try to install RD Gateway role on dc01:
Step-by-step of how I installed this:
(on dc01)
1. Server Manager > Remote Desktop Services > Overview
2. Click "RD Gateway" (big green plus + sign)
3. Add "dc01.corp.contoso.com" as RD Gateway server > Next
4. Set SSL certificate name to "rdgw.contoso.com" > Next
5. Configm selections > Add
* at this point it takes about 2 minutes before the first error shows up

Remote Desktop Gateway role service: dc01.corp.contoso.com - Failed
    Error message: "Failed: Unable to create a Remote Desktop resource authorization policy on dc01.corp.contoso.com. The error is Object reference not set to an instance of an object.. Please check the eventlog on RD Gateway server for more info."
    Event viewer errors(e) and information(i) (order old to newest)
    Error:          RD Gateway Configuration Failed on dc01.corp.contoso.com With Error: Failed to create RAP for Domain Computers group. Error = 0
    Information:    The resource group "RDG_RDCBComputers" was created.
    Error:          RD Gateway Configuration Failed on dc01.corp.contoso.com With Error: Failed to create new RD Connection Broker Computers group. Error = 0
    Information:    The resource authorization policy "RDG_RDConnectionBrokers" was created.
    Error:          RD Gateway Configuration Failed on dc01.corp.contoso.com With Error: Failed to create RAP for RD Connection Broker Computers group. Error = 0
    Error:          RD Gateway Configuration Failed on dc01.corp.contoso.com With Error: Unable to create a Remote Desktop resource authorization policy on dc01.corp.contoso.com. The error is Object reference not set to an instance of an object.. Please check the eventlog on RD Gateway server for more info.

Now you see the informations doesn't really add up with the errors. If I go to RD Gateway Manager application all RAP and CAP are created as well. However, 

Additional information:
* The environment consists of one domain controller (dc01.corp.contoso.com) and one remote desktop session host (rds01.corp.contoso.com)
* The environment is totally fresh, have only installed AD DS beforehand (was going to use this deployment internally for techs)
* The servers are volume licensed
* Both servers have internet connection
* DNS is working

What I have tried:
* Rebooting
* Re-installing all remote desktop services roles
* Re-installing OS on both servers
* Re-installing domain
* Windows Update
* Disable any GPO that hit the domain controller
* Checked to see if any local group policies exist on the target server
* Installing from PowerShell
* Installing with another domain administrator account
* Installing the role on the rds01 server
* Using DISM to repair from original image
* Quick start deployment
* Standard deployment
* This exact deployment procedure was used at a customer last week, where everything is working just fine.

Does anyone have a clue what is going on? What am I doing wrong...

Thanks in advance.



Issue with user profiles

$
0
0

I have a Windows server 2012 running as a terminal server for about 10 users. Each morning for the last few days we have been having issues with user profiles not loading. At least one user has a temp profile when login in first thing in the morning. So far rebooting the server fixes and all is well for the rest of the day. So far each morning its a different user and it has happened to two users at the same time.

Just wondering what could cause this and where would i start looking to see for the cause of this issue? I've taken a look at the event viewer but couldn't find anything obvious. 

Problem with RDP

$
0
0

Hi,

Lately I'm having problems with an RDP server, from time to time I have errors like: 
Service Control Manager ID 7011 The timeout (180000 ms) for the transaction response of the NcbService was exceeded.
Service Control Manager ID 7011 The timeout (180000 ms) for the transaction response of the UmRdpService service has expired.
And finally comes an error like this:
 Service Control Manager ID 7046 The following service has been stopped repeatedly in response to service control requests: Port Redirector in Remote Desktop Services user mode.

I have to restart the server to be able to log in again.
The server is monitored with Zabbix and has no RAM or CPU problems.
I don't see other errors in event viewer. 

I have already tried solutions like: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc756319(v=ws.10)?redirectedfrom=MSDN

Increasing the timeout doesn't solve the problem. Any ideas on how to solve this problem?

Regards,
Marcos

Remote app smart card redirection - how can I get it to work

$
0
0

Hi,

my machine is win 7 professional which support 8.0 rdp protocol.

my jump server is win 2012 r2

on the server end , I have enabled smart card redirection for a  remoteapp on iIis 8 thru Remote Desktop services - remote apps - session collection - client settings - configure client settings - ticked smart cars option.

on my machine I have allowed USB access for the specific device guid on sep(Symantec end point)

however, when I remotapp into the jump server I am unable to see the smart card but when I allowed the plug and play or printer, I can see them though.

the jump server has an web based app that will need to read the smart card info on my client and I will have to enter the password to login.

i have also tried with a win 10 pc but still the same results.

appreciate any advise

maxz77

RDS Blackscreen

$
0
0

Hello

We have RDS farm with GW, RDCB in High availability mode. Actually RDS (session host on Win Srv 2019), GW (Srv 2016), RDCB (Win Srv 2016). Problem is, sometimes, when users trying to log in to one of that session host server they get only black screen with cursor. Sometimes i can kill user, sometimes no. If i can log off user, then i disable login to server, and user can login to another. But sometimes i cant log off user, and only way how to get this work is restart session host server.

We´re using Dell servers (3 types but it doesnt matter) which have idrac and console. Sometimes i can log in through this console to server and i can see user which have blackscreen in task manager, but no way to kick him from server (again only way is to restart), but sometimes i cannot do anything in console, i see only main screen with time and date, but cant do anything, but server is running, other user, who´s are logged, working without any issues.

So my question is, is there any way how to find where is the problem ? If so, can you please write it in steps (if check GPO, Event viewer, network ... and on which side - GW,RDCB,RDS) ? We´re faced this problem when our session host servers was on Win 2016 too.

RDWeb Password Reset not working - Windows Server 2016

$
0
0

Dear readers I have the following issue when a user wants to reset their password via the RDWeb password reset.aspx

"Your password cannot be changed. Please contact your administrator for assistance." 

What I have done so far : 

- Went into the IIS Manager and set the "PasswordChangeEnabled" to true.
- Reset the IIS Manager via CMD.
- Activated the logging (which doesn't work by the way).
- Rebooted the host & client to be sure.

Does anyone else have this problem aswell or does someone know the solution to said problem?

Hope to hear from someone.

Kind regards,

Sander ten Voorden


2019 CAL User License Duplicates based upon case sensitivity

$
0
0

Hello,

I installed a 2019 RDS farm and setup RDS Per User CAL method. The issue is the user license is duplicating and taking a license based up on the case sensitivity of the user name. 

I am aware of being able to rebuild the license database but we really don't want to do this all the time.

Is there a way to prevent the above from happening?

Will these duplicates cause issues with people being logged out after 60 minutes when our license count is exceeded?

Any help would be appreciated.

One Remote App shows RDP Icon and not its own in the Taskbar

$
0
0

Hy, we work with Remote Apps on an Terminal-Server 2019.

We have one App for xpecto and one for sFirm. When we pin the icon to the Taskbar they shows its icon.

But when we start the App the sFirm Icon shows the RDP icon and not the icon from sFirm. By xpecto this works right?

How can we change the icon, the users dont know, that the sfirm app is startet and start the app again..


Volker Busch

Windows 2019 - RDP TLS Version used by default

$
0
0

Hi

I was going to disable server TLS v1.0 on my Windows 2019 using IISCrypto by the creator Nartac Software it's a very simple/easy tool & used it many times.

(This stops Server from accepting TLS v1.0 requests so no IIS website requests etc)

My question by default does Windows 2019 RDP sessions use TLS v1.0, v1.1 or v1.2?

(When using Wire Shark it appears to be using TLS v1.2 but thought I would get confirmation)

Thanks


Change black background of remotesession with locked program

$
0
0

I have configured my Windows Server 2019 to start a program on remote connection.

This works fine, but our customers do not like the pitchblack background of the remotesession.

Is there a possibility to change this background to another color?

I know this issue was already discussed in this question but no Answer was provided.

Event 1067 The RD Session Host server cannot register 'TERMSRV' Service Principal Name on Windows 2019 Core

$
0
0

I get the following error every 12 hours:

ProviderName : Microsoft-Windows-TerminalServices-RemoteConnectionManager Id : 1067 Message : The RD Session Host server cannot register 'TERMSRV' Service Principal Name to be used for server authentication.

The following error occured: The specified domain either does not exist or could not be contacted.

This message appears only on Win 2019 Core servers but not on Win 2019 GUI, nor Win 2016 GUI, or Win 2016 Core.

I have checked the SPN and it already exists:

PS> (Get-ADComputer -Identity MyComputer -Properties ServicePrincipalNames).ServicePrincipalNames
WSMAN/MyComputer.mydomain.com
WSMAN/MyComputerTERMSRV/MyComputer
TERMSRV/MyComputer.mydomain.com
RestrictedKrbHost/MyComputer
HOST/MyComputer
RestrictedKrbHost/MyComputer.mydomain.com
HOST/MyComputer.mydomain.com

The error message also says: 

The specified domain either does not exist or could not be contacted.

But, I am logged on with a domain account, which means that the domain is available.


RDS 2016 - UWP, iOS, Android and Mac OS X Microsoft Remote Desktop Manager cannot connect to URL

$
0
0

About two weeks ago, the UWP, iOS, Mac OS and Android versions of Microsoft Remote Desktop Manager all stopped working for our RDS environment externally; previously, users were able to use this application externally and internally without fault.  If the users access our RDWeb/Pages/en-US/default.aspx and use classic MSTSC to open RemoteApps then this works externally.

When plumbing in the correct feed details to the apps we get (iOS, Mac OS) 'no workspace is associated with this URL site'.

We are using Windows Server Datacenter 2016 across the board with 2 servers acting as Gateways, Licensing, Broker and Web Access with a further 6 acting as session hosts.  All have been updated including the most recent crypto hotfix (approximately when the whole thing stopped working).

The route external users take would be:

External DNS entry - ADFSWAP - Gateway - Broker - Session Host

The following error can be found in the logs on our gateway servers:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System><Provider Name="ASP.NET 4.0.30319.0" /> <EventID Qualifiers="32768">1309</EventID> <Level>3</Level> <Task>3</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2020-01-28T09:09:11.513985500Z" /> <EventRecordID>135104</EventRecordID> <Channel>Application</Channel> <Computer>##gateway computer##</Computer> <Security /> </System>
- <EventData><Data>3005</Data> <Data>An unhandled exception has occurred.</Data> <Data>28/01/2020 09:09:11</Data> <Data>28/01/2020 09:09:11</Data> <Data>b06bd32f8e5749749acc0c7da21c3816</Data> <Data>78</Data> <Data>13</Data> <Data>0</Data> <Data>/LM/W3SVC/1/ROOT-1-132246739255801381</Data> <Data>Full</Data> <Data>/</Data> <Data>C:\inetpub\wwwroot\</Data> <Data>##gateway computer##</Data> <Data /> <Data>7564</Data> <Data>w3wp.exe</Data> <Data>IIS APPPOOL\DefaultAppPool</Data> <Data>HttpException</Data> <Data>A potentially dangerous Request.Path value was detected from the client (:). at System.Web.HttpRequest.ValidateInputIfRequiredByConfig() at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)</Data> <Data>https://fqdn:443/https:fqdn/api/feeddiscovery/webfeeddiscovery.aspx</Data> <Data>/https:/fqdn/api/feeddiscovery/webfeeddiscovery.aspx</Data> <Data>##Internal IP##</Data> <Data /> <Data>False</Data> <Data /> <Data>IIS APPPOOL\DefaultAppPool</Data> <Data>26</Data> <Data>IIS APPPOOL\DefaultAppPool</Data> <Data>False</Data> <Data>at System.Web.HttpRequest.ValidateInputIfRequiredByConfig() at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)</Data> </EventData></Event>

Anyone got any ideas?  The above has had some data annonymised for security.


Server 2019 RemoteApp (Terminal Services) and Splash Screens (Hang / Stuck)

$
0
0

Hello all,

 

We have been transitioning some of our remote servers from 2012 R2 or 2016 to 2019 when we recently saw this issue. We have an application that is installed on the server and published as a RemoteApp for the users. When the application launches, there is a Splash Screen that shows the version and information about the app while it is loading. As the Login dialog box for the app is opened, the Splash Screen is closed several seconds before it opens. The problem is that the Splash Screen is stuck on the screen. If the Advanced RemoteFX setting in Group Policy is active, the screen will remain in full and if it is disabled, it will leave a Black Box in the exact location that the Splash Screen had been. 

There is another thread about this in Terminal Services and there are no answers or responses since May (except what I have recently added). This is exactly what we are also seeing. (I cannot post the link as the system will not allow me)

 

Really do not want to have to pay Microsoft for an incident to get an answer as to why this is not working as it does in 2012 R2 and 2016 without any issues. The version of 2019 is Version 1809 Build 17763.652. For the Client PC, this happens with Windows 10 Version 1809 Build 17763.503 and Windows 7 Version 6.1 Build 7601 SP1.

Any help would be appreciated.

 

Thank you,

Stephen


Windows Server 2019 RDS - RDP connection to different collections not working

$
0
0

Hi.

I'm implementing a new RDS farm with Windows Server 2019.

I have this servers deployed.

* 1 -RD Web Access

* 1 -RD Broker

* 3- RD Host Sessions

* 2 -Collections

   *  Collection cDEP1 ---> RDSH 1,2 --> Users/Group of DEP1

   *  Collection cDEP2 ---> RDSH 3 --> Users/Group of DEP2

I have 2 different departments in the company, DEP1 and DEP2

2 Department users have rights to logon vía RDP on 3 RDSH servers, I do this because in the future the RDSH hosts can be moved between Collections.

I want the users can connect to the services through RDP client and depends if the user or group belongs to DEP1 or DEP2 department, apply the collection cDEP1 or cDEP2 and then connect to his RDSH host.

I have tried this environment and I get two results.

* If I connect with browser https://RDWA/RDweb depends of the user I can see the published Apps and works fine.

* If I connect with the RDP client whit this configuration file and User belongs to DEP1, the connection opens on any of the servers. The same if I start session with user belongs to DEP2 group.

full address:s:RDCB01.DOM.NET
workspace id:s:RDCB01.DOM.net
use redirection server name:i:1
loadbalanceinfo:s:tsv://MS Terminal Services Plugin.1.cDEP1

loadbalanceinfo:s:tsv://MS Terminal Services Plugin.1.cDEP2

It seems that the broker does not redirect the connections based on the user's membership in the collection.

I don't know if this behavior is normal or this idea I have is not supported.
I would appreciate if someone could clarify something about this installation

Thanks

      


2019 RDSH - not able reconnect to Disconnected session, every time new session (with fSingleSessionPerUser=0)

$
0
0

Hello colleagues

When we are doing such config (enable multiple sessions per user):

Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Connections

Restrict Remote Desktop Services users to a single Remote Desktop Services session     Disabled

We are not able to reconnect to any disconnected session that was running previously.

It seems that it was mentioned here for Inside build, but we have same...

https://techcommunity.microsoft.com/t5/Windows-Server-Insiders/Bug-no-reconnect-to-disconnected-session-with/m-p/282056/highlight/false#M829

Any solutions for this problem?

Regards,

Sergii V

How do I drain RDVH server to reboot host

$
0
0

We are testing a VDI deployment at the early stages and one sticking point at the moment is how are we supposed to safely drain the RDVH host server to reboot for windows updates every month?

We have 2 RDVH servers in separate data-centers for resilience, there is no shared storage and trying to 'move' a VM fails (although this would not be ideal anyway). 

I have looked for the equivalent of 'Allow new connections' for RD session hosts or a load balancing option where we could put all new connection requests onto one server whilst the other one drains but I cannot find a solution to this.

We operate 24x7x365 so we have no maintenance windows for downtime on this, nor should we require one with 2 Geo-separated servers.

One possibility would be to use powershell and a loop to:

  1. Save the state of unused VM's 
  2. Delete the VM's when in a saved or Off state in Hyper-V
  3. Reboot the server when all VM's are gone
  4. Create new VM's when the reboot(s) are complete

I would expect there to be a simpler way, but I can't find one. Please help!

Event Id: 4005 and 36 on RDS 2016 Server

$
0
0

I am continuously getting event id: 4005 on RDS server.  

Server OS: Microsoft Windows Server 2016 Standard Version 1607 Build 14393.3443.

The Winlogon process terminates unexpectedly and prevents new logins from processing.  However, the only way to get login process work after the power cycle the server.

Webroot antivirus agent 9.26.61 is installed on the server.

The following events are usually logged when this issue occurs:
Event Logs : Microsoft-Windows-TerminalServices-LocalSessionManager/Operational
Event Source: Microsoft-Windows-TerminalServices-LocalSessionManager
ID: 36
Description: An error occurred when transitioning from CsrConnected in response to EvCsrInitialized. (ErrorCode 0x80004005)

Event Logs: Application
Event Source: Microsoft-Windows-Winlogon
ID: 4005
Description: The Windows logon process has unexpectedly terminated.

Doing some googling on this over the past day or two shows that this is an issue with other versions of Windows Server (2012 r2 for instance), and that the issue is caused by specific Windows Updates....

Here

and

Here

Only thing is...these updates don't exist in 2016 from what I can tell. In fact, I'm led to believe this is an outstanding issue with Server 2016.

I got January 14, 2020—KB4534271 (OS Build 14393.3443) installed.

Date modified on rdpcorets.dll is 26/11/2019.  Version is 10.0.14393.3383.




 

Win 10 1903-1909 RDP (Remote Desktop) not retaining window/taskbar positions on reconnect (multiple monitors)

$
0
0

Hello,

This is still a problem since windows 10 update 1909 20-1, originally 1903,  so I'm branching out into other forums.  Please excuse the duplicate posts.

[Not-so-]Recently my remote systems were updated to windows 10 1903 and since then every time I reconnect (hit the close button, re-establish a remote desktop session) all of my windows, and the task bar, that I re-locate to my other monitors are all crammed back on the center monitor.  I have three monitors.  Note that this all worked fine before this 1903.



Setup (can provide exact details if needed):

Main computer:
Win 10 pro 1909 20-1  (originally started happenign on 1903) 
i7 8700k
nvidia 1060
3 monitors (1080p, 1440p, 1440p)

Remote Computer 1:
Windows 10 pro 1909 20-1  (originally started happenign on 1903) 
i7 4770
intel integrated graphics
2 Monitors (1080p, 1080p)

Remote computer 2:
Windows 10 pro 1909 20-1  (originally started happenign on 1903) 
xenon 13...
AMD hd 400 or something (dell)
No monitors currently (headless)

Remote computer 3:
Windows 10 pro 1909 20-1  (originally started happenign on 1903) 
i7 8700
intel HD 600 integrated
No monitors currently (headless), have tried with single monitor connected 1080p


Newer example before and after pictures from Main Computer to Remote Computer 3 after connecting, organizing, and simply closing/disconnecting the remote session (x button) and re-connecting:
#1: https://i.imgur.com/cYYasFy.png
#2: https://i.imgur.com/opqmeF9.jpg



Things I've tried:
 - I upgraded all of my computers/VMs to 1903 originally and kept them on the same version since then (currently 1909 20-1).
 - Checked graphics drivers are up to date on all PCs.
 - I tested remoting in from two other computers on windows 10, one with two monitors (both 1080p), one with three (I believe they are all 1080p), same issue.
 - I looked at the windows logs on the computers and there doesn't seem to be any error logs created by the remote connection event (like a graphics driver crash or similar)
 - I ran sfc and similar to check for corruption and nothing of note came up anywhere.

Observations:
This seems similar to what happens when you clean install a graphics driver where it bumps to one monitor low res and back.
I am aware of the black screen issue with RDP and 1903.  The fix is to use a default windows display adapter which only supports low res and one monitor so its kind of pointless to try that.
Given the range of hardware spanning 4 generations it seems unlikely to be a "old computer, not compatible" issue.

Links to other posts as they have replies with potentially useful info on them:

https://social.technet.microsoft.com/Forums/en-US/5128b7f0-d2d2-43fb-8076-674b6aad1658/win-10-1903-rdp-remote-desktop-not-retaining-window-positions-or-task-bar-positions-multiple?forum=win10itprogeneral

https://answers.microsoft.com/en-us/windows/forum/windows_10-networking/win-10-1903-rdp-remote-desktop-not-retaining/4855e9f2-a775-4bc1-94be-f5f408aee87f?messageId=978adfdb-b732-4f2a-a7f4-28f261663fe8&auth=1


Any help or nudge in the right direction as to where I should look next would be appreciated.


Thanks for your time,
"Reload"

      
Viewing all 25525 articles
Browse latest View live


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