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

RDS 2012 R2: A timeout (30000 milliseconds) was reached while waiting for a transaction response from the (name-of-service) service

$
0
0

Hi guys,

On a random base (daily, weekly) we're experiencing major log-in problems on our Windows Server 2012 R2 Remote Desktop Services farm. The VM's are hosted on Hyper-V 2008 hosts and we're not using Citrix techniques etc.

Users are reporting that they cannot log-in, the log-in sessions hangs with a blank screen when loading their user profile (e.g. Please Wait For The User Profile Service).

In the System event log of the server on which the user is logging on the following errors are shown:

Source:        Service Control Manager 
Date:          23-12-2014 7:28:01
Event ID:      7011
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Description:

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.

…and after 30 (or sometimes 60) seconds, the same error only another service (in random order):

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.

…and after exactly 30 seconds, the same error only another service:

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UxmSms service.

etcetera, with the following errors:

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the Netman service.

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the AudioEndPointBuilder service.

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the WPDBusEnum service.

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NlaSvc service.

The Portable Device Enumerator Service service failed to start due to the following error:
The service did not respond to the start or control request in a timely fashion.

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the TrkWks service.

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.

These errors are logged continuously.

An administrator cannot solve this since he isn't able to login in as well (console or remotely), only a hard reset of the VM is possible to use the affected server again.

I took different steps to solve this problem without any success, like:

- Installing the latest Windows updates
- Removed unnecessary printer drivers, print monitors and print processors (no local printers/drivers are installed, only Remote Desktop Easy Printer driver is used)
- Searched different forum posts, but found only hotfixes for Windows Server 2008 R2.

Can someone please help me with this annoying problem?

Many thanks!!

EDIT:
Of course is increasing the time-out not really an option here... http://social.technet.microsoft.com/wiki/contents/articles/13765.event-id-7011-service-timeout.aspx


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)




DDA and group policy with a GPU

$
0
0

I have setup a Windows RDS box on Server 2016 that runs in a VM. I've got The DDA (PCIe device passthrough) setup on a Nvidia P2000 gpu. 

To make the RDS server use the gpu instead of the CPU for video which group policies should I modify?

Thank you

Remote app and Dual monitor!

$
0
0

Hello,

On my remote desktop server, I have an app that my users can access on their computers as a remote apps. I have a user that have dual monitor on his computer and he cannot move the app from his main monitor to the second one.

Any help from you would be appreciated.

Thanks in advance.


P Jacques


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>

Stuck at Establishing Connection Quality in 2016 and error message on broker -"RD Connection Broker failed to process the connection request for user Error: Cannot create another system semaphore."

$
0
0
I have users that use remote desktop to connect to a DNS farm name that has all the session host IP addresses. In Server 2016 RDS, I have the Collections setup with all the Session host in it.  I have a HA broker environment setup. I have one Licensing server.
If I use the DNS farm name to connect to Remote Desktop Session Host, randomly the Session host will stop the user at Establishing Connection Quality. It mostly happens when alot of users are logging in during shift change. I have around 10 Session host. If I only have two session host IP addresses listed in DNS farm name, only those Session host will stick at Establishing Connection Quality. The other session host are not affected. I do not see error messages in the event viewer for the session hosts. I do see error messages in the broker server called: 
"RD Connection Broker failed to process the connection request for user Error: Cannot create another system semaphore. "
I delete the Collection that is setup in RDS. And recreate the collection. The problem goes away for about a day and comes right back.
I created another collection that does not use DNS farm name connections. It only uses RDweb apps. The session host in this collection never lock at Establishing Connection Quality.
When stuck at Establishing Connection Quality, I have to restart the server to allow users to connect again. I had this problem in 2012 r2, but in 2012 r2 I would have a Blank user in Task manager when Session host locked at Establishing Connection Quality. I would have to connect to user in task manager and see that the user was stuck at Signing out. Once I disconnected from the session, 2012 r2 would then remove the blank user from task manager. A blank user does not appear in 2016 under Task manager but it still gets stuck at Establishing Connection Quality. I would have to do an Ipconfig /flushdns to make the user point to a different host listed in DNS in order to log in. 
Why does using the DNS farm name with Session Host IP addresses cause only those Session host to stick at Establishing Connection Quality?

Sign in option

$
0
0

Can i add custom sign in option in addition to already available sign in options (password, smart Card) ?

Custom sign in option is related to smart card but without reading certificate on smart card. Rather it will perform sign in on other attributes fetched through smart card and comparing them againstemployee ID attribute of AD?


Rox_Star

Remote Desktop Services without AD

$
0
0
Hello, I have an unusual problem after installing Remote Desktop Services without AD on Windows Server 2019. Well, I installed CALs per user, I configured everything according to the service https://support.microsoft.com/en-us/help/2833839/guidelines-for -installing-the-remote-desktop-session-host-role-service and now after connecting the user to the server a message appears: There is a problem with your Remote Desktop license and the session will be disconnected in 60 minutes. Contact the system administrator to solve the problem. 

Set a default remoteapp based on the user

$
0
0

Hi there, 

Using remote desktop, is it possible to set some kind of default remote app instead of a full desktop environment for a specific user ? 

Currently, I'm able to do this using 2 ways :

- by creating an RDP file which contains some remoteapp* parameters, and pass it to mstsc.exe

 - using a Custom User Interface policy for a dedicated app user (for example calc@demo.com user will have win32calc.exe as custom user interface) thanks to security filters.

The first way involves client-side configuration. I don't want that.

The second way works but creates an empty fullscreen background around my custom user interface program. If I close my program, the user is now facing a background without any further action possible but closing RDP session. I could build a wrapper around my program to call shutdown -L but it requires more work. I don't want to use a batch file.

So ideally, I want the best of both worlds : a server-side configuration only, and where only the app must be visible to the end user. Without any empty fullscreen background around it.

I'm using Windows Server 2016


Many thanks for your help.


Maximizing apps in RDS session.

$
0
0
We run an app using "alternative shell" in RDS on a Windows 2016 server.  When the user starts the app there is no desktop.  This app opens documents using Office 2016.  Our problem is that the office apps always start behind the main app making it hard to see that the open document function was successful. 

There is no desktop and thus shortcut to edit.  I've tried opening, maximizing, and then closing Excel/Word but they always open windowed and behind everything else.  I assume without Explorer running, there is no memory of last position?  I've looked for command line options to force Word/Excel maximized to no avail.  My only workaround is to use alt-PageUp to bring them to the foreground.  That is more of a band-aid than a solution.

Is there any way for apps started by another app in an RDS session to start maximized?  

Albion

Ongoing cert mismatch error with RDS & Webclient on Server 2019

$
0
0

Scenario....

Single server hosting all roles, RD Connection Broker, RD Session host, RD Gateway, RD Licensing, RD WebAccess.

All webclient pieces installed without error.

Cert is official SHA2 cert from InCommon. The cert has been imported into IIS. In the Deployment Properties, Under "Certificates", the cert is showing as "Trusted" and "OK" for all role services.

In the RD Gateway Manager mmc, on the SSL Certificate tab for the server properties, the cert is showing the certificate from InCommon as being installed. 

Problem....

The error is reproducible on Chrome or the new IE Dev (chromium) browser. I navigate to the page secured with SSL. I successfully authenticate. I select the calculator app. It shows "Opening Port"...."Establishing Connection", then in the browser I get...

Oops, we couldn't connect to "Calculator"
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: myserver name blah blah blah.

The thumbprint is showing the same as the cert I have installed.

If I run a browser in dev mode....I can see the error as...

2019-05-13T17:22:25.555Z Connection(ERR): The connection generated an internal exception with disconnect code=CertMismatch(7), extended code=<null>, reason=The cert from the remote server did not match the expected certificate (length mismatch).
Thrown in thread 396952 at:
tls/ossltransport.cpp(511)
Call Stack:
at Rjb
at Ojb
at Ip
at Vgd

Where is the mismatch error coming from? I have read so many articles on this and have re-installed the server so many times, I can't figure out for the life of me what I am doing wrong.

Please help!


I'm Micahel

RemoteApp connection window - Cancel button not visible

$
0
0

Hi, on some clients when connecting to a remoteapp the abort button is not displayed correctly. 

On one of the clients where this problem is occurring is Windows 10 Enterprise Version 1809 (Build 17763.437) installed. The OS of the RDS-Server is Windows Server 2016 Standard.

 

Any ideas how to solve the problem?


Can I install into Environment with Breaking Anything?

$
0
0

I created a VM in vCenter 6.5 for "development" that I want to test RDS with on a Win2016 server. I needed to add it to my domain to get the correct options for installing RDS.

We already have Citrix XenApp etc. I don't want to accidentally push out any clients or rules or steal any cals or break any current functionality.

Is it safe to setup RDS services, standard, session based, with Remote Desktop Connection Broker, Remote Desktop Web Access and Remote Desktop Session Host and whatever is needed to test with that (temp or MSDN cals) without breaking any current functionality I have with Citrix?

I've seen plenty of RDS setup guides but nothing about installing into my type of environment.

Thanks everyone.

Remote Desktop session establish problem

$
0
0

Dear concern,

I am using 200 RDS Device CALs. I am using 2 RDS server in workgroup environment. I installed RDS host and licensing role in my one server and installed 200 RDS CALs in this server. Also installed RDS host role in another server and map of the first one server as it's licensing server via local policy. Users randomly connect to these two server via Remote Desktop. Licensing server shown the 200 device CAL in console but when user connect to RDS server via thin client (non Microsoft endpoint) they can establish connection only for one hour and got a warning message"There is a problem with your license for Remote Desktop and the session will end in 60 minutes. Contact your system administrator to resolve this issue"then user forcibly disconnected. I had seen two things that RDS server didn't assign temporary license for thin client user and RDS license not count down, it fixed on 200.

Please response me ASAP.

Thanks,

Babu


Babu

Can I convert per device RDS Cals to per user RDS Cals

$
0
0

Hello

We purchased some per device RDS Cals. Now we find some user use two computers(a desktop and a laptop), We'd like to convert our Per Devcie RDS Cals to Per user RDS Cals.

Does microsoft provide a route to convert Per Device to Per User.


RDS 2019 - Remote Camera Devices only functional for Administrators

$
0
0

I have an odd issue whereby I have configured an RDS Collection (1 CB/Gaetweay/RDWeb and 3 RDS Session Hosts) where when a user connects and uses Webcam Redirection, it works perfectly for admins, but non privileged users even though the device is passed through, it doesn't work in any app.

I have used GPO to force enabled the camera redirection feature and force enable the camera for all apps too.

In the Camera settings app, everything is set to On as forced by organisation.

The camera is detected and availible to apps, the Windows Camera Frame Server service starts when the user attempts to load the camera in any app, but nothing is displayed and the camera doesn't kick in.

I have users wanting to use Teams inside the RDS (company policy allows only for company stuff to be inside the RDS) and cannot get them access other than granting Admin rights!

Any ideas?

VPN to access Remote Desktop Services

$
0
0

Hello,

Which VPN software are you using to access Remote Desktop?

Many Thanks,

Using Remote Desktop Services instead Teamviewer

$
0
0

Hello,

I would like to access the server without Teamviewer. I`ve been told that we need to set up terminal services and that I need a licence. Are there any tutorial on this?

Many Thanks,

cant launch remote app

$
0
0

Hello i have everything on single server 2016

rdweb, rd gateway, session host

i am forwarding 443 thru my firewall to my server

when i go to launch a remote app i get the following, working internally, just not externally.




Windows Server 2012 R2 Remote Desktop Services - RDP client gets black screen, System Event ID 4005, TerminalServices Event ID 36

$
0
0

RDP users (Citrix XenApp) are getting connections refused/dropped and a black screen. This is Citrix MCS spawned terminal services on Windows Server 2012 R2. On the server seeing these messages:

Log Name:      Microsoft-Windows-TerminalServices-LocalSessionManager/Operational
Source:        Microsoft-Windows-TerminalServices-LocalSessionManager
Date:          5/7/2019 12:08:15 PM
Event ID:      36
Task Category: None
Level:         Error
Keywords:      
User:          SYSTEM
Computer:      CTXIAHYP004.mydomain.com
Description:
An error occurred when transitioning from CsrConnected in response to EvCsrInitialized. (ErrorCode 0x80004005)

Log Name:      Application
Source:        Microsoft-Windows-Winlogon
Date:          5/7/2019 12:08:15 PM
Event ID:      4005
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      CTXIAHYP004.mydomain.com
Description:
The Windows logon process has unexpectedly terminated.


After extensive Internet search with these symptoms I am coming up empty.

I reviewed EventTracker and related MicrosoftHelp but these recommendations do not seem to apply in this case or are too vague to be useful. Those articles suggest a server resource constraint (we do not see this, unless it was temporary and is no longer present when the system event occurs), registry corruption (this seems very unlikely, but even if true, how do we determine which registry hive or key is corrupt?) or a service that needs restarting (which service? we do not see any errors showing failed or stopped services).

Any other tips?

Viewing all 5613 articles
Browse latest View live


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