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

RDPing From A Server with Multiple IP Addresses

$
0
0

Hi all,

We have a 2012 R2 server which, until recently, had only 1 ip address. This server was used by us to rdp to various other servers. The ip address of the server was put into the allowed scope on the firewalls of all the detsination servers. 

Recently someone added a second ip address to the server. It seems that when you try and rdp to another server the connection is being made from the new ip address. Since this is new ip address is not included in any of the allowed scope firewall rules, the rdp connection fails.

Is there a way i can specify which ip address to use when initating an outbound RDP connection to another server?

Thanks


Server 2012 R2 Remote Desktop Services Connection Broker disappeared

$
0
0

We installed and configured Remote Desktop Services on a server a little over a year ago and it has been working great. We have several remote apps deployed and haven't had many issues. The self signed certificate we were using expired and when I went to renew and apply it I found that I can't access Remote Desktop Services on the server any more. All services are running, however in Server Manager when I select Remote Desktop Services Overview it says:

"A Remote Desktop Services deployment does not exist in the server pool.
To crate a deployment, run the Add Roles and Features Wizard and select the Remote Desktop Services installation option."

If I select the Servers section it does show the server that we are using listed with all services running, etc. If I select to remove roles, it shows that the Remote Desktop Services roles are all installed.

If I go to add roles and features and select Remote Desktop Services I get an error: "Could not retrieve the deployment information from the RD Connection Broker Server RDServerName.domain.

I have searched all over and have been unable to find anything on this or similar issues that has helped. I'm really hoping to get this resolved today for the client.


Michael Kanet ITernal Networks

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

Server 2012 R2 - RDS - "A remote desktop services deployment does not exist"

$
0
0
I've got Remote Desktop Services running in a Server 2012 R2 environment. 
There's these server/roles;
                            
RDSPRD00.cafenet.com - {RDS-RD-SERVER, RDS-CONNECTION-BROKER, RDS-WEB-ACCESS}
RDSPrd01.cafenet.com - {RDS-RD-SERVER, RDS-CONNECTION-BROKER, RDS-WEB-ACCESS}
RDSPrd02.cafenet.com - {RDS-RD-SERVER, RDS-CONNECTION-BROKER, RDS-WEB-ACCESS}

HQ-DC2012r2-1.cafenet.com- {RDS-LICENSING}

Problem is if I remote into RDSPrd01 or RDSPrd02 using mstsc /admin and then local powershell try to run anything like "Get-RDLicenseConfiguration" or "RDRemoteApp" or anything with "Set-RDSessionCollectionConfiguration", I'll get the following error:

[quote]Get-RDRemoteApp : A Remote Desktop Services deployment does not exist on RDSPrd01.cafenet.com. This operation can be
performed after creating a deployment. For information about creating a deployment, run "Get-Help
New-RDVirtualDesktopDeployment" or "Get-Help New-RDSessionDeployment".
At line:1 char:1
+ Get-RDRemoteApp
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RDRemoteApp[/quote]

I can run the commands fine on RDSPRD00 so I'm not sure what the deal is.

Online advice elsewhere has advised to run Powershell as Admin, which I am, or verify no "PendfingFileRenameOperations" are in the registry, and they aren't. I've also tried rebooting the servers, but run into the same issue. 

Applications are installed on these servers that are launchable. We have a remoteapps.cafenet.com website setup where we login to and then launch an application which could be round-robin'd from one of the RDSPRD servers.

How to change default *.rdp file port number, when accessing using Web Access from an RDS installed Win 2012 R2 Server?

$
0
0

Env: 

- Win 2012 R2, with RDS Role added, and Web Access enabled.

- Checked "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber". Port number is already new (not 3389).

Problem: When accessing RmoteApp via Web Access, the downloaded *.rdp file (eg., cpub-javaws-Session-CmsRdsh.rdp) contains the default port # as 3389: "server port:i:3389"

How to change the downloaded *.rdp file's port number?

Where is the Remote Desktop Session Host Configuration tool in Server 2012 ?

$
0
0

Where is the Remote Desktop Session Host Configuration tool in Server 2012 ?

This is an MMC snap-in found on earlier servers, even if RDS is not installed.  In Server 2012, even if the Remote Desktop Session Host role is installed, this tool is still not available.

I'm looking for the Server 2012 tool to adjust security settings like TLS authentication, High encryption level, choice of TLS certificate, NLA, etc.

Thanks!

Problem Installing RD Session host Role Service on single 2012 Foundation as a DC

$
0
0

Hi,

After looking at other threads, I couldn't find an direct answer to this problem.

For a very SMB client (max 5 RDP sessions, first and only server) I'm trying to install a single box running  WS2012 Foundation  (single DC) as recommended in this KB article (http://support.microsoft.com/kb/2833839) and I'm stuck in step 8 while trying to configure the Remote Desktop Session Host role with to use the localRemote Desktop Licensing server.

The Powershell command fails with the following errors:

PS C:\Users\Administrateur> $obj.SetSpecifiedLicenseServerList("LicServer")
Exception lors de l'appel de « SetSpecifiedLicenseServerList » : «  »
Au caractère Ligne:1 : 1
+ $obj.SetSpecifiedLicenseServerList("LicServer")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WMIMethodException

Thanks for any help

Jeff

Allow non-administrator user access to shadow RDS users

$
0
0

Hi, is there a way to give an AD group permissions to shadow users on Windows Server 2012 R2 - desktop collection?

Thank you 



command to show total sessions

$
0
0

Hi,

I think this may be a very simple question, but I want to be able to show the total amount of connections to a gateway server via a command line.

I have a powershell script that gives me a server health report and outputs it to a HTML file for our customer to view, but he wants to know how many connection are active too. Is there a powershell command for that? 

Thanks

Carl

This computer can't connect to the remote computer

$
0
0

Recently, I switched from AT&T to TWC Road Runner for my ISP. When I had AT&T my remote desktop worked fine and I was able to remote into work. since I got Road Runner, I can VPN into the network,but when I get to Remote Desktop it gives me "This computer can't connect to the remote computer. Try connecting again If this promblem continues please contact....... The IP Addresss that the router is "getting assigned" is the same as a computer on my network. This that the problem? Since I have tried disconnecting the router, release and renewing....I don't know what else to do. Can any one offer any experience on this matter. Thank You

RDP screen goes black after successful remote login

$
0
0

I have a Windows 2008 Server that I have been connecting to once a month remotely to apply OS updates.  Often, I reboot that server and it uses auto-logon to login and run an application. 

Today, I rebooted the server and when I try to connect with RDP, I get the login prompt and enter my credentials, I see a few expected messages fly by on the host OS (the last one I see is the word Welcome), but then the screen goes black.

The apps on the server are running successfully because our applications can connect to them, we just can't logon to the desktop of the Windows Server 2008.

I made no configuration changes (I NEVER do) other than to apply the latest Windows Server updates.

I would prefer not to drive to the computers location, or try to coordinate a time to have the server hosting company assist me with troubleshooting; but is there anything else I can do?  Any ideas about what might cause this?

Event 4005 - WinLogin [Windows logon process has unexpectedly terminated]

$
0
0

Folks,

Just noticed this becoming an issue on a Windows 2012 R2 Terminal Server after the last round of Patch Tuesday updates stemming from August 9th, 2016.

Typically, I'm rebooting the server every 24 hours to over-correct the issue - rebooting not being the best option here.  

In previous discussions, it's advised to remove KB3002657 or KB3035132 from the server.  Is this still the best option to restore full functionality even with the last round of patches and updates? Just to confirm, we are not using webroot as an AV solution. 

RD Web + Gateway Server after successful login - cannot contact revocation list for Session Host

$
0
0

Hi there,

i recently set up a server in our DMZ with RD Web and RD Gateway role on it.

The RD Web should use the RD Gateway to authenticate which works fine. But after the user tries to connect to a "full desktop session". He gets the warning"revocation check could not be performed for the certificate."

There are some sites out there recommending to not perform the check. But my CRL is on a HTTP server and i let the gateway Server access this address and also opened a port for the ldap query to the internal CA (these are the 2 CRL points).

I can see that the gateway server is not checking any of these or is this a task performed by the client? We want to allow external clients so "importing CAs" is not the solution.

Best regards

Stephan


Regards Stephan

OneDrive / Sharepoint Blog

On-Screen Keyboard

$
0
0

Hi,

We are running several RDS 2012R2 servers and some users need to use the on-screen keyboard.
I've created a tile linked to OSK.exe and they can also use the search field on the right-hand side to type and search for OSK.

On all servers users will get the error: On-screen Keyboard does not work any more / Cannot start on-screen keyboard

When an administrator starts the osk it works fine.

How can we make sure users can use the OSK?

Manage RDS Farm without admin rights

$
0
0

Hi all,

I've wrote a powershell script for my devs. With this script, they can logout all users using their application and after execute the patching of the applications.

The problem is that my devs don't have admin rights. They are simple user.

In my script, I use the Get-RDUserSession, Send-RDUserMessage, Invoke-RDUserLogoff, but without admin rights .... it's bullshit.

How can i delegate the right to use this cmdlet to use the script ?

I've found this topic with the same problem but no solution : https://social.technet.microsoft.com/Forums/office/en-US/ada13337-0917-4423-9373-08f85abddb23/nonadmin-users-are-unable-to-manage-rds-2012-r2-sessions?forum=winserverTS

My farm is in 2012r2, 10 RDSH, 2 HA Broker, all roles are splitted on differents virtual server.

Thank you !


RemoteApp and Desktop Connections issue

$
0
0

Hello.

I try to setup new RemoteApp and Desktop Connection silently by command from c#. I use next code for setup connection:

var processStartInfo = new ProcessStartInfo
                                       {
                                           FileName = "cmd.exe",
                                           Verb = "runas",
                                           Arguments = "/C rundll32.exe tsworkspace,WorkspaceSilentSetup RemoteAppConfig.wcx",
                                           UseShellExecute = false,
                                           WindowStyle = ProcessWindowStyle.Hidden
                                       };

Process.Start(processStartInfo);

It works correctly(connection created) only if I launch application in debug mode. But if I install my application by msi, connection won't created. And I see next error in Event Viewer: "An error occurred. Contact your workplace administrator for assistance."

Could you help me please?

RD Gateway Manager Crashing adding a RAP

$
0
0

I've set up a HA Connection Broker cluster, and in order to get the web gateway working again, I need to set up a new RAP policy that specifies the RD Broker RR Address, but every time I try, when I click 'Add' in 'User Groups' (And anywhere else in the MMC, it seems), the MMC crashes with the following output:

Problem signature:
  Problem Event Name:    BEX64
  Application Name:    mmc.exe
  Application Version:    6.3.9600.17415
  Application Timestamp:    54504e26
  Fault Module Name:    clr.dll
  Fault Module Version:    4.6.1055.0
  Fault Module Timestamp:    563c12de
  Exception Offset:    00000000002fdbd8
  Exception Code:    c0000409
  Exception Data:    0000000000000002
  OS Version:    6.3.9600.2.0.0.400.8
  Locale ID:    1033
  Additional Information 1:    96f9
  Additional Information 2:    96f9c5010a52aa0dfa6dd4f9281ffe93
  Additional Information 3:    7b9b
  Additional Information 4:    7b9b3ea08d2dac897bb696ccf51055a9

As far as I can tell from searching, it seems to be .NET that's crashing, but I haven't found any solutions.All three servers (Web Gateway and both Connection Brokers) are fully patched.

has anyone else sen this and/or have any ideas how to either fix it or maybe some kind of workaround?


TCP Socket RST on the port TCP Port 3389

$
0
0

We are making the RDP Connection using TCP Tunneling on the port 3389 in C#.  But the TCP Socket is disconnecting in 50 seconds. 

4145    213.992742000   source(my pc)   destination (remote server) TPKT    71  Continuation
4146    213.998031000   source(my pc)   destination (remote server) TPKT    981 [TCP Retransmission] Continuation
4167    219.778181000   source(my pc)   destination (remote server) TPKT    85  Continuation
4191    224.575355000   source(my pc)   destination (remote server) TPKT    1354    [TCP Retransmission] Continuation
4246    238.663506000   source(my pc)   destination (remote server) TCP 54  49322 > ms-wbt-server [RST, ACK] Seq=173138 Ack=27613 Win=0 Len=0

In addition to that, I have gone through following the solutions provided. But it not worked for me.

RDP connections might fail due to a problem with KB2621440 – MS12-020:

Actually i have tried  this patch in the windows 7. But it already deployed in the machine.

Socket.Disconnect Method (Boolean): 

We are not disconnecting socket through code Explicitly. But the socket connection to the end machine (on the port 3389) is disconnecting internally after couple seconds. We have monitor this one using the wireshark. Eventhough, we have send the Keepalive packet in every 10 seconds, but its disconnecting the Socket after the 50 seconds. Due to this we are not able to send the datapacket to the end machine socket which is received from the  Tunneling.


Please help me to resolve the issue.

I have the gone the RD Gateway manager and Remote desktop services. Since I am testing the feature the in the corporate the network, I don't how to setup the RD Gateway Manager in the Windows 7 Machine. 

Please forgive me for grammatically mistakes

Thanks

Thangamani

Limiting client resolution and color depth with a signle monitor on Win2012 RDS host

$
0
0

Hi,

I am looking for a way to limit resolution and color depth on a RDP session to RD Session Host, in case that only one (single) monitor is allowed for client session.

Due to some old (from 2012) articles, it seems that, if only one monitor is allowed on a remote session, setting limit on resolution and color depth is meaningless. 

Anyway, what I want is following: on Win2012 R2 RDS host, limit remote session to be of max 1280x768 on a single monitor, for every client. I want that to be restricted on RDS host, not be dependent on any client-based configuration. 

Any help would be appreciated

Milan

Let Domain User Manage RemoteApp connection

$
0
0

Hello, 

I have a client who needs to disconnect/log out domain users from the Server. We are using the RemoteApp on our Windows Server 2012 R2. This server is only meant for the RemoteApp. I need to give her permission to only let her manage the remote connection. I had searched the internet but i don't get my answer. 

Any chance of doing it? Please let me know. 

Thanks.

Viewing all 1106 articles
Browse latest View live