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

RDS Endpoint Servers - Nested group membership not working?

$
0
0

I want to use the "RDS Endpoint Servers" group to determine which RD Session Host servers the license server will issue licenses for.

Does this group not handle group nesting? I would ideally want to use an AD DS security group that both applies the correct group policy settings (license mode and server) and allows it to use the license server. 

The servers are a member of the group, the policy applies, the group membership shows up on the session host servers, but the RD Licensing Diagnoser shows an error saying it can't issue licenses because the "License server security group" setting is enabled and suggests that the server should be added to the "RDS Endpoint Servers" group on the license server. 

If I add a server as a direct member of the "RDS Endpoint Servers" group and refresh the RD Licensing Diagnoser it turns green and everything is OK. When I remove it, it goes back to the error, despite the server being in the group (albeit nested). 

By the looks of it only direct membership is working, but I want to confirm if that's the case (which would seem a bit strange) or if I'm missing something. 

Any ideas? 


RDS 2016 - Undefined process takes focus away from application

$
0
0

Hi.

When launching published applications, this undefined process sometimes goes to the foreground.

The result is that you can not interact with the newly started application before you:
a) Use the mouse to click in the newly started application window
b) Alt+Tab back to the newly started application window

In either case, the undefined process dissapears and you can go back to work as normal.

RDSH = Server2016
Client = Windows 10


.\ Lars Olsen

RDS 2016 - Outlook Ghost Window (Send, reply & forward)

$
0
0

Hi.

See the image.

The the outline (ghost window) in this screenshot is in reality a pop-out Outlook window, for a new mail (send, reply or forward).

RDSH = Windows Server 2016
Clients = Windows 10 (1804, 1809, 1809)

It may affect older versions as well, but we have not tested.

This happens to all users on the server.

Alt+Tab away, then back again fixes the issue. But this is so annoying that it needs to be fixed.


.\ Lars Olsen


RDS 2016 - Outlook showing underlaying window

$
0
0

Hi.

Environment:

  • Windows Server 2016
  • RDS Remote Apps
  • Office 2016 - MSI Installation
  • Windows 10 Enterprise v1803 clients

The Outlook window dissaperars or looses focus when the cursor is moved between e-mails or tasks. Resulting in the application behind Outlook showing instead.

The problem is sporadic and it does not matter what window is behind Outlook. PDF reader, Excel, etc...

The video below shows the problem.

Remember: In the video the user is only moving the mouse cursor. No mouse clicks and no keyboard keys are in play here.

https://streamable.com/5am7k 

./ Lars Olsen



RDP Users Being Disconnected due to increase in Memory Use - Help

$
0
0

Hi, 

We have a windows 2012R2 virtual server that is managed by HyperV with about 300GB RAM allocated to it.  We have about 5 users.  Often, when there is some intensive dev work occurring users will be disconnected and unable to login back in. We can access the drives from a mapped server and HyperV says that the Server is still running. 

The only thing we can be do is to reset the server via HyperV which results in users losing work.

Is there anything we can put in place to prevent this from happening?

Many thanks

RDWeb Password change page failing to change password

$
0
0

I'm having trouble with this on Windows 2019.

I have thee services installed and the RDWeb/Pages/en-US/password.aspx page loads OK.

When i enter the credentials for a user and try to change the password, no matter the complexity I set for the new password, I get the following message:

"Your new password does not meet the length, complexity, or history requirements of your domain. Try choosing a different new password."

I've disabled password complexity in the GPO to be sure that's not impacting the issue, but the problem persists.

I have seen an error on the RDWeb server hosting this page, in the servers application error log, and am unsure what to do with it:

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 01/09/2019 18:02:51
Event time (UTC): 01/09/2019 17:02:51
Event ID: 9fd930d7635347de8ce161b010f23485
Event sequence: 26
Event occurrence: 2
Event detail code: 0

Application information:
    Application domain: /LM/W3SVC/1/ROOT/RDWeb/Pages-3-132118305533185037
    Trust level: Full
    Application Virtual Path: /RDWeb/Pages
    Application Path: C:\Windows\Web\RDWeb\Pages\
    Machine name: PWADMIN

Process information:
    Process ID: 5576
    Process name: w3wp.exe
    Account name: IIS APPPOOL\RDWebAccess

Exception information:
    Exception type: HttpException
    Exception message: Cannot redirect after HTTP headers have been sent.
   at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication.RedirectBackWithErrorValue(HttpContext objHttpContext, String strDestPage, String strErrorMessage)
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication.<OnAuthenticateRequestAsync>d__71.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.TaskAsyncHelper.EndTask(IAsyncResult ar)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



Request information:
    Request URL: https://<myserver address>:443/RDWeb/Pages/en-US/password.aspx
    Request path: /RDWeb/Pages/en-US/password.aspx
    User host address: 10.2.0.38
    User:  
    Is authenticated: False
    Authentication Type:  
    Thread account name: IIS APPPOOL\RDWebAccess

Thread information:
    Thread ID: 27
    Thread account name: IIS APPPOOL\RDWebAccess
    Is impersonating: False
    Stack trace:    at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication.RedirectBackWithErrorValue(HttpContext objHttpContext, String strDestPage, String strErrorMessage)
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication.<OnAuthenticateRequestAsync>d__71.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.TaskAsyncHelper.EndTask(IAsyncResult ar)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)





Can anyone assist?

       

Problem with publishing remote APPs in server 2012

$
0
0

Hello,

First sorry for my bad english :)

I have a problem with my server 2012 when publishing remoteapp program. This error shows with every program i want to publish? Can you please help me.

Error when trying to publish remote app: Failed: Coul not create a published application instance on the server: ......

error in event viewer under Microsoft\windows\RDMS-UI\ Admin log

Event ID 16393

Publishing Failed for RDSH Collection - RemoteApp name: Excel 2013  Collection name: ........ Failure: Could not create a published application instance on the server .......

Please i googled it and didnot find any solutions can someone help me?

Error: Event ID #21 - RDS CALS does not have remaining permanent license of the type...

$
0
0

Hi,

Got this error (please see image #1) when previous server had hardware problems then transferred the RDS role, license into a new physical server, inside a VM.

Did they solve the bug and issued a hotfixed for this error already? What would be the possible solution for this?

If this helps, please see image # 2. I will try to edit the RDS because they have tempo/built in license in the GPO to acknowledge the valid CALS. Is this a recommended troubleshooting step?

Image #1


Image #2

Thanks!!!


Install Yammer notifier on RDS

$
0
0

Hello,

Does anyone know how to install Yammer notifier on RDS W2K12 R2 for all users?
Tried some things but its not working. Normal Yammer installation and the MSI both are not working in RDS.

Any help will be appreciated.

LEVD

RDS Broker database (RDCms) status "Recovery Pending" after reboots

$
0
0
Got an issue with my Windows Server 2016 Broker. Every time it boots the database goes in "Recovery Pending" and I need to flip it (take offline then online) to before starting the broker service again. As patch boots go at night I've got lots of angry users every time I come to work in the morning after a patch night. 

The Event Log spams: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. Reason: Failed to open the explicitly specified database 'RdCms'. [CLIENT: <named pipe>]

"DBCC CHECKDB (RDCms, repair_allow_data_loss)"  reports no errors

Adding NT AUTHORITY\NETWORK SERVICE to db_owner did not help. 

As this is an internal database I've got no backup from before the issues started. 

Anyone got a proper, permanent, solution? 

K.

How to properly delete User Profile with UPD enabled in RDS

$
0
0

Helllo,

I can't find any instructions from Microsoft for question: 

How to properly delete User Profile from Windows Server 2012 R2 RDS environment with UPD enabled?

We have *.vhdx and several session hosts.

RD Connection Broker issue

$
0
0

Hi

From time to time we have BSON on Session Host servers. Users which had sessions on these server can't reconect to another Session Host server, because Connection Broker redirects them to inaccessible server. It lasts about 30 minutes.

Is some way to "inform" Connection Broker that Session Host is unavailable now? Or reduce time out?

Disconnecting RDP Session Causing Excel C++ Macro to Pause

$
0
0

Hi,

I'm kicking off an extensive Excel macro on a network machine via Remote Desktop Connection that takes roughly 50 hours to complete. The macro VB calls a DLL file to execute a chunk of code in C++ (I did not build it and am not well versed).  Running the macro in an active session works fine, but if I disconnect and return a good time later, I can tell the macro has made zero progress since when I disconnected from the session--I can tell from status bar communication in Excel.  Once I reconnect my session, the macro continues running like I'd never left and no error messages or code execution breaks messages to be found.

It gets weirder--I have 4 options of VMs to choose from, all of which have identical specs (Windows 10, 64-bit Office, 64-bit OS).  The macro will continue to run when I'm disconnected on only ONE machine. The only difference I can see on the one machine that's successfully running the macro, is that it's the least recent to have been rebooted (and therefore updated) of the lot.

I do not have local admin rights on any of the machines. Any incite would be greatly appreciated. 

I'll caveat that I'm kind of a layman in tech speak; I apologize if I chose the wrong categories to post on.

Can't DirectX Create Surface unless we "disable full screen optimizations"

$
0
0

We have customers using Remote Desktop to log into a Windows 2019 Server running on AWS. Our EXE app starts up and runs just fine and uses DirectX for graphics and sound. But when customers close and reopen the Remote Desktop our app can no longer create DirectX surfaces. Here is the code that fails:

ZeroMemory(&ddsdCur, sizeint(ddsdCur));
ddsdCur.dwSize = sizeint(ddsdCur);
ddsdCur.dwFlags = DDSD_CAPS;
ddsdCur.ddsCaps.dwCaps = DDSCAPS_PRIMARYSURFACE;
res = IDirectDraw_CreateSurface((LPDIRECTDRAW)pdd, &ddsdCur, (LPDIRECTDRAWSURFACE *)&pddsback, NULL);
if (res != DD_OK) fatalerror();

The result code (res) is DDERR_UNSUPPORTEDMODE -- The display is currently in an unsupported mode

We have discovered if we check the new Windows 10 option to "disable full screen optimizations" then everything works as expected. The customers can open and close the Remote Desktop and the app is still there running fine. My questions is this: is there something we can do to be more compatible with full screen optimizations? We don't want to have all customers set this flag. What can we do to be compatible?

Thanks in advance


RDS - Error when trying to activate SSL Bridging (HTTPS-HTTP)

$
0
0
Hi there
I have an up and running RDS Server on Windows Server 2016; now I wanted to setup an identical configuration on Windows Server 2019. Everything installed just fine up to the point when I wanted to active SSL bridging on RD Gateway. While activating option 1 (HTTPS-HTTPS) works just fine, option 2 (HTTPS-HTTP) just won't save. I did not get an error in the GUI; but the settings will be ignored and set to previous settings. In the event viewer I found the following error:

--
Error ID: 4002
The Windows Firewall exception to allow network traffic comprising of Remote Desktop Services client connections data through the configured (non-default) HTTPS port of Remote Desktop Gateway could not be modified.
--

It seems that the predefined Firewall exception "Remote Desktop Gateway HTTP-Listener" can't be modified by the system.

Any clues on the cause of this problem? Thanks in advance for any hint!

Kind Regards
Andreas


Publish and Pool user got stuck in RDS in VDI server after trying to open any application (wyse terminal)

$
0
0

Hi Expert,

We would like to ask something if there is any solution to resolved our problem in VDI server. Is there any recommendation and best practices? 

Scenario :

Publish user

User was able to login using Remote session but upon opening any apps like Excel, word etc. it will get stuck Connecting....

Published - proper shutdown is log off

Pool user:

User was able to log in using Remote session, a log windows based screen appear but once they open a any apps it will get stuck again.. connecting... 

Pool - proper shutdown start>poweroff>click shutdown : VM

Tried everything below : 

Publish User

1. Rodante 

Resolution: Sign out in vdirwm > login to another wyse device > logoff using cmd

2. Manuel 

Resolution: Sign out in vdirwm server

3. Rina 

Resolution: Sign out in vdirwm server

4. ESDMinibar 

Resolution: Sign out in vdirwm server

5. ESDMinibar

Resolution: Sign out in vdirwm server

6. Glenny 

Resolution: Sign out in vdirwm server

7. Rodante

Resolution: Sign out in vdirwm09 > login to another wyse device > logoff using cmd 

8. Limleo

Resolution: Sign out in vdirwm server 

Pool User

1. Nelson 

Resolution: Stop/Start virtual pool in vdirwm01

2. Razzel A

Resolution: Restart wyse computer

3. Joshua 

Resolution: Login to another WYSE PC 

4. Renmark 

Resolution: Login to another WYSE PC 


Homer Sibayan


How to execute RemoteApp management operations on windows 2016 server with python code?

$
0
0
I need to develop my own web ui to manage a RDSH farm with brokers and underground coding is using python. I need to add/list/edit/delete remoteapps in the web backend. Is there any API available?  Thanks!

RemoteApp : Caps Lock / Num Lock become inverted in RemoteApp sessions. Server 2012r2 and 2016

$
0
0

This issue has been a thorn in my side for the past several months. While investigating I've read every post/article I could find on the topic and wanted to share my findings, as well as include instructions how to recreate the issue which I haven't seen elsewhere. 

Symptom:

In Server 2012r2 and Server 2016 RDS environments, while in published RemoteApp applications, the Caps lock/Numlock keys become inverted from the local computer. For example, the keyboard indicator shows Caps Lock is off, but capitalizes all characters in the RemoteApp application.

Cause:

The Caps Lock/Num Lock keys are inverted when the application opens a new window, a text field is selected, and the “Caps Lock” or "Num Lock" keys are the first input. It appears that when new Windows are generated from the published application they don't get keyboard sync information until text is input. For instance, if you launch a published instance of File Explorer, click the search bar, and hit the "Caps Lock" key, the issue doesn't happen. However, if you right click a folder, select"open in new window", click the search bar in the new window, then hit the caps lock key, it will. Again, only if the Caps Lock/Numlock keys are the first input.

You can recreate the problem easily by doing the following:

  1. Publish "Notepad" in your RemoteApp environment
  2. Launch "Notepad
  3. Go to File -> Open
  4. Select the "File name:" field
  5. Press the "Caps Lock" or "Num Lock" key before pressing anything else
  6. The caps lock/num lock key will now be out of sync

I have tested this in several applications including: Adobe, WordPad, Word, Excel, PowerPoint. This also works in clean installations on both Server 2012r2 and 2016.

Solution:

Currently none. We placed a paid ticket with Microsoft Support where we explained the issue and provided instructions on how to recreate. The ticket was escalated, and we were eventually informed that this is a known issue that hasn't been documented. We were then provided a refund and informed that they would let us know when a fix is in place.

Workaround

Clicking anywhere outside of the RemoteApp applications will correct the inversion. We typically recommend clicking the task bar. Another option is minimizing and maximizing the application manually or by pressing Win+D twice. Many of our users use the caps lock key in place of the shift key. I'm not sure how effective it has been but we are instructing users to use the shift key, especially when entering credentials. 

Even though there isn't currently a solution I hope that this is at least informative and someone finds it helpful.


I turned on RD connection broker role and RDP connection started droping

$
0
0

We have a server in a domain for remote desktop connection and I remotely have turned on RD Connection broker.

After my RDP start disconnecting after estimating quality. Well I remotely turned off RD Connection Broker Service from a domain controller. What's next, how to deny the changes?

Best practice for a RDS involving several location's RD Servers - VPN or others?

$
0
0

I have a special project that needs to setup a central AD with RD Gateway and 1 RDS - all 2016 servers.  But at the same time, we will also need to involve cloud servers (Win 2016) from various providors to provide the best user experiences.  

My current setup is to create a RRAS in the central site, and allow the remote single RDS servers connect in and then utilize the RD License Server and RAP CAP to manage the users' access.  The configurations went all right - with several minor adjustment, but the issue is that the VPN connection sometimes stays, and sometime shows not so normal situation - i.e. show connected but there aren't able to see each other - mainly issues with DNS Client or RPC events.  

So my questions: 

1. is this the best practice in setting up things like this?

2. If this is a doable way, what is the best solution to ensure the VPN stays actively connection happily?

Many thanks in advance.

Del

Viewing all 27533 articles
Browse latest View live


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