Quantcast
Channel: Fórum Remote Desktop Services (Terminal Services)
Viewing all 26837 articles
Browse latest View live

Measure memory usage per process per user

$
0
0

We utilize a Remote Desktop deployment to provide a unified browsing experience for our libraries.  There are 115 clients involved hosted over 3 host servers. 

While numbers per server are balanced workload is not. The presentation to the customer is via a browser which is in a kiosk mode.  I am wanting to even out the distribution of workload by balancing the "users" who generate the greatest activity wore uniformly across the host servers.  I can do this based upon the memory usage for the kiosk app process, which I can get a breakdown for but nothing I have found includes the "user" name.

Any help appreciated

 

RDS 2012 R2 / Session timeouts reset each time a new user log in

$
0
0

Hi,

We have set up ( with GPO) session timeout for RDS users :
- IDLE session : 1 hour
- disconnected session : 1 hour
- close session when timeouts are reached

But sessions never hit timeout because each time a new user logs in or an IDLE user reconnects, all IDLE session counter are reset to 0.

I am not able to figure out what is happening...

Does anyone have an idea ?

Regards,

Arnaud

rds per device

$
0
0

dears,

I need your assistance with the below, i was deploying rds server. 

Configured rds hosts and rds brokers and rds licenses servers. I issued from the license server licenses per cal and per devices.

In the collection, i added a group that contains the users who are able to connect to the host.

After testing, more than one user were able to connect to the rds host therefore the testing was successful.

however when i went to test the per device cal, i did the following i added the server from where i want to access the rds host to the collection group created earlier. then i logged in to this device using anonymous user and tried to rdp the rds host from that server, however it returned an error : the connection was denied because the user account is not authorized for remote login which is true, the anonymous user is not added to any rds group but the server from where he tries to access the host is added to the group.

I need to understand the per device scenario, can anyone help me with how it its tested?

best regards

Remote Connection from Laptop to Desktop

$
0
0
Just updated my Desk top and work lap top to windows 10 pro I can not remote desk top from my lap top to my desk top when I am not on the same network? Am I missing a setting to connect ?

Remote Desktop VirtualChannelOpen fails: ERROR_NOT_SUPPORTED

$
0
0

Hi,

 

I'm trying to open a virtual channel in my remote desktop-session. I'm calling the WTSVirtualChannelOpen-function of the WtsApi32.dll. 

I already succeed to open and use the virtual channel, but since the windows-update 1903 the open-function failes with the error-code 50 (ERROR_NOT_SUPPORTED).

 

The client and terminal are both running windows 10 with the 1903-update.

I tried to check the Permission-Settings for Remote Desktop Services Connections, but I don't know how.
Other References said it moved to the Group-Policies, but I can't find it there.

I also tried to use the newer VirtualChannelOpenEx-function, but same result. The OpenServer- and EnumerateSessions-function are working fine.

So I'm searching for this Settings:
https://docs.microsoft.com/de-de/windows/win32/termserv/terminal-services-permissions

Thank you for your help,

Nils G.


RemoteApp keeps saying "Your credentials did not work"

$
0
0

Hi all,

I wonder if you could help me. I have deployed a new RDS server and everything seem to be in place. Its based on Windows Server 2016, and all licences applied, and certificate added.

Internally I can access it through the browser fine, but not externally (outside our LAN). Also everytime i try to add the server to Access RemoteApp and desktops, internally or externally, i get the message "Your credentials did not work".

This is a big project that i am working on and i find my self stuck.

So far i have tried:

  • GPOs to add TERMSRV/* and thumbprint
  • Bypass RD Gateway credentials for local addresses
  • SSL Certificate for RD Connection Broker Enable SSO, RD connection broker Publishing, RD Web Access and RD Gateway is the same.
  • Checked IIS for redirections and SSL (all off, tried on too)...all i could think of, but no luck.
  • Authentication policy is set via GPO as: allow delegating default credentials with NTLM-only server authentication and Allow delegating saved credentials with NTLM-only server authentication. 

I am struggling to find a reason why it's not working.

Any help is much appreciated.

RDS 2016 Remote Desktop Services is currently busy

$
0
0

I am running a Server 2016 with RDS and it's mainly used for remote apps. Our users are getting the "The task you are trying to do can't be completed because RDS is currently busy" and looking at the task manager, there appears to be a stuck login which I cannot disconnect. When I attempt to end all processes for that stuck user, it still does not go away and I need to reboot the VM which kicks everyone off.

I am running the latest patches but I find that I have to restart the VM at least 3-4 times a week to allow our users to use their remote app when they work from home.

What could be causing this issue?

Enhanced Video Renderer - render failure in RDP session

$
0
0

Enhanced Video Renderer is used in my application.  It displays fine on Windows 7 thick client.  When this application runs on a Citrix server (Server 2016), EVR will not render at all, if the render window is on monitor 2 (right monitor).

Because Citrix runs on top of Terminal Services, we tried to check over RDP.  See the same symptom over an RDP connection.  Testing EVR capabilities using GraphEdit: EVR will render fine on Monitor 1 but not Monitor 2 (black window appears).  Without RDP, connecting over UltraVNC, there is no problem with EVR rendering on Monitor 2.  Another curious thing, is that if the graph is stopped, and the render window is dragged from one screen to the other, the window will render fine after the graph is restarted, so long as the window is at least 50% on the left monitor.  Seems like a rendering problem as the source filter is definitely not the issue.

Is there some reason for this to fail?  Is there any RDP configuration (or omission) that contributes to this problem.  Many thanks in advance for any knowledge on this.


Need a solution for allowing Remote Desktop access for a limited number of users.

$
0
0

I've been searching and searching but I'm not getting all the pieces together.  Here is what I need to accomplish:

  1. A VM running a modern Windows OS to run a specific application suite.
  2. That VM needs to be able to handle up to 5 concurrent Remote Desktop connection actively using the application mentioned above. (The application suite is designed to be able to handle this.)
  3. Users will be connecting with tablets, laptops and desktops from the local network and from external connections as well.

The application suite runs a database and is normally installed on multiple desktops with one of them being the "master" running the DB.  Maintaining the multiple desktops is less practical compared to one VM that everyone connects to.  I've seen "hack" ways to run multiple remote connections to Windows 10 and such but I'm looking to do this right.  This application suite is going to be used for the foreseeable future and I don't want to hack it together waiting for an update to break the hack.

What I am asking for is help with what I need for this use case.  I'm ok with building multiple servers (in ESXi/VMware) if needed, though I would prefer only one.  I also would really rather use a per user license since the users are regularly changing out the devices they are connecting with.  

I have downloaded and build basic VMs with the eval versions of Server 2019 Essentials and Standard.

Prevent user profile corruption

$
0
0

How can you prevent user profile corruption on windows server 2016 and 2019.

We have lots of RDS deployment setup according to best practice guides, it's all very straightforward no strange or complicated configuration. Just an out of the box windows server 2016/2019 installations with RDS:

a remote desktop gateway

a connection broker

a session host

then we make a rdp deployment with UPD's.

profiles keep getting corrupted. How can we prevent this? It's super annoying we have to fix the corrupted profiles all the time.

Note this is not a question how to fix corrupted profiles, rather how to prevent it. We're now fixing corrupted profiles every day, such a waste of time!

If you need more information, let me know.

PS. seeing the many google posts, it's clearly a problem many people have, so there must be a solution for that right????

PS. RDS setup is default as can be. Guide followed: https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-deploy-infrastructure  No weird config going on, everything according to best practice but still profile corruption keeps coming back.

RDP SSO on reconnect fails due to Network Location Awareness Identifying

$
0
0

I have found that when a RDP session that connects with Seamless SSO is interrupted, if the Network Location Awareness service decides to go into 'identifying' for even a half second, when the RDP connection goes to resume, SSO credentials do not work. However I have found that the times that the NlaSvc does not go into 'Identifying' then the connection will resume just fine. It appears that when its 'Identifying' even if I have the local policy set to 'Private' for Identifying connections, then SSO does not work. Is there a fix for this? Can RDP be made to wait or reattempt SSO credentials again automatically? The NlaSvc always goes back to DomainAuthenticated properly, even after half a second, but its still too late as RDP appears to have already tried reconnecting and fails to pass credentials at which point it prompts for a password.

I really need the reconnecting feature to work. Anyone have any ideas to solve this?

Publishing Remote Apps from Multiple Session Hosts

$
0
0
Hi guys, I'm coming from the Citrix world so I need to re-learn how this works, but I have a RDS server which is also a session host, and an additional session host. Both are in a collection called Test.

I have some software installed on both servers which I can publish. I have some software just on the main RDS/session host which I can publish, and some software just on the second session host which I can not publish.

I don't necessarily want to have to install the software on both. How can I accomplish this? I tried to create another collection and just add the second host but I can't because its already part of the first one I suppose. What do I need to be doing in this regard?


Thanks for any feedback.

Enable and Test RemoteFX on Server 2016 Remote Desktop Session Host (RDSH).

$
0
0
Hi,

I'm running vSphere 6.0 (esxi 6.0 hosts) as the hypervisor have Server 2016 RDSH VM running on it.
I need to enable and test RemoteFX to increase video performance. After reading other posts and
articles, it would seem that I would need to enable Hyper-V for RemoteFX to work?

Is there no way for me to enable RemoteFX on Server 2016 RDSH to work on vSphere 6.0 instead?
If there is, I would appreciate anyone who could help.


Kind Regards
GMSS

Read-Only Profile - Best Practice ?

$
0
0

Hi,

What is the best practice to configure "Read-Only" User Profiles ?

I used to configure Mandatory Roaming profiles and then change the source folder NTFS rights to Read-Only.

That way, each logon starts with the profile I had set. I mean I  don't want to retain whatever is in various Temporay / Downloads / Documents etc.. folders.

This does not seems to be the best approach :

- Starting with Windows 2016, I had to keep the cached profile because the default browser was not retained.

- In Windows 2019 server the entire  "Mandatory" profile feature seems currently broken to me  :

Long story short, my current workaround with Windows 2019 RDSH server is

- Make the mandatory profile folder Read-Only except for MandatoryProfiles\%username%\profile.V6\AppData\Roaming\Microsoft\Search which is set to Full Control

- Add AppData\Roaming\Microsoft\Search\Data\Applications;AppData\Local\Microsoft;AppData\LocalLow\Microsoft to ExcludeProfileDirs (Windows Search is not compliant with Mandatory profile feature, hence the exclusion. Some software are misusing Appdata\local and localLow, hence the narrowing to local\Microsoft and localLow\Microsoft subfolders, because Microsoft is  cough supposed cough to be compliant with a feature it has designed...)

- DON'T rename USER.DAT to USER.MAN.

And live with the ugly message at logout "Your roaming user profile was not entirely synchronized"

So, it looks like Microsoft is overlooking this feature or I'm not using the right approach.








Default printer changes randomly to Sybase DataWindow PS at RDS logon

$
0
0

Hi all,

Our users are experiencing random default printer changes after logging into our RemoteApp.

The default printer is randomly changed into Sybase DataWindow PS. Even though the default printer is set correctly at the client side. 

Our setup is as follows:

8 x Windows Server 2012R2 RDS Session Host

RDS farm with a connection broker and Remote Desktop Gateway (on the same server)

Users connect to a RemoteApp session.

We are not using a printserver on our systems.

Any help that would point us into the right direction would be greatly appreciated!

Kind regards,

Mervin


Access denied rds farm

$
0
0
Best regard.

I have the following inconvenience, when trying to connect remotely to a server belonging to a farm. I receive this message.

"Cannot verify that the two remote computers belong to the same farm"



When trying to enter the server using the mstsc.exe / admin option I get the following error.

"The access to the requested resource has been denied"

The servers in the farm are server 2012 R2, the group of users who wish to allow remote access to these servers and are added to the local remote access permissions, if the user is an administrator, they can enter correctly. Also with permissions in the "collection"

Request your help to verify that users who belong to this group cannot access the server.

Thank you.

Two RDS Desktop collections on one rdbroker

$
0
0

I am in the process of migrating users off upd’s to fslogix profile containers in our RDS environment. It’s a standard RDS setup with one connection broker, 25 sessions hosts, rdweb and rdgateway servers. Users connect via wyse thin clients that pull the connection information from the wyse portal. All Servers are Server 2016.

I would like to publish another collection alongside the existing collection on the same broker, but this will not work due to having the DefaultTSVUrl pointing to the existing collection.

Is there a way to host two session host desktop collections on the same broker for internal access? I know this can be done for external access via rdweb and rdgateway. I have googled this for days and am getting nowhere

Installing RDS automatically using local credentials : Authentication issue : New-RDSessionDeployment : Validation failed for the "RD Connection Broker" parameter.

$
0
0

Hi all

I would like to setup RDS Session on new servers automatically.

The first step to join the server to the Active directory domain is ok

Now I would like to install RDS Roles Session automatically

When the server reboot, it runs a script using local admin account.

I know one need an Active directory account to deploy.

So I tried this :

    $user = "AD\User"    $pwd  = ConvertTo-SecureString "xxxxx" -AsPlainText -Force    $cred = New-Object System.Management.Automation.PSCredential($user,$pwd)    Add-LocalGroupMember    -Group "Administrators" -Member $user  | Out-File -Append $LogFile    Import-Module RemoteDesktop    #Enable-PSRemoting -Force    Invoke-Command -ComputerName $Env:Computername -ScriptBlock {                   $RDSSrvName = $Env:Computername + ".xxx.yyy.com"                   $LogFile = "$Env:ProgramFiles\Renault\RDS_Roles_setup.log"                   New-RDSessionDeployment -ConnectionBroker $RDSSrvName -WebAccessServer $RDSSrvName -SessionHost $RDSSrvName | Out-File -Append $LogFile    }     -Credential $cred # -Authentication CredSSP    $null = install-windowsfeature  -Credential $cred  RSAT-RDS-Licensing-Diagnosis-UI -LogPath $LogFile    Remove-LocalGroupMember -Group "Administrators" -Member $user  | Out-File -Append $LogFile

It returns

[

MYSERVER] Connecting to remote server MYSERVER failed with the following error message : Access is
denied. For more information, see the about_Remote_Troubleshooting Help topic.    + CategoryInfo          : OpenError: (MYSERVER:String) [], PSRemotingTransportException    + FullyQualifiedErrorId : AccessDenied,PSSessionStateBroken

If I add Enable-PSRemoting -Force before the command, I get

[

MYSERVER]Connecting to remote server [MYSERVER] failed with the following error message : Access is
denied. For more information, see the about_Remote_Troubleshooting Help topic.    + CategoryInfo          : OpenError: ([MYSERVER]:String) [], PSRemotingTransportException    + FullyQualifiedErrorId : AccessDenied,PSSessionStateBroken    + PSComputerName        : MYSERVER

Even if I try to run the command as the Active directory user being AD-User and Local admin , I get too :

PS C:\users\ad-admin\Desktop> $RDSSrvName = $Env:Computername + ".xxx.yyy.com"
PS C:\users\ad-admin\Desktop> New-RDSessionDeployment -ConnectionBroker $RDSSrvName -WebAccessServer $RDSSrvName -SessionHost $RDSSrvName


New-RDSessionDeployment : Validation failed for the "RD Connection Broker" parameter.
MYSERVER.xx.yy.fr Unable to connect to the server by using Windows PowerShell remoting.
Verify that you can connect to the server.
At line:1 char:1+ New-RDSessionDeployment -ConnectionBroker $RDSSrvName -WebAccessServe ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RDSessionDeployment


Could some tell me what I missing ?

The Active Directory user has no right on the active directory

Thanks


ML








RDS 2016 second prompt for remoteapp

$
0
0

HI

I have deployed new RDS 2016 and share remote apps. After login through RDWeb I try to start any app and I get second prompt for credentials but there is information: The server's authentication policy does not allow connection requests using saved credentials.

I can start remote apps from another RDS on 2012 R2 from this computer without second prompt so I assume that something wrong on the RDS 2016 server. But what?

Cheers

windows cannot start the remoteapp program

$
0
0

I have a application server that client computers remote into to access. At this point they can see the desktop of the server.  The RDP file I have is suppose to let the user remote into the server but only see the application. When they use it though the error below pops open.



Windows Server 2016


cvh

Viewing all 26837 articles
Browse latest View live


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