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

Event ID 1067, event id 1009, event id 4105, event id 1061

0
0

I have 1 Dedicated DC, I have 3 Terminal Servers that are part of that DC. I only have the problem with the 1 TS.

I keep having these errors and I cannot find a fix. I've read articles but it's not helping. I really need help.

1067

The terminal server cannot register 'TERMSRV' Service Principal Name to be used for server authentication. The following error occured: The specified domain either does not exist or could not be contacted.

1009

Error starting the Remote App and Desktop Management Service.

Error Code: 0x800706FD

4105

The Remote Desktop license server cannot update the license attributes for user "hkarovic" in the Active Directory Domain "wvchangeinc.org". Ensure that the computer account for the license server is a member of Terminal Server License Servers group in Active Directory domain "wvchangeinc.org".

If the license server is installed on a domain controller, the Network Service account also needs to be a member of the Terminal Server License Servers group.

If the license server is installed on a domain controller, after you have added the appropriate accounts to the Terminal Server License Servers group, you must restart the Remote Desktop Licensing service to track or report the usage of RDS Per User CALs.

Win32 error code: 0x8007054b



Removing TS Sever From Domain And Readding

0
0

If I remove my terminal server from the domain, and then re add it, will it
cause problems, or create new user profiles for the ones that are already
created?

RDS Gateway Issues (server 2012 R2)

0
0

We recently deployed an RDS environment with a Gateway. The RDWeb and Gateway certificates are set up and done correctly as far as we can see. Access is only being restricted to users in our domain.

We are seeing this generic error on Windows when trying to connect:

Remote Desktop can't connect to the remote computer...for one of these reasons:

1) Your user account is not authorized to access the RD Gateway

2) Your computer is not authorized to access the RG Gateway

3) You are using an incompatible authentication method

On Mac and iOS clients we see an error stating the access was denied due to a Connection Access Policy (TS_CAP).


Our only workaround (which is probably not acceptable in production) is to set the Network Policy Server Connection request policy to accept users without validating credentials (underForwarding Connection Request).


In Server Manager the error states:


The user "XXX", on client computer "xxx.xxx.xxx.xxx", did not meet connection authorization policy requirements and was therefore not authorized to access the RD Gateway server. The authentication method used was: "NTLM" and connection protocol used: "HTTP". The following error occurred: "23003".

Anyone have any ideas? We are at a complete loss.





Windows 2012 RDS - Session Host servers High Availability

0
0

Hello Windows/Terminal server Champs,

I am new middle of implementing RDS environment for one of my customer, Hope you could help me out.

My customer has asked for HA for RDS session host where applications are published, and i have prepared below plan for server point of view.

 2 Session Host server, 1 webaccess, 1 License/connection Broker & 1 Gateway (DMZ).

 In first Phase, we are planning to target internal user who connect to Session host HA where these 2 servers will have application installed and internal user will use RDP to access these application.

In second Phase we will be dealing with external Party who connect from external network where we are planning to integrate with NetIQ => gateway => Webaccess/Session host

 I have successfully installed and configured 2 Session Host, 1 license/Broker. 1 webAccess & 1 Gateway. But my main concern to have session Host High Available as it is hosting the application and most of the internal user going to use it. to configure it i am following http://technet.microsoft.com/en-us/library/cc753891.aspx  

However most of the Architecture is change in RDS 2012. can you please help me out to setup the Session Host HA.

Note: we can have only 1 Connection broker /Licensing server , 1 webacess server & 1 Gateway server, we cannot increase more server due to cost factor.

 thanks in advance.


Deployed printers wont stay set as default

0
0

Using RDS 2012 R2 server, we are deploying 4 or so printers via group policy.

When a user sets them to default printer and logs off, when they log back on the default has changed to another non mapped printer (local printer).

Do not set default client printer to be default printer in a session is enabled in GPO.

Tested the same outcome on a 2008 r2 non rds server as well.

VirtualChannelWrite is hanging on RDS 8.1 clients

0
0

Our custom audio channel implementation (using WTS / RDS  Virtual Channel API) does not work  when connecting from Windows 8.1 to Windows Server 2012 R2. The call to pVirtualChannelWrite() never returns in that environment.
 
All other combinations (Windows 7, Windows 8, Windows Server 2008, Windows Server 2012) are working.
 
The pVirtualChannelWrite() function and the VirtualChannelOpenEvent() function are called in two different threads. The call to pVirtualChannelWrite() is hanging as soon as we get a VirtualChannelOpenEvent() when the data we receive is larger than e.g. 400 byte.
 
We recognized the following difference to previous clients or Protocols:
 
- With RDP 8.1 the VirtualChannelEntry() and VirtualChannelInitEventProc() function with CHANNEL_EVENT_CONNECTED are called from two different threads at the beginning. With RDP 7.1 only one thread is used for this functions which is used for for following processes too.
 
- With RDP 8.1 our data package from the Server is split up into 2 packages although it is below the maximum of 1600 defined by CHANNEL_CHUNK_LENGTH. With RDP 7.1 it is received in one part.
 
Maybe related: We could not test this behaviour on Windows 7 because the RDP 8.1 Update for Windows 7 was removed few days after Release.
 
Thank you for any help you can provide.

 

SQL using _17 Gb RAM_ on 2012 r2 term server!!!!

0
0
The installation of the sql components was governed by the install process of 64 bit server2012r2 which was default onto a dual xeon asus mobo with 32 Gb of RAM. OOB had 17 Gb of RAM dedicated to sql but there is no other sql server installed. I have 32 Gb RAM but isn't there a way to limit the use of the ram by the sql component of the server os?

-m-

Problem with RDP clients not reconnecting to same session

0
0
We have a Windows 2008 R2 server configured as a session host. We have anywhere up to 40 remote users that might connect concurrently. A few times during the day, we'll get calls from users that had a connection drop abruptly, but when they reconnect, they don't get their previous session back. They end up with two sessions on the server, but they cannot start up the main application because there can only be one instance, and it's running in the previous RDP session. We have to manually kill the old session, and then they are able to start the application up. Does anyone have an idea as to what I might try? Thanks

Remote Destop Background turned Off in Windows Server 2012

0
0

We have installed Windows Server 2012. We are not able to get the desired themes / desktop for Remote Desktops / thin cleints and getting messages - Desktop Background turned off .

We request you to kindly guide us to enable and use this features on Remote Desktop

RDS cannot contact License server

0
0

Win2008 R2 Remote Desktop server

Win2008 R2 Licensing server

 The licensing server is active in the domain, and under RD Session Host Config on the RDS, it appears and I can choose it, but I get an error that it cannot be contacted.

 If I choose it anyway and then run ‘Licensing Diagnosis’, I get all kinds of errors about how it cannot be contacted.

 The RDS can ping the License server.  Both servers are in the same domain.

 The scope of the License server is Forest and I have added the License server into the TSLS group in all domains.

 I also delegated authority in each domain for the TSLS group to have read/write to the terminalserver attribute.

 What am I missing?

 Thanks

Two MSTSCs and one WKSPRT, oh de doo dah day!

0
0

Hi,

I am implementing an enterprise SSO kiosk solution where we need to track the launch AND termination of an RDP session so if the session times out the workstation locks. Sounds simple? Not anymore.

We're using RDS 2012 R2 and the current Remote Desktop for Win7 (8.0), and it does some really bizarre process chaining to the point where it is just, well, unpredictable.

Using procmon we can see consistently that the workflow when launching the RDP file which connect to an RDS broker is as follows:

  1. mstsc.exe launches
  2. wksprt.exe (RemoteApp and Desktop Connection runtime) starts
  3. A new mstsc.exe process starts up.
  4. The original mstsc.exe then exits (sometimes!)
  5. wksprt.exe continues running.
  6. User disconnects or RDS session times out
  7. wksprt.exe terminates the mstsc.exe process it started OR
  8. the original one terminates
  9. About 7 seconds later, if either mstsc.exe session is still running, it terminates

The problem with this is it makes it nigh on impossible to properly monitor the user logon/logout workflow in any consistent way! We don't know from one iteration to the next, what it's going to do.

If we track the first MSTSC process only, we correctly detect the user logon AND the session disconnect from the client side, but only if that first instance is the one that presents the connection dialog. Every now and again the second MSTSC process is the one that presents the UI, not the first one, so step 4 leads us to think the user's RDP session has terminated when it's actually only just starting up.

And my particular favourite... every now and then, one MSTSC.EXE instance dies when the user disconnects but the other one sticks around for 7-8 seconds so if you place a dependency on the "logout detection" on BOTH instances disappearing there's an 8 second window where the PC is sat unlocked and anyone can break into the thin client desktop.

And of course, wksprt.exe doesn't die unless you kill it manually.

Window focus tracking works partially, but we don't want to end up having to do weird stuff like mitigating a user pressing CTRL-ALT-DEL and breaking out to the local desktop by booting them out of their RDS session.

Does anyone have any ideas on how best to tackle this?


Tim Staddon

Remote Desktop drops wireless connection (802.1x) when logging on as a different user

0
0

Hi,

I have recently populated our estate with new wireless access points. Our wireless client connect to our RADIUS server and use certificate and domain authentication.

I have come up with an issue I can't seem to get around at the moment.

It seems when a user RDPs to a computer that is logged on as a different user the wireless connection terminates and stays in a disconnected state until either reboot or the original user is logged back on.

For example: User A remote desktops to a machine the is logged into by User B, user A enters his credentials and gets the prompt that "another user is logged in. If you continue the current user will be disconnected. Do you want to continue." If User A hits yes the RDP session will hang as the wireless connection has dropped. On the remote machine the prompt will appear that remote user A is about to connect and when the timer reaches zero the lock screen will appear and the wireless will be in a disconnected state.
If User A then logs on locally onto the machine the wireless will fail to connect, but if User A logs off that machine and logs back in as User B the wireless is reconnected.

Has anyone else seen this issue and is there a work around?

Thanks

Si

Load Balancing 2012 R2 Session Host Collection with External Network Load Balancer

0
0

Hi,

We are moving from a 2008 R2 Remote Desktop session host deployment to 2012 R2. Previously, we used our Kemp hardware load balancer to distribute load between RDSH servers. We had a connection broker deployed so that if an existing disconnected session was detected during the initial connection, the user was directed back to that session.  

In 2012 R2, we planned to again used the Kemp load balancer to main high availability for our RDSH collection, but are experiencing strange issues. It seems that the RD Connection Broker is also performing load balancing--the result being that initial connections to the RDSH collection may go to one RDSH server with the least connections through the Kemp, but then be redirected to a different RDSH server by the broker, even when there is no existing session for the user on that second server.

Our question is: Should we not be using the Kemp balancer at all (how would this work)? Or should we disable load balancing by the connection broker (if so...how)?

Further complicating our redirection issue with that the RDSH servers have multiple interfaces--one with public addresses and others with private. The connection broker seems to abritrarily pick among the destination RDSH server's available IP addresses for the redirection and trying to redirect to a private address will fail. We think we have worked around this by connecting to each RDSH server from a 2008 R2 server's RDSH Configuration console and choosing just the public adapter under the Network Adapters tab--is there no way to access this setting in 2012 R2?

Thanks in advance!   

 


Matthew

How to set default logon domain RD Gateway and/or RD Web

0
0
I'm using Win2k8 R2 servers with WinXP clients.  When I logon to the RD Web page, and again to RD Gateway, I -have- to enter domain\username to authenticate.  Anyone know how I can set the default logon domain?  My users don't even know how to spell their username most of the time, let alone what domain they're in, and I only have one domain. 

Thanks
Mark

scaling remote desktop display to larger size ("pixel doubling") ?

0
0

I'm displaying the console of various remote hosts using Remote Desktop on my 2560x1600 display, and they come out very small. I would like to enlarge the RDP windows and have the remote displays' pixels increased in size accordingly. Is this possible?

I initially thought RDP smart sizing would take care of this but it seems this feature only supports making pixels smaller (scaling down, not up).

Note that I want any configuration changes to be done to my local machine only. Changing text size, DPI, or any other desktop related setting on remote hosts is undesired as they are correctly setup when used in other contexts.

Thanks
Mike


User account password expired

0
0
Everytime I try to install updates or downloads.I amtaken to the user account that says my password has expired, I have tried everywhere to try and reset. Best so far is to reinstall windows 8. Are there any other options?

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?

ICMPtimeStamp command

0
0

Dears

 

We have executed ICMPtimeStamp command “netsh firewall set icmpsetting 13 disable” on windows server 2008 and 2012 for disabling ping and have enabled windows firewall setting on same servers.

After performing above steps, we are unable to get remote session of targeted system.

 

Q. Kindly confirm either remote session is related with this command? If yes, what is the procedure in order to enabling remote session only?

regards

Latency problem with RDP virtual channels on Windows 8/2012

0
0

Hello,

I'm seeing a problem with virtual channels when connecting to Windows 8 or Server 2012 over RDP, which does not happen with Windows 7 or older systems.

I'm using a request-reply type of protocol, where the server component sends a request to the client over virtual channel and client answers with the data. When RDP'ing into Windows 8, I get a very high turnaround time (16-18 milliseconds). There is no such problem when RDPing into Windows 7 or XP (turnaround time is less than 1ms). There are also no other problems with this RDP connection - it works good and fast, except virtual channel.

I can easily reproduce the problem with the test application and client dll that I've created. The program opens a virtual channel and sends 100 bytes of data. When dll receives CHANNEL_EVENT_DATA_RECEIVED notification, it replies with another 100 bytes of data. Basically it's just a simple ping.

What I've tried/checked already:

  1. Tried different Remote Desktop Client versions - same thing.
  2. Checked ping time between client and server machines, which turned out to be less than 1 ms (it is a Gigabit Ethernet connection).
  3. Tried with Dynamic Virtual Channels - same result.
  4. Tried reading/writing virtual channel with ReadFile/WriteFile through the handle returned by WTSQueryVirtualChannel() instead of WTSVirtualChannelRead/WTSVirtualChannelWrite - same result.
  5. Disabled checksum offloading in network adapter properties - same result.
  6. Tried different virtual channel priorities - same result.
  7. Tried with different amounts of data up to CHANNEL_CHUNK_LENGTH - same result.
  8. Disabled encryption (to the degree allowed by RDP settings) and compression.
  9. Played with other RDP options in Group Policy, which on my mind could affect the problem - nothing helped.

One other interesting thing I found with Wireshark when I tried to check if it was a TCP problem. I can see that the data goes to client only after 8-9 milliseconds after the call to WTSVirtualChannelWrite. The client's reply is received almost immediately (!!!), but WTSVirtualChannelRead call in my application completes only after another 8-9 milliseconds. Thus, resulting in a 16-18 milliseconds turnaround time.

Any ideas why this could happen?

Remote Desktop "Bypass RD gateway server for local addresses" no longer working in Windows 8

0
0

Hi,

After installing windows 8, it seems like the "Bypass RD gateway server for local addresses" is no longer working.

In Windows 7, when the option is checked, I could have the server name set always and the client will automatically detect whether to use the RD gateway or not. For example, from my house, if I am connecting to a computer at my work, which requires the RD gateway, it will automatically pops up the dialog for authentication method. However, if I connect to a computer in my home network, it will just automatically connects without asking authentication for the RD gateway.

However, after installing windows 8, this does not seem to work as expected anymore. The option is checked but the Windows Security dialog pops up in both situations and so i have to either save the rdp file locally and pin it to the taskbar or switch between disabling and enabling the RD gateway whenever I need to connect to different machines.

Is this a regression in Windows 8? Is anyone else experiencing the same issue?

Thanks

Viewing all 27765 articles
Browse latest View live




Latest Images