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

How to Disable Audio Redirection for Terminal Services

$
0
0

I have a Windows XP Embedded product which requires audio input/output. When I use remote desktop to log into these systems, the audio driver gets replaced with the Microsoft RDP Audio Driver. This disables my product from working since it now has no audio driver. Below is a list of things I have tried to disable remote redirection of audio:

 

Remote Desktop Client:

Changed the "Remote computer sound" setting on Remote Desktop client to "Leave at remote computer".  This does work, however, I need to disable this on the server so this doesn't get accidentally changed.

Group Policy:

Changed the group policy setting, "Allow audio redirection" to "Disabled". I ran MMC.exe (Microsoft management Console), "Add/Remove Snap-in", Add..., "Group Policy Object Editor". I went to "Computer Configuration","Administrative Templates", "Windows Components", "Terminal Services", "Client/Server data redirection", "Allow audio redirection" and set that to Disabled. This also did not work. It did disable the audio from being heard on the remote PC, but the Microsoft RDP Audio Driver still replaced my original audio driver when "Bring to this computer" was selected in the remote desktop settings.

Registry:

HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Drivers32/Terminal Server/RDP

I tried renaming the "wave" key and renaming the "rdpsnd.dll" file. After logging in with "Bring to this computer" selected, all audio drivers were missing including the Microsoft RDP Audio Driver.

Other notes:

You don't even have to authenticate into the machine to have the Microsoft RDP Audio Driver remove the audio drivers. This seems very dangerous considering anyone with Remote Desktop can maliciously try to log into a box, and even if authentication fails, all input/output audio functionality gets removed.

 

Thank You,

Chris Miller


Logged off users leaving orphaned processes, Getting black screen when reconnecting.

$
0
0

I have a terminal farm all 2012R2 boxes. All users are set to logoff after 5 minutes of activity via gpo (for both rd and ts apps)

A random set of users will  get a black screen the next time they connect. The only way to fix it is to find the winlogon.exe process that is tied to the user and end task then have the user login again. (you cannot disconnect these users using the logoff command or disconnect command from the collections manager gui)

I've applied https://support.microsoft.com/en-us/kb/2959626 to all terminal and broker servers. It didn't help.

RDS 2012 R2 - RDVDiag - Crash at start up

$
0
0


RDVDiag (http://support.microsoft.com/kb/2692470) looked promising as a resource gathering tool, but it fails to start on our RDCB.

Here are the details:

Problem signature:
  Problem Event Name:CLR20r3
  Problem Signature 01:RdvDiag.exe
  Problem Signature 02:1.0.0.0
  Problem Signature 03:5237673a
  Problem Signature 04:RdvDiag
  Problem Signature 05:1.0.0.0
  Problem Signature 06:5237673a
  Problem Signature 07:b7
  Problem Signature 08:27c
  Problem Signature 09:System.NullReferenceException
  OS Version:6.3.9600.2.0.0.144.8
  Locale ID:2057
  Additional Information 1:9393
  Additional Information 2:93934b5d1434a9c6aa07eb66d175fe5f
  Additional Information 3:3a97
  Additional Information 4:3a97a99d708839a8fa2f91688b68b694

Any thoughts?

Cheers

Lea

Can't create self signed certificate for RD Gateway

$
0
0

I'm trying to set up an RD Connection Broker for RemoteApp, but I'm getting an error when I try to create a self signed cert for the RD Gateway:

The self-signed certificate has been successfully created, but RD Gateway cannot store the certificate in the directory C:\Users\myuserid\Documents. Please specify a different directory, and try again."

I tried other directories, all of which I have full rights to, but still no dice. I can't find anything with this error. Any idea how I can get past it?

FWIW, I have no problem logging into this server through RDP.

Thanks.

TEMP profiles in RDS 2012R2 environment with UPD's

$
0
0

Hi all,

Some time ago I opened this thread:
https://social.technet.microsoft.com/Forums/en-US/08f91854-27c2-4bc8-8845-d2435db51c1f/hanging-upd-profiles-in-2012-r2-rds-environment?forum=winserverTS

Since then I've made some changes in the GPO's, but this seemed to have the affect that a lot of users now get TEMP profiles in de RDS environment regularly.

The Event Viewer System logs show these messages:
Event ID 16: The access history in hive \??\C:\Users\USERNAME\ntuser.dat was cleared updating 2157 keys and creating 297 modified pages.
Event ID 16: The access history in hive \??\C:\Users\USERNAME\AppData\Local\Microsoft\Windows\UsrClass.dat was cleared updating 367 keys and creating 47 modified pages.

Also there are a lot of these events logged:
Event ID 20499: Remote Desktop Services has taken too long to load the user configuration from serverboth DC's for user USERNAME

This leaves the User Profile Disk corrupt and the only way to resolve this is to restore the UPD from an earlier moment.

Any thoughts?
I see a lot of RDS logs and searching online give a lot of results (non-related) back.

Kind regards,

Matthijs

Can a TS client find their disconnected session?

$
0
0

We use TS for our major software application.  We have 7 TS servers.  The TS environment/network can be a bit dodgy.  We have users getting kicked out of their TS sessions.  

What I would like to do is have the users who are booted from their TS sessions, reestablish their old session on the TS server which they were on previously.  This would allow them to go right back into the application and finish what they were working on.  

Is there a way to do this?

Miles

Server 2016 TP5 in RDS 2012r2 env.?

$
0
0

Hello. 

We have RDS 2012r2 enviroment with profile disks, and i was wondering, can we then create a new collection for one 2016 Technical Preview 5 server (RD Session host)? This is for testing purposes only.

Is there anything that i should be aware of? Like RDS Licensing (CAL) or something else?

We have only one enviroment and no lab where we can test things like this, so i dont want to mess up something..

/Kind regards,
Kenan

Increasing 2012 R2 RDP session limit

$
0
0

Hello,

I'm looking for the simplest method to point 6 2012 R2 servers to a licensing host without setting up a full TS environment.  This is to allow more RDP sessions on these servers for developers.  I've looked into setting up the licensing server and adding the settings via GPO but didn't know if there was any more to it for 2012 r2.


Replace 2003 Terminal Server with 2012 RDS and keep same name, Can I rename after installing 2012 RDS?

$
0
0
I want to replace a production 2003 File Server that also has 15 Terminal Thin clients, with a 2012 RDS server.
And I need to keep the same name so that hundreds of devices and shortcuts still function afterwards.
This server has 139 printers and is active nearly 24-7, so I don't want to mess up.

My original plan was to create a new 2012 Server with a temporary name, and rename it after getting RDS to work and moving the files.
But after seeing how much more complex the new RDS setup is than the old Terminal Server, I'm thinking that is not going to be a smooth transition...?
So can anyone recommend a better way to do this, or am I on the correct path?

RDS 2012R2 - Can't publish applications

$
0
0

Published applications which are simple exe's (non MS installed apps) for unknown reasons now display the following error during the Publishing Wizard:

Failed: Could not create published application instance on the server <Collection broker name>

We have two RDCBs in HA

Rebooted both CBs and both the collect RDSHs, didn't resolve.

Calculator publishes fine and it's parameters can be amended - I've followed this thread to and re configured the all certs.

Publishing to a different collection is also fine and without error.

What can I check about the Collection?  It has been renamed.....

Thanks

Lea

Scriptt to check RDP on multiple servers

$
0
0
Hi Team, I'm looking for the powershall or VBS script which could help me to get the of RDP status periodically of windows server ( 2003, 2008 & 2012). Can someone please help me to get this asap. 

TS 2012 RDP with users computer pre-populated

$
0
0

I'm deploying a Server 2012 R2 RDS Collection and am looking to see if I can customize users profiles so when they login via RDS, they have the RDP icon published pre-loaded with their specific computer. Our users will not remember the name of their pc and this will generate tons of calls to the service desk. I'd like to have the mstsc.exe icon already with the name of their machine so they just click it and get logged on. Is there a way to do this on 2012?

Thanks,

-LG

RDS 2012: remoteapp locks

$
0
0

Hi,

How can I prevent a remoteapp on RDS 2012 to lock?
Tried allmost every setting I found but no setting works.
This is my GPO:

Please advise.
J.


Jan Hoedt

Start RDS 2012 session with specific user command line (powershell)

$
0
0

Hi,

I need to debug with different users on RDS 2012 farm. Therefore I need to start with different users all the time the session.
Tried to do this with Start-Process 'c:\windows\temp\rdpfile.rdp'. This works, so created different rdp files.

However, when I try to change the credentials, it changes the credentials of all the rdp files to that specific credential.
Note that there is a broker, so I need to change the rdp file a bit: http://microsoftplatform.blogspot.be/2012/04/rd-connection-broker-ha-and-rdp.html

Even tried to remove the credentials in order to get a popup but then even it doesn't give a popup!

Please advise (howto connect with different users and their credentials to a RDS 2012 farm).
J.


Jan Hoedt

User Assignment

$
0
0

Hi,

I have 5 different RemoteApp programs on my RD collection. one of them is assigned to all users and the others are assigned to different users. the issue is all my AD users can see and access the programs even if they are not assigned.

Could you please help me solving this issue.

Thank you

Elie


Move all RDS Services From Domain Controller to Virtual Machine in Windows Server 2012 r2 Environment

$
0
0

Hi Guys,

I am looking for any guideline as per subject line above.

Current Scenerio 

I have installed and Configured RDS and all its components on my Domain Controller running Windows Server 2012 r2. Everything runs ok, despite it is not recommended.

Current Issue

 1) Group Policy is not configured to secure Domain Controller

2) Leaves the DC Vunerable, as users can login and access resources directly on the Server

3) Might affect DC Performance when users access resources from it.

What I am trying to achieve

  •  To move all RDS and all its components to a Virtual Machine (Which is already prepared with Windows Server 2012 OS)
  • Isolate DC/AD and RDS Services

Questions

  • Can anyone give me a step by step guide to move current RDS and all its components from The DC (current host) to the new Virtual Machine (Hyper - V) running windows server 2012.
  • Good guide to create group policy to lock down users accessing the proposed RDS/Terminal Server

Otherwise - I will welcome other recommendations and option in solving my issues above.

Thank you guys.

IG

Update/Refresh remoteapps on clients

$
0
0

Hi,

Got two collections for RDS. One for remoteapp, one for desktop. When I change/add an app to the remoteapp Collection, the Remoteapp gets displayed the next day on my Clients after the scheduled task (update Connections) is run. This task takes sometimes up to 30 minutes to finish running. (Windows 10 Clients) The task default is run at 00:00. But when the Client starts the task scheduler recognizes it hasn't run, so it runs it for the logged on user.

I am looking for a way to trigger this update/refresh by GPO or something.

Anyone got an idea?


yours sincerly, Robin E. Turpijn Microsoft System Center Specialist @ Atea, Norge.

RemoteApp Two Factor Authentication

$
0
0

Hello,

I have a RD Gateway server setup running RemoteApp to serve an application. However, it has been requested that 2FA using soft tokens be setup to secure the system. This would need to be done on the Remote Desktop connection itself rather than through RDWeb as users could just reuse the same file. From looking at it there doesn't seem to be a solid solution built into the current version of RD Gateway; PAA seems like a possibility, and from the sounds of it something can be done by putting it behind ADFS and a WAP, but I haven't been able to get it working.

With that said, is there any way to secure a RemoteApp using a certificate presented by the client?

Thanks!

Basics of RD licensing count, windows server 2012, 10 unused licenses, 13 issued to Built-In Overused?

$
0
0

I have a server that showed these counts in the RD Licensing Manager list (ignoring windows 2000 entry):

Windows Server 2012 - Installed RDS per User CAL Program: Open Total Licenses: 5 Available: 0 Issued: 0 keypack id: 7

Windows Server 2012 - Installed RDS per User CAL Program: Open Total Licenses: 5 Available: 0 Issued: 0 keypack id: 4

Windows Server 2012 - Installed RDS per User CAL Program: Built-in Overused Total Licenses: 0 Available: 0 Issued 13

The firm that set this server up (long gone) probably bought ten licenses, is that how I interpret?

Does built in overused count 13 mean that the normal licenses are not being used, and up to 13 sort of temporary licenses have been issued? The license server and the rd host are both o windows 2012.

The site has at most 10-12 users active at any time. The other day a person could not log on;  I think there were ten listed users at the time; and after I logged off a disconnected user he was able to log on. I might guess that we need to buy some additional licenses...but, does server 2012 rd license server stop issuing licenses after it exceeds 10 in our case? I just want to make sure that is the reason he was able to log on after I dumped an inactive user.

I don't understand about the overused licenses and why the two sets of 5 don't seem to be used?


problem with participating 2nd RDSH server in my deployment in RDS 2012R2

$
0
0

Hello

in my test 2012R2 lab, i have deployed these servers:

VM1(2012R2)= DC + DNS (2012R2)

VM2 (2012R2) = RD session Host 1 (RDWeb + RDCB + RDSH installed)

vm3 (2012R2)

i haven't deployed any RD Licensing server in this test Lab.

all VMs are joined to domain

from server manager console in VM2, i added a 3rd server (VM3) in the server pool and added it as 2nd RDSH server, so system automatically installed solely the RDSH role service on it.

now 2 problem:

problem1:

in RDS 2008, RD connection broker duty was redirecting disconnected RDP clients to the previous RDSH server when we have multiple RDSH servers.

from a windows 8.1 client, i establish a full desktop RDP to RDSH1 (10.1.1.2) and open a notepad and then i close the windows (disconnect the session) and again run mstsc and this type i connect to RDSH2 (10.1.1.3), but RD connection broker doesn't operate its duty and i am not redirected back to RDSH1 which is was connected to. 

i have done this in RDS 2008 R2 and there it worked perfectly

problem 2: although i have deployed 2 RD session host server, but

  • in previously created session collection, in load balancing node, i don't see my 2nd RDSH server.
  • when in RDSH1 , i create a new session collection, system doesn't show me RDSH1 and only shows RDSH 2

have a missed any step in the entire configuration?

should i manually add RDSH 2 in any group on RDSH 1 machine ? or any other configurations?

thanks in advanced



Viewing all 27656 articles
Browse latest View live


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