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

Windows Server 2012 R2 - lost RD "Installed RDS Per Device CAL" licenses.

$
0
0

Greetings.

I work in an industrial facility, where we have several devices connected via RDS to a VM running Server 2012 R2. 

This Monday (7/30/2018) a technician had to cycle power on one of the devices (a thin client) and when it rebooted it would not reconnect as normal.  This failure stopped production for nearly three shifts - which is pretty significant.

The Event Log entry said "RDP: No valid license available".  I logged on to the server and found that ALL of the licenses in the "Installed RDS Per Device CAL" group were gone - the group was empty - and that all the devices were now showing up in the "Temporary RDS Per Device CAL" group.  All the devices licensing in the temporary group were also expired.

After working with MS clearinghouse folks, I was able to figure out how to deactivate and reactivate the license server - and install new licensing - but I am now obligated to tell my management how we can prevent this from happening again.

So, my problem statement is something like: "At some point in early April (or late March", we 'lost' the retail purchase "Installed RDS Per Device CAL" licenses - and so, all the devices switch to temporary licenses.  When those temporary licenses expired, we were vulnerable to losing connection - should power be cycled on one of the devices.  We did, eventually cycle power on one of the devices - which shut the system down.

So, I am reaching out to Microsoft to help determine why the licenses just "disappeared".

Thank you!!!!



Remote desktop 2012 R2 servers hangs in login periodically after applying Update KB4088876

$
0
0

Hi Forum

The last days we are experiences some issues on Server 2012 R2 with rds

The server stops responding on logon (Welkome screen), I get the following events in the event log:

A timeout (120000 milliseconds) was reached while waiting for a transaction response from the following services:

iphlpsvc
ShellHWDetection
NlaSvc
Appinfo
Schedule

It Seems that the issue are appearing after we installed KB4088876

I have seen the issue on two servers until now, one on hyper-V host og one on VMware

Does everybody experience the same issue ?

The only solution is to reset the server (Virtuel)

Thanks in advance

Bjarne Hansen

MS Partner Denmark




RDS 2016 - HTML5 Client certificate error

$
0
0

Hi,

Ive recently deployed the HTML5 Web Client, at an existing RDS 2016 setup, using this guide:

https://custominterfacesolutions.com/html5-web-client-microsoft-remote-desktop-services-2016-steps-install-rd-web-client/

The setup contains 1 x RDWeb server, 2 x RDGW and 2 x Connection brokers.

A single public trusted wildcard certificate is used, for the entire RDS setup, containing the domain name, that the servers is belonging to.

Im able to login to the Web Client, and see all the published applications, that is available.

But when trying to connect, i then get an certificate error, containing the name of the Remote Desktop Session host...

Ive managed to find the certificate at the Session Host, containing the same thumbprint as the one on the picture.

Added the certificate to the trusted root cert auth, across all the frontend RDS servers (Web,GW,CB) - but that didnt help.

What seems to be the problem, since i cant find any solution to this error?

I keep getting errors

$
0
0

Greetings can someone lend some insight thanks 

Log Name:      Application
Source:        Microsoft-Windows-User Profiles Service
Date:          8/15/2018 4:02:34 PM
Event ID:      1530
Task Category: None
Level:         Warning
Keywords:      
User:          SYSTEM
Computer:      User-PC
Description:
Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.  

 DETAIL - 
 15 user registry handles leaked from \Registry\User\S-1-5-21-4110290550-3471919552-1771245654-1000:
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\Disallowed
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\trust
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\Root
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\SmartCardRoot
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Policies\Microsoft\SystemCertificates
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Policies\Microsoft\SystemCertificates
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Policies\Microsoft\SystemCertificates
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Policies\Microsoft\SystemCertificates
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\My
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\TrustedPeople
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\CA

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />
    <EventID>1530</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2018-08-15T20:02:34.540882900Z" />
    <EventRecordID>30921</EventRecordID>
    <Correlation />
    <Execution ProcessID="1152" ThreadID="3832" />
    <Channel>Application</Channel>
    <Computer>User-PC</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData Name="EVENT_HIVE_LEAK">
    <Data Name="Detail">15 user registry handles leaked from \Registry\User\S-1-5-21-4110290550-3471919552-1771245654-1000:
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\Disallowed
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\trust
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\Root
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\SmartCardRoot
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Policies\Microsoft\SystemCertificates
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Policies\Microsoft\SystemCertificates
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Policies\Microsoft\SystemCertificates
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Policies\Microsoft\SystemCertificates
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\My
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\TrustedPeople
Process 112 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4110290550-3471919552-1771245654-1000\Software\Microsoft\SystemCertificates\CA
</Data>
  </EventData>
</Event>

Internal Error after configuring SSL encryption and CA server template.

$
0
0
I am unable to log into any system via RDP on my domain after I configured GPO to point at my CA for a specific certificate template. We are running Windows 2012R2 and Windows 10. We are trying to stop the use of self signed certificates.

During RD session, video-window, on remote desktop, interferes with the GUI events of the app that hosts the video...

$
0
0

There is a Windows PC which is running an application that displays video from a camera. The video updates at between 10 and 25 Hz. When I'm at that PC, the application is very responsive. If I remote-desktop to that same PC, then the application becomes extremely sluggish; scrolling over the app's menu-bar reveals that the app is not responding to mouse-events (while scrolling over the menu-bar of, say, Windows Explorer behaves normally). However, if (within the RD session) I reposition the remote application's window such that the embedded-video is off-screen, then the application starts responding to mouse-events normally.  Similarly, dragging another window (on remote PC) over the video-window also causes the app to run freely.

This behavior makes it impossible to use the video-application on the remote desktop.

Any help is appreciated. 

Unable to activate/move RDS Cal's

$
0
0

I'm trying to move my RDS call to a new server. If i try automatic or web activation it tells me my agreement number is incorrect.

When i'm trying to call Clearinghouse (The Netherlands) the call isn't answered. How can i reach the RDS activation desk?

RD session connections windows server 2016 - two computers couldn't connect in the amount of time allotted

$
0
0

we have RDS installed in Windows 2016 standard edition and use session-base desktop deployment.

It was working fine for about one year. About two weeks ago, we started to have the following issue:

This computer can't connect to the remote computer.
The two computers couldn't connect in the amount of time allotted. Try connecting again. If the problem continues, contact your network administrator or technical support. 

When this issue happens, we find some users are disconnected in the RDS-Collections-QuickSessionCollection. But we cannot log/sign off those users, they are always showing there.

BTW, we can sign of those users in the Task Manager-Users. 

We can solve this issue by restarting the server. How to fix it without restarting the server?

Thanks!


RDP randomly disconnects and you can not reconnect

$
0
0

Hello, I have this problem and I have no idea how to solve it. Windows server 2016 has been installed for several months. Now for about a month there is a problem that for no reason during work it disconnects the remote desktopsand you can initially connect again until the end of the day but the next day, you can no longer connect through the remote desktop and the only thing that will help is the server restart. What can be done with it, had someone such a problem that after disconnect and after some time you can not reconnected?

All users connect from outside to this server. It has license for 4 users (and exactly 4 users are connecting to this server). And all four users has the same problem. 

cal issue

$
0
0
I had two terminal servers that since Windows updates in March have stopped working correctly. Microsoft has been unable to help my issue. the OS on all servers in my network is 2012 r2, which includes my active directory server which is also my license server. I purchased Windows 2016 OS and wiped one of the terminal servers and reloaded it with the 2016 I then purchased 20 Windows 2016 user cals. The issue that I have is when I go onto the Windows 2012 r2 active directory server to load the user cal's on the Product Version and License Type screen, there is no drop down for Windows 2016, only 2012, 2008, 2003 and 2000. So how do I get the 2016 user cal's onto that server so that the 2016 terminal server will recognize them?

Remote Desktop Services user session Keyboard layout doesn't switch

$
0
0

So, with our recent migration to the Remote Desktop Services 2016 on Widows Server 2016 from our old Citrix farm we stumbled on some strange behavior of language switching in some user sessions.

Some users claim that they can't use Russian letters, so I make shadow connection to them sessions and see something like this:

EN keyboard

Usually, I press Ctrl+Shift - and then I see this:

RU-US

But then I try to type something - letters are still EN.

Until I click this small keyboard and select Russian:

RU-Russian

After this manipulation I can switch input languages as I please with Ctrl+Shift combo: just Ctrl+Shift - and I'm typing English, Ctrl+Shift again - and I'm typing Russian.

Please tell me how to avoid this mess? I don't know nor correct nor simple solution. But I need a solution both correct and simple, may be through GPO )) How to set this Russian layout checkbox automatically for each user, may be...



Remote Desktop Services access restriction via IP

$
0
0

Hi All,

I have a remote desktop deployment which consists of RD Connection Broker, RD Gateway, and RD Services or Terminal servers, all run on Windows Server 2012 R2

The deployment works well, access is granted via an AD groups

My question is if its possible to restrict access to these groups to the RDS deployment via an IP address or a range of IP addresses, NPS is installed on the Gateway but i don't seem to be able to get the right settings for this to work, are their any guidelines for this?

Thanks

Mic

The computer can't connect to the remote computer because the Terminal Services Gateway server is temporarily unavailable

$
0
0

I am also getting the same error 

The computer can't connect to the remote computer because the Terminal Services Gateway server is temporarily unavailable.

Recent Change Implemented: Renewed Wild Card Certificate

Issue: This issue occurs only when users are connecting from outside network but when they try to access RDS withing network it works flawlessly

Steps Followed So far;

1) Verified RDGateway Certificate and its expiry date

2) Verified Internet Explorer Settings - TLS1 , 2 and 3

3) Imported Server Certificate into the client machine's trusted root store

4) Verified Public facing domain and its resolution over internet

5) TSGateway  service Restarted 

6) Created/Edited a 32 bit DWORD value called RDGClientTransport in Client Machines registry at      Computer\HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\PublisherBypassList

7) IIS ->  Default Web Site -> RDWeb -> Pages -> Application settings -> Defaults TS Gateway (Verified URL) 

Please help

RDWeb - Password complexity error

$
0
0

I just configured RDWeb-access on the server by setting the PasswordChangeEnable as true (IIS -> Pages -> Application settings)

Page shows up, Users can login..all good.


The problem is, when they try to change their password, it says: 

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

No matter what password you put it, it would not take the password. I even tried something like A19G8fczAe!!W

** I have disabled password complexity in Group policy. ** still no hope.

BUT - when i go to AD and set the user to : Must change password at next login.

Then I go to RDWeb and try. It successfully changes the password..


So it only works when i set the user up to MUST CHANGE PASSWORD NEXT LOGIN..


is it how it should work?


Users want to change their passwords whenever they want..but it doesnt work.

am I missing something?




RDS 2016 gateway error event id 312 "The user "abc@xyz.com", on client computer "xx.xx.xx.xx:2985", has initiated an outbound connection. This connection may not be authenticated yet."

$
0
0

When try to connect from public network to RDS 2016 environment web page is loaded, but when try to connect on RDP clinet, it will ask for credentials and after that it will connect to remote machine. Error shows as " your computer can't connect to the remote computer because remote desktop gateway server is temporarily unavailable"

When checking on error log found that even id 312 on gateway server

The user "abc@xyz.com", on client computer "xx.xx.xx.xx:2985", has initiated an outbound connection. This connection may not be authenticated yet.

I tried the registry key fix recommended for 2012 server (HKLM\SYSTEM\CurrentControlSet\Control\Lsa) and (HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\TerminalServerGateway\Config\Core) but no joy. It did not work for 2016 server. Please help.



Terminal Services RDP in Server 2016

$
0
0

Hello,

I need to allow four users to work remotely by connecting from outside the organization to Server 2016.

Which role is needed to accomplish this, is it Remote Desktop Services or Remote access?

Thanks in Advance.

Windows 2016 Server RDWEB - Office 2016 RemoteApp (access via Windows 10 Pro)

$
0
0

I have a Remote Desktop Host Session setup using Windows 2016 Server and install Office 2016 Standard on to the server. I configured RDWEB on the server for client that are using Internet Explorer in Windows 10 Pro to access all RemoteApp advertised via RDWEB.

The issue is that when I launch any Office Application (e.g. Word, Excel, etc), the windows of the app is in maximize state but it is not in full screen where there is a small gap on top and left side of the windows. The windows looks a little bit off and I can see the status bar is behind the task bar of the client machine (screenshot - hxxps://1drv.ms/i/s!AkDMTDPrqMYAhagiH1G0hmXD-7V2sA).

Other RemoteApp such as Internet Explorer, Paint, and all other 3rd party application works fine and get a full screen without the gap when maximize the application window. The only issue is with all Office 2016 application.

Note that I have tried to fresh installed all the component (Windows 2016 Standard Server, Office 2016 Standard and Windows 10 Pro) to avoid any other probability.

The issue does appear if I'm using the same setup / configuration but with Windows 2012 R2 Server as Remote Desktop Host.

Appreciate some help from the expert here. Thank you. :) 


The "change user /install" procedure, still matters?

$
0
0

The change user /install and change user /execute are still in use today?

In moden deployments , like WIn2012, 2016 (and soon 2019), is "change user" commands  useful?

As far as I know, most of the SETUP procedures are detected and treated as TS install procedures automacally

Windows Server 2016 -> Start menu reachable via Published Apps

$
0
0

Case:
I published several apps on our Windows Server 2016 via RDS.
I connected to our apps via an iPad.
Via the onscreen keyboard of the iPad I could press the Windows Key when magically the Start menu appeared.
I couldn't start an app when I tried to start one via the touchscreen but I managed to do start any application installed on the RDS server via the onscreen keyboard Arrows + Enter key on the iPad.

I could also reach the Task Manager and select the Run command (example Explorer.exe)
Looks like The published apps is just a RDP connection with auto start of the application and with the Start taskbar removed from first sight.

Does anyone have the same issue or does anyone know a solution?


Tools:
Windows Server 2016
RDS role
Publish Apps (Any app)
iPad for connecting to a published app.
Onscreen keyboard.

Server 2012 RDS - Remote Desktop Connection Broker service stopped suddenly

$
0
0

Hi,

Remote Desktop Connection Broker won't accept remote connections when i dig out i found following problems

1-Remote Desktop connection broker service stopped as server restarted at midnight due to schedule updates.

2-In event logs i found the following error

The Remote Desktop Connection Broker server could not enumerate the targets for the provider named NULL from the database.

Pooled virtual desktop collection name: NULL
Error: Logon to the database failed.

When i started broker service its start working but again after 10 to 20 days same issue reoccurred.

Since 2014 RDS2012 working fine and i am facing this issue from last 5 months.

I have added Adding the broker to "Windows Authorization Access Group" still problem exist.

Please help me out how can resolve this.

Viewing all 5613 articles
Browse latest View live