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

Start program for RDP users on login on Windows Server 2019

$
0
0

Hi

I recently upgraded from Windows Server 2016 to 2019. On Windows Server 2016 I could define an initial program for the remote user in his usersettings, according to this guide:
https://social.technet.microsoft.com/Forums/de-DE/c73d0676-baab-4d54-801b-92e3b7e34365/start-program-for-rdp-user?forum=ws2016&prof=required

This apparently does not work anymore.
Is there a new solution for this problem or was the feature completely removed?


RDS Gateway and ADFS

$
0
0

I have a customer that would like to setup users from siteA.com to be able to log into RDS and get the full desktop to RDS servers in siteB.com but use credentials for siteA.com.  SiteA.com and siteB.com are completely different forests.  I have looked around and have gotten ADFS setup that works between the two sites but not sure how to integrate ADFS with RDS Gateway.  Especially when I look at setting up the RD CAP rules I can not see the other domain users.

Many thanks in advance for an assistance.

  

2016 server / Remote Desktop Services Manger / Powershell

$
0
0
I am looking for the quickest way to shadow a users session in a 2016 RDS / Terminal Server environment. I would BE FABULOUS if i could use some syntax to connect directly to a session based on user name. I can query a server and get all session. I know i can go to my RDS host and get to them but the 2016 /2012 implementation of RDSM is terrible. what methodologies are you all using to do so. Please do not just paste Microsoft KB articles i have google for that. I want real world experience dealing with this. also if i have to query per server anyone ever query all servers at the same time to pull all sessions instead of per server? 

Remote Desktop Services server in different domain from License server

$
0
0
Following the best practices guide: best-practices-for-setting-up-remote-desktop-licensing-terminal-server

I've got a remote desktop services server running in a separate domain from the server holding the RDP licenses.  I've created a forest level 2-way trust between these 2 domains and added the license server to the Terminal Server License Servers group  in the trusted domain.

When I try to configure the RD Services server to point to the license server in the other domain I get this:

The license server specified is not valid. Verify the server name and specify a valid server name before saving the settings.


Nonetheless, I can proceed.  When I look at the RD Licensing Diagnoser I see:

The Remote Desktop Session Host server is in Per User licensing mode and No Redirector Mode, but license server rdplicense.domain.local does not have any installed licenses with the following attributes: Product Version: Windows Server 2008 or Windows Server 2008 R2



BUT... selecting the server shows these details:

TS or RDS Per User CAL    Windows Server 2008 or Windows Server 2008 R2

RDS Per User CAL             Windows Server 2012

So clearly there are CALs in place.



1. Both the RD Services Server and the License server are Windows Server 2012 - why is it looking for 2008 CALs??

2. There are 2008 CALs available, why is it complaining?

3. I'm assuming license usage goes up and down as users login and out, but the 2012 CALs don't seem to be getting returned.  Is there a way to force it?

4. Is any of this related to the "license server not valid" error I see when specifying this server in the first place?

5. Users are occasionally seeing the "No Remote Desktop license server is available" popup on the task bar.



I suspect there's a critical step I've missed in all of this.  Can anyone point me in the right direction?


RDS server questions

$
0
0

I am looking at setting up some RDS servers. I will need 2 different ones, but will probably end up building 2 of each. The user groups are totally different so the needs for each box such as programs will need to be different.

Is it a bad idea to run the Session Host servers as VM's as opposed to running that on the physical box?

I am looking at getting a gpu to use remotefx on server 2016 for the VM's. The users are not doing any cad cam work, just basic web browsing with the occasional video to watch. I would prefer to put a GPU in to help keep the cpu usage down. Is a P4000 from Nvidia a good card to use?

If running the session host in a VM is a bad idea am I better off just using the GPU on the physical host and using the Group Policy to force the RDS users to use the gpu for video acceleration?

Thank you

RDP Reconnect sending bad password || Windows Event ID 4625: An account failed to log on

$
0
0

Issue: User Logs onto Client Machine remotely, then connects to Corp VPN and does RDP to any Corp machine. In case the VPN disconnects or client machine loses network connectivity momentarily, the RDP session re-establishes the connection.  When it re-establishes a connection, it logs a bad password attempt on the users account.  If this happens too many times, users are experiencing account lockout.

Upon checing the logs, I see that the Terminal Service is sending the bad password.

Can anyone suggest what could be the possible issue?


Windows Server update Shows black screen of death

$
0
0

Hi all

This morning I have experienced a black screen of death on both my exchange server and domain controller. these are physical servers.

The Servers go on but after the Windows Logo, it just goes dark, no curser and I cant control-Alt-delete.

My suspicions is that it is a update that came through during the weekend.

What I tried.

I cant restore because It didn't set a restore point

I tried fixing the MBR but since it logs through and shows the windows logo that might mean the MBR is intact

tried all safe mode options but nothing.

I am running out of ideas,

So the Question is how do I remove an update from the server if t doesn't want to log in Windows?

your responses will be much appreciated

Ezekiel Sikaneta

 

Black Screen after login to Server 2012 via RDP or VMWare console

$
0
0

Hi Guys,

From last 3 months i am having issue with my Windows Server 2012, that after login it (RDP or VMWare Console), screen goes black with a cursor. I tried use Alt+Ctrl+End trick to get the task manager but that is also not appearing. I am using vSphere Client version 6.

Also i want to add, that if i login to Safe mode, i can see the display. (No issues)

Many Thanks.

Areeb Hassan



Old RDP Connections to Windows 2016

$
0
0

I have an issue with old Windows CE devices connecting to an new Windows 2016 terminal server. The old CE devices use the older login where you get connected to the server and then authenticate, as opposed to RDP 6, where is prompts you for credentials.

The CE devices are only 240x320 touchscreens (Old Motorola MC9090 RF guns), so what happens on the display is the username and password field are cut off, and users have a difficult time selecting these fields.

Previous Windows 2008, the login screen had a different orientation, so it was more user friendly for those devices. Any one have any ideas if its possible to rearrange the screen or change resolution on just this screen? 

I have tried just about everything and would really be disappointed to have to revert back to 2008 R2, just because of a login screen. Updating or getting new devices are not possible at this time. 

I have also tried:

  • to auto login the account - i know not secure, but could not get it to work
  • remove user profile picture - was not able to get the image removed.

This is a picture of what is displayed:

Thanks for any help on this.

RDP Reconnect sending bad password || Windows Event ID 4625: An account failed to log on

$
0
0

Issue: User Logs onto Client Machine remotely, then connects to Corp VPN and does RDP to any Corp machine. In case the VPN disconnects or client machine loses network connectivity momentarily, the RDP session re-establishes the connection.  When it re-establishes a connection, it logs a bad password attempt on the users account.  If this happens too many times, users are experiencing account lockout.

Upon checing the logs, I see that the Terminal Service is sending the bad password.

Can anyone suggest what could be the possible issue?

Windows Search changes in Server 2019 RDS

$
0
0

Hi,

So nothing like being on the cutting edge......

I have been testing Server 2019 RDS and so-far-so-good apart from an issue with the Windows Search Service.

It appears that in Server 2019 each user gets their own search database EDB file in their profile path (appdata\roaming). e.g.

C:\Users\username\AppData\Roaming\Microsoft\Search\Data\Applications\S-1-5-21-3901271148-1553943383-1671037523-1629\S-1-5-21-3901271148-1553943383-1671037523-1629.edb

When they log on and log off; this is connected to the search service and the following event log is generated

Source:ESENT
EventID: 326
SearchIndexer (10896,D,50) S-1-5-21-3901271148-1553943383-1671037523-1629: The database engine attached a database (3, C:\Users\username\AppData\Roaming\Microsoft\Search\Data\Applications\S-1-5-21-3901271148-1553943383-1671037523-1629\S-1-5-21-3901271148-1553943383-1671037523-1629.edb). (Time=0 seconds)

Unfortunately it appears that this process is not very stable and on some logons the database in the users profile does not attach and the following error is generated

Source:Search
EventID: 3057
The plug-in manager <Search.TripoliIndexer> cannot be initialized.
Context: S-1-5-21-3901271148-1553943383-1671037523-1629 Application

Source:Search
EventID: 3028
The gatherer object cannot be initialized.
Context: S-1-5-21-3901271148-1553943383-1671037523-1629 Application, SystemIndex Catalog
Details: The specified object cannot be found. Specify the name of an existing object.  (HRESULT : 0x80040d06) (0x80040d06)

And a few more similar but related errors....

No subsequent logon/off will succeed in attaching the database until the Windows Search service is restarted

I am not testing with User Profile Disks or Roaming Profiles
There is no AV on the server

Any ideas?

Andy



Andrew



Task Bar Freezes on 2016 RDS Servers

$
0
0

Hello,

We have 8 RDS, One Broker, Windows 2016 Std., on a Farm. 

We have GPO's Policies on those servers.

From Time to Time, some users are experiencing task bar freezing.

The desktop icons are working, but the task bar is freezing and you can not do nothing on the Task Bar.

The only way is to log off and log in again.

It there a solution ?

With Best Regards,

Haim



RDS 2016 update personal virtual desktop template

$
0
0

Hi All,

I have a number of VDI collections in my RDS 2016 deployment, personal desktops each with some base applications and obviously at a specific patch level (eg 1803).

Has anyone established a process to update the personal VD template image (updated apps/new Windows10 patch level) for existing collections?

WSUS will eventually take care of the patch level, but ideally I'd like to keep the template current.

Thanks!


Blank printer when printing with Word Viewer on RDS 2019 session

$
0
0

I have a Windows Server 2019 as a Remote Desktop server, with an app that relies on Word Viewer 2003 for printing.

All printer redirect connect nicely, Clients are Windows 7 and Windows 10 and all work as it should, until I try to print. - Word Viewer shows only printer installed directly on server the user has rights to, and blank printer spot if there are no printers. (I uninstalled them). 

I even tried set up that only default printer redirects via GPO, but that didn't work either.

Does anyone knows if there was some permission change on Server 2019? Didn't have that problem before.

Windows 10 - Remote Desktop serves Black Screen

$
0
0

Hi Windows 10,

I am having an issue with Windows 10 - every day.

But last 3-6 months, remote desktop connections fail with a black screen on my network!

Now I have started to feel true hate towards this OS, as this error, now seems to settle as a forever error that will stay?!

Issue is using RDP to other Windows10 device on my network, now serves a black screen after connection has been idle for some time - or it just turns black, just as i log in?!

I am able to remove black screen - only if disconnect, and reconnect. But again. After some time. I get a black screen again?!

As Windows continues with their disapointments towards the proffesionals on Windows10 since release.

This error in question, I really want fixed - to be working as it has always been - since the dark ages . RDP should just work! Every time - all the time. 

So anyone - before I look up a lawyer to fight this - Please assist with the right trick to get this fixed......

Awaitng that true fix------ anyone?


Regards, Kato.


Server 2016 RDS Shutdown Menu Goes Blank and RDS stops responding

$
0
0

We have a server farm of 12 Session Hosts and a Broker.  We have a major issue now that I can't find any info on.  Our users will start complaining they cannot get on the farm.  When you try and RDP you get Cannot connect, the two computers cannot connect in the time.  If I go into Hyper-V and go to this machine, I need to restart it.  That is the only way we have found to fix this issue.  However, when I clock on start and then the Power button, the menu that pops up is blank.  Let me be perfectly clear, this is NOT any admin setting or GPO.  I am the administrator and I do not have this set.  Also, if you restart, then the shutdown menu again works and it is ok for a while.  Soon after, this returns.  This is becoming a major problem for us as this started happening about shortly after the 3/19 patch KB4489889.

Anyone have any words of wisdom for this?  I have tried to find anything that relates to this.  And just to help I have included screenshots of the remote error and what the start menu shutdown options look like.


Brad


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

RemoteAPP after windows 10 update 1803 are slow and right mouse button is not responding (it reacts only sometimes)

$
0
0

Hi,

our workstations with Windows 10 pro are in this weekend updated to version 1803. For main system we use RemoteAPP aplications on Windows server 2012R2 (Windows server 2012R2 is full updated). After update on client station are RemoteAPP slower, and  right mouse button is unresponsive, or react verly long time... 

It is a big problem for us.

PS: after replace mstsc.exe and mstscax.dll from older version Windows 10 is all OK. but this is not a solution.

Thanks.


FARM issues

$
0
0

I have a RDS 2016 Farm, with 2 CB's and 8 RSH servers. There are 4 collections with 2 RSH in each collection.

The issue is when I connect and launch the .RDP i created for one session collection, all of the other RSH servers are provide as the server holding the .RDP session which of course they are not.  the session collection has a set of apps setup on only two servers which are added to the collection (no other RSH are available in the collection)

How do we isolate the RSH/collection from the other RSH/collections so only the servers supporting the .rdp are queued?

Licenses are not available ...

$
0
0

RD Licensing Diagnoser has this error message: 

The Remote Desktop Session Host server is in Per User licensing mode and No Redirector Mode, but license server --- does not have any installed licenses with the following attributes:
Product version: Windows Server 2016
Licensing mode: Per User

RD Licensing Manager shows: 

Windows Server 2016 - Installed RDS Per User CAL  | Open (license program) |  10 (Total Licenses) | 0 (Available) | 0 (Issued) | Never (expiry date) | 3 (Keypack ID)

Why are 0 licenses available? The licensing agreement shows WINRMTDSKTPSRVCSCAL 2019 SINGLE NL USRCAL 6VC-03748  10

Is it because these are designated 2019? In my experience, I could always install later version licenses on a previous version of Windows.

Viewing all 27650 articles
Browse latest View live