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

Error message when I print with a remote user (Windows Server 2008)

$
0
0

When I am connecting to a system through RDS and I will print the message:

Remote Desktop Connection has stopped working. A problem caused the program to stop working properly. Windows will close the program and notify you if a solution is available


Windows Server 2012 R2 - Remote Desktop Services warning

$
0
0
Hello,

I logged on today on a RDS server to perform some windows updates and i saw a warning that it says "Remote Desktop licensing mode is not configured. 
Remote Desktop Services will stop working in 33 days. On the RD Connection Broker server, use Server Manager to specify the Remote Desktop licensing mode and the license server.

Our production/RDS infrastructure consists of 4 vm's

Name    Roles
RDS1 -- RDS-RD-SERVER, RDS-GATEWAY
RDS2 -- RDS-RD-SERVER, RDS-CONNECTION-BROKER, RDS-WEB-ACCESS, RDS-LICENSING
RDS3 -- RDS-RD-SERVER
RDS4 -- RDS-RD-SERVER

On the disaster site we have again RDS on 4 vm's and the roles are like this:

RDS1 -- RDS-GATEWAY
RDS2 -- RDS-CONNECTION-BROKER, RDS-WEB-ACCESS, RDS-LICENSING
RDS3 -- RDS-RD-SERVER
RDS4 -- RDS-RD-SERVER

The message does not appear on the disaster site. Only on the production. I believe that someone tried to do something on the production site and messed up the roles. Could someone help me out with this issue?

Thank you in advance!

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?

remoteapp authentication problem

$
0
0

Hello,

I have windows10 pro build 1809 with the last updates …. when I try open any remoteapp the authentication not working and askme always for user name and password.

I tried with muilti defernets server but it's not working !

so whats the problem ?

thanks.


Microsoft Lover

Audiosrv server 2016 crashes applications like explorer.exe, Google Chrome etc.

$
0
0

Good morning.

We've been experiencing random problems on our RDSH vmware environment. At random times, the audiosrv seems to trouble other applications and makes them not respond anymore, restarting the audio service temporarily fixes the problem. I have made a gpo to restart the audiosrv, but of course this is not a solution. 

We are currently on KB4489889 (OS Build 14393.2879)




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!


How to setup HDD's for RDS Host computer

$
0
0

I've got a server that I need to setup for RDS. I have 8x 2.5" bays and I bought 8 1.2 TB 10k rpm 12gb sas drives to use. The raid card is a Dell H730 with 1GB cache.

I am planning on setting up the following in VM's on this server

-RDS Broker with license role

-RDS Host

What would be the best configuration for the hard drives? I was thinking of doing 2 drives in raid 1 for the host and then 6 drives in raid 10 for the VM's to run on. Or would I be better running all 8 drives in raid 10?

Thank you


Server 2016 RDS Farm - RDWEB access

$
0
0

Unsure if this is the correct forum.

New SErver 2016 RDS Farm.  Attempting to use Internet Explorer (11 - fully patched) to access http://farmid_url/rdweb

IE states that Cookies are Disabled.

Cookies are NOT disabled.  I have also reset to default, emptied all history, etc.

Any Suggestions?


VDI Session without any UnifiedsessionID windows 2012 R2

$
0
0

Hi Guys,

I have a VDI setup on windows 2012 R2 with two server and  a HA Broker. Last night we had a slight network issue that down connectivity for 30min. 

This morning I have a VDI session that is connected in Active state but I cannot disconnect or logoff the session. If I run it through GUI I get Unable to disconnect Session 0 WTS API Failed.

Looking further into it and running a get-rdUserSession I find the session but it has no UnifiedSessionID. As such I cannot run any of the disconnect-RDUser or Invoke-RDUserlogoff as I have no UnifiedSessionID. 

IF I do a get-RDuserSession | FL  I can find a sessionID which is 5, but this is not the sesssionID.

Anyone got any idea how I can disconnect / Logoff this session?

Thanks for your time?

Craig 


Craig G

RDS Deployment, Server 2012 R2 and 2016, cannot connect when added as a remote resource on modern app

$
0
0

Hello,

I've been having an issue connecting to new RDS deployments, either Server 2012R2 or 2016, using the modern client (UWA?).

If I connect to the rdweb site via  browser, any browser (Chrome, IE, Edge), I can connect fine w/ the downloaded RDP file, either via the old mstsc client, or the modern client.  If I open the modern client and add my deployment as an RDS resource, it adds file, but when I try to connect, it doesn't do anything.  Monitoring network traffic, it doesn't even try to connect to the rpcproxy.dll,or even send any packets on the wire to my gateway.

Doing some digging, I see the rdp file is saved in my user profile (C:\Users\#####\AppData\Local\Packages\Microsoft.RemoteDesktop_8wekyb3d8bbwe\LocalState\RADC\{9AFF1AD1-C68D-FC28-FA01-4BD806FA43E4}-Committed\Resource) without an extension.  If I copy the file from there, give it a .rdp extension, I can also connect with that file via either client.

I also don't appear to be able to add the remote resources, at all, via the IOS RD Client.  I haven't tried Mac or Android yet, waiting to stabilize this config, but perhaps that's a separate issue.  I don't see it trying to logon or connect to webfeed.aspx on the RDSWeb page at all.

These would all be the lastest iterations of the clients, I just started this whole setup about a week ago.  I've tried a standard deployment in 2016, then a quick deployment in 2016, and finally a quick deployment in 2012 R2.  I'm familiar with all the cert requirements, etc, I don't think it is any sort of cert issue.  I will say the 2012 R2 quick deployment seemed to work OK initially, until I added 2016 session hosts to the deployment, but now I can't say for sure.  If needed, I could do another quick deployment to verify.

Any insights would be great.  If we can only use rdweb and have users open RDP files I guess we're OK with that, but not ideal.

Thanks!

-jg

Remote Desktop Licensing 2012R2

$
0
0

Hi All.

We purchased from Microsoft 5 License remote desktop Per User but i need help from you to configure server.

My configuration as below 

1. Installed Remote desktop licensing and remote desktop session host role

2. Activate the server and insert the license enterprise agreement.

3. Configured the local group policy (Use the specified Remote Desktop license servers - Set the Remote Desktop licensing mode).

but the 5 user are able to connect to the same server that configured as  Remote desktop licensing 

but if we tried another server only two remote session are allowed

is there any missing step 

Thanks


IT Helpdesk

Windows 2016 RDS - Redirected Start Menu problems

$
0
0

We have a 3 node Windows 2016 RDSH farm with UPD and user redirected folders enabled. After much trial and error we also managed to customise the start menu, exported it to an .xml and redirect all users start menu to this file. This seemed to workfor a few weeks but we are now seeing issues with the pinned tiles disappearing. 9/10 times the pinned tiles do not show but strangley on the odd occasion they do display correctly. There is no obvious pattern to this. It can be for any user on any RDSH server. We have tried deleting a users UPD and redirected appdata but the issue still occurs. We cannot see any errors within the RDSH event logs for this either.

We've seen and tried several methods for configuring start menus for Win10/Win2016. We would like to define a manditory start menu for all users. Is the a simple, tried and tested way of doing this in Win2016 with UPD and user redirected folders enabled?

Remote Desktop Services Error Event 1309, ASP.NET 4.0.30319.0

$
0
0

We run Remote Desktop Services 2016 and have noticed some warnings in the event viewer of our Gateway Web Server.

Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          3/31/2019 3:17:01 PM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:     
Description:
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 3/31/2019 3:17:01 PM 
Event time (UTC): 3/31/2019 7:17:01 PM 
Event ID: e81617fac6bc42abb32fa7b69388da07 
Event sequence: 252 
Event occurrence: 17 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT/RDWeb/Pages-1-131981716874383622 
    Trust level: Full 
    Application Virtual Path: /RDWeb/Pages 
    Application Path: C:\Windows\Web\RDWeb\Pages\ 
    Machine name: 
 
Process information: 
    Process ID: 2568 
    Process name: w3wp.exe 
    Account name: IIS APPPOOL\RDWebAccess 
 
Exception information: 
    Exception type: NullReferenceException 
    Exception message: Object reference not set to an instance of an object.
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
   at ASP.en_us_default_aspx.<GetAppsAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.UI.PageAsyncTaskManager.<ExecuteTasksAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.UI.Page.<ProcessRequestAsync>d__554.MoveNext()

 
 
Request information: 
    Request URL: :443/RDWeb/Pages/en-US/Default.aspx 
    Request path: /RDWeb/Pages/en-US/Default.aspx 
    User host address: 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: IIS APPPOOL\RDWebAccess 
 
Thread information: 
    Thread ID: 56 
    Thread account name: IIS APPPOOL\RDWebAccess 
    Is impersonating: False 
    Stack trace:    at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
   at ASP.en_us_default_aspx.<GetAppsAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.UI.PageAsyncTaskManager.<ExecuteTasksAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.UI.Page.<ProcessRequestAsync>d__554.MoveNext()
 
 
Custom event details: 

Event Xml:
<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="2019-03-31T19:17:01.823012500Z" />
    <EventRecordID>54382</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>3/31/2019 3:17:01 PM</Data>
    <Data>3/31/2019 7:17:01 PM</Data>
    <Data>e81617fac6bc42abb32fa7b69388da07</Data>
    <Data>252</Data>
    <Data>17</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/1/ROOT/RDWeb/Pages-1-131981716874383622</Data>
    <Data>Full</Data>
    <Data>/RDWeb/Pages</Data>
    <Data>C:\Windows\Web\RDWeb\Pages\</Data>
    <Data></Data>
    <Data>
    </Data>
    <Data>2568</Data>
    <Data>w3wp.exe</Data>
    <Data>IIS APPPOOL\RDWebAccess</Data>
    <Data>NullReferenceException</Data>
    <Data>Object reference not set to an instance of an object.
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
   at ASP.en_us_default_aspx.&lt;GetAppsAsync&gt;d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.UI.PageAsyncTaskManager.&lt;ExecuteTasksAsync&gt;d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.UI.Page.&lt;ProcessRequestAsync&gt;d__554.MoveNext()

</Data>
    <Data>/RDWeb/Pages/en-US/Default.aspx</Data>
    <Data>/RDWeb/Pages/en-US/Default.aspx</Data>
    <Data></Data>
    <Data>
    </Data>
    <Data>False</Data>
    <Data>
    </Data>
    <Data>IIS APPPOOL\RDWebAccess</Data>
    <Data>56</Data>
    <Data>IIS APPPOOL\RDWebAccess</Data>
    <Data>False</Data>
    <Data>   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormAuthTicketInfo..ctor(HttpContext objHttpContext)
   at ASP.en_us_default_aspx.&lt;GetAppsAsync&gt;d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.UI.PageAsyncTaskManager.&lt;ExecuteTasksAsync&gt;d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.UI.Page.&lt;ProcessRequestAsync&gt;d__554.MoveNext()
</Data>
  </EventData>
</Event>

RDS Issue - The User Profile Service service failed the sign-in.

$
0
0


2 Windows Server 2012 Standard domain controllers

2 RDS Servers running Windows Server 2012 R2

We also have 2 Broker Servers and 2 Gateway Servers

From time to time we are running into an issue where the AD account logs in to Windows fine...but when it comes to our RDS login screen...some user accounts have issue where they login...see the published apps...click on one....the connection begins to handshake...then after a few moments we get:

The User Profile Service service failed the sign-in.

User profile cannot be loaded



Can anyone help me to troubleshoot, please?

I can give any more info that is required. There is a file server where their home directories are stored and on the same server...there are roaming profile folders

The RDS servers load balance...sometimes a user would go on to one...then another session they might be on another.

On the users directory of the RDS servers...the particular user account that is getting this issue...we don't see a user account folder for them...it doesn't get created...it just gets...failed the sign-in?


Recommended maintenance for RDS Session Host

$
0
0

Hello,

Anyone knows the recommended maintenance for RDS Session Host?

Like restart every 1 month, week, etc.

Thanks,

BR

Alejandro Zorrilla


RDP – Licensing

$
0
0

Hi all,

So we are running an RDS environment for our VMWare Horizon, have the CALS etc.

We now need a server that will be confined to a portion of the network, once on this server we can then access a bunch of equipment in a secure area. This server will need to be able to have 3-4 users logged on simultaneously, which regular RDP doesn’t handle (max of 2). Is there a way to tap into the CALS on the RDS server for a couple of licenses?

TIA

RDS farm - additional logging required for dropped connections

$
0
0

Hi all,

           2 x 2016 brokers at front of farm, 200 session hosts running 2012 R2.

We are having seemingly random disconnects - and the issue is that we cant find anything in the logs indicating why clients are disconnecting.

The existing articles around about increasing logging dont appear to be applicable. e.g. https://support.microsoft.com/en-my/help/2747656/introduction-to-log-files-that-are-useful-for-troubleshooting-rds-issu

I'm interested in 

Turning up RDP logging on certain clients as much as possible

Turning up RDP logging on certain session hosts as much as possible

I dont believe we need to increase logging on the brokers, as the brokers seem to be doing their job correctly.

Can anyone suggest methods for this? unfortunately i cannot put procmon and wireshark on them asll, as there are just too many - and the issue appears to be "random" 

unable to login and receive error “The User Profile Service service failed the sign-in. User profile cannot be loaded.”

$
0
0
Hi, 

We have 7 RDS servers in the farm and single RD Conenction broker. We use USER PROFILE DISK and the UPD is configured via the file servers. None of the users are unable to login and receive error “The User Profile Service service failed the sign-in. User profile cannot be loaded.”all users expreicne the same issue

Also tried to login to the servers using the mstsc /admin or console issue and it is the same issue.Unable to open remote commd prompt, remote registry and eventvwr as well. Users are currently logged in and if they log out they cannot connect getting the same issue. 

Last night we made te following GPO changes to fix the issues as users logged with Temporary profile.

Edit GPO “Terminal Server GPO Computer – RDS Session Host Settings” and apply the following settings:
 Configuration\Policies\Administrative Templates\System\ Logon - "Always wait the network at computer start up and logon" -> Enabled
 Configuration\Policies\Administrative Templates\Windows Components/Remote Desktop Services\ Remote Desktop Session Host\RDSH\Connections "Automatic reconnection" -> Disabled
 Configuration\Policies\Administrative Templates\Windows Components/Remote Desktop Services\ Remote Desktop Session Host\RDSH\Connections "Configure keep-alive connection interval" -> Disabled
 Configuration\Policies\Administrative Templates\Windows Components/Remote Desktop Services\ Remote Desktop Session Host\RDSH\Connections "Restrict RDS users to a single RDS Session" -> Enabled
 Configuration\Policies\Administrative Templates\Windows Components/Remote Desktop Services\ Remote Desktop Session Host\RDSH\Temporary Folders "Do not delete temp folders upon exit" -> Disabled.

Post the GPO changes everything was working fine and after 7-8 users started reporting this issue. 

Please advise 

Need help! I have to move a small RDS server from Win2008R2 to Win2016 this weekend! Easiest way?

$
0
0

i need to move Remote Desktop Services off of Windows Server 2008R2 and onto Windows Server 2016 over the weekend.  It's a very basic server.  It has just the "Remote Desktop Services" role installed, and the "Remote Desktop Session Host" and "Remote Desktop Licensing" role services installed.  Nothing else is installed related to RDS.  The server does exactly one thing.  It lets about 10 users log in with remote desktop connection from their windows desktop and get provided a "remote desktop" that has exactly ONE application on the desktop.  They run that ONE application and then log off.  While the server is a member of our Active Director domain, the users are local users (local to the server).  I already have built the new Win2016 server and have installed Remote Desktop Services (with only Remote Desktop Licensing and Remote Desktop Session Host installed).  I havent done anything else beyond that.  I suspect i will have to do at least a) migrate the user accounts (I dont care if i lose any user profiles as they shouldnt have anything in them of value); b) migrate the licenses.  Can anyone help me get started? I have almost zero RDS experience! :| 

Terminal Server Licensing Service on windows server 2016 won't stay running

$
0
0

Hi to all,

In my environment I have a Windows server 2016 that acts as license manager for some other windows 2016 server and some windows 2019 servers.

The problem is that the Terminal Server Licensing Service keeps failing: sometimes it takes a few days for the services, sometimes it happens after an hour.

When that happens, whenever a user tries to login to one of the TS served by the license manager, he receives messages that says " Remote desktop license Issue:  There is a problem with your Remote Desktop license, and you session will be disconnected in 60 minutes. Contact your administrator to fix this problem".

That's the error I see in the event viewer:

Faulting application name: svchost.exe_TermServLicensing, version: 10.0.14393.0, time stamp: 0x57899b1c
Faulting module name: lserver.dll, version: 10.0.14393.1378, time stamp: 0x594a188d
Exception code: 0xc0000005
Fault offset: 0x000000000002cb8d
Faulting process id: 0x20f0
Faulting application start time: 0x01d4edf0d90921c1
Faulting application path: C:\Windows\system32\svchost.exe
Faulting module path: c:\windows\system32\lserver.dll
Report Id: 175b3cbc-338c-43d5-a965-e82d5740b18b
Faulting package full name:
Faulting package-relative application ID:

Can anybody lend me a hand with this?

Thanks in advance


Viewing all 27656 articles
Browse latest View live


Latest Images

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