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

Error in data encryption - RDP

$
0
0

Remote Desktop Connection

Because of an error in data encryption, this session will end. Please try connection to the remote computer again.


A number of our users are getting disconnected from RDP this morning. The RDP server is across a Site-to-Site VPN to Azure. Perhaps coincidentally, when they reconnect they have lost the saved username and are presented with "Other user". Server went through updates at the weekend and was restarted last night. Reconnecting instantly works fine.

Anyone seen this?

The remote apps of my RDS 2016 deployment don't show

$
0
0

First: Yes I know this sounds like a familiar problem, but all the solutions I found over the last week on the internet didn't solve it.

We have a RDS 2016 deployment for our production system that works just fine. Now I have created (partly cloned) a similar system for our test environment. But I can't get that to work. After logging in to the RDWeb, the remote apps don't show.

The system consists of:

  • 1 RDCB: Connection Broker
  • 2 RDSH: Session Host
  • 2 RDS: Web Access and Gateway

The License Server is on the RDCB of the production system, but whether or not attaching it doesn't make a difference.

The RDS Servers are in a DMZ. But to make sure the firewall wasn't the problem, I also had them in the same subnet. It didn't make a difference.

I compared every bit and byte between the production and the test systems, but I can't find any differences.

I tried every suggested solution; I ended up completely destroying all test VMs and re-create them from scratch to make sure I had a vanilla envronment. Even that didn't make a difference.

What I see on the servers are different events:

  • RDS: event 10 (mentioning "TS Web Access Computers" security group)
  • RDSH: events 1296 and 1306
  • RDCB: event 1306 (but not for all 1306 on the RDSH)

I'm on my whit's end here. Can anyone point me in the right direction how to solve this?

Some users has multiple RDP CALs in our license server

$
0
0

Hi,

We're having some trouble with our license server, some users has multiple RDP CALs and using more than 1 license, 1 for each capital letter-lower case change in the name when creating the RDP connection, for example, user1 has 4 licenses (user1, User1,USER1, useR1).

Can you help us?

How to bypass Windows Server 2008 R2 RD Connection Broker

$
0
0
We just setup a Windows 2008 R2 RD Server Farm and RD Connection Broker and all seems to be working fine.  If you try to connect to a node in the farm Connection Broker will randomly pick a node and connect you to it.

My issue is this...

Sometimes you may need to force a user (not an admin user) to one specific node in the farm, can anyone tell me how to do that?

For example, suppose a user reports that they are having a problem when they are logged onto node 3 of a 4 node farm.  So to test, you want to force that user back to node 3 to see if the problem is fixed but Connection Broker keeps sending that user to node 1.

Thanks for any help,

Lamar

Getting a Authentication error 0x80004005 using RDP on Windows server 2012 servers

$
0
0

Hello Everyone,

I'm getting a Authentication error on all of my Windows 2012 servers connecting through RDP. The weird thing is, this error only pops up using the DNS name. If I use the IP of the server, I connect with no issues or errors. 

Does anyone have any ideas?

Please let me know

Thank you

Devon

Available Virtual Desktops List doesn't update

$
0
0

I had a working VDI solution. However, at the time the only RDS Connection broker I had was having issues after migrating P2V.

I decided to update to Windows Server 2019 and create a High Availability solution by adding two additional CBs and removing the original problem child. Everything seemed to be going just fine until I tried to create a new VDI VM. The new VM wouldn't join a collection. I tried to create a new collection, and a new VM in that collection. Once again, the VM wouldn't join the collection. 

I decided to reboot the RDCBs and after that none of my users could connect to their VDI VMs. I tried creating a collection with a new VM after the reboots and I notice that I can't create the new collection with the new VM. When I get to the Specify the existing virtual desktops page, my new VM doesn't show up in my Available Virtual Desktops window. All of the old VMs that I had deleted which were part of collections that I had deleted still show up. Any idea why the list isn't updating?

Could not retrieve the virtual desktop template details for template name

$
0
0

Hello

I have :

3 x physical Server 2016 as hyper V host
1 x Virtual Server 2016 as Broker and Web access
40 x Windows 10 entreprise 1803 as Virtual desktop collection pooled. It was working very well with UPD (User profile disk) on a SOFS share.

Last week I create a new user and he can't get his new UPD working.
I decide to clean a lot of things : I remove the collection and try to create a new one.

When I choose my VM template (Wich work well since long time) I get the error :

could not retrieve the virtual desktop template details for MasterW10c

I enable log, and searcg with Dbgview :

Composant RdmsUI : Exception occurred in IsMasterVMPrerequisiteSatisfied for VM MasterW10c, VMHost CLOUD2.cxxat.com. Exception details: System.IO.FileNotFoundException: à System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   à System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
   à Microsoft.RemoteDesktopServices.Common.TsVm.QueryOfflineInformation(String& Build, String& CurrentVersion, String& EditionId, Boolean& fIsRdvIcInstalled, Boolean& fIsVmbusCapable, String& InstallationType, Int32& ProcArch, String& SysPrepImageState, String& SysPrepMode)à Microsoft.RemoteDesktopServices.RDManagement.Model.ExternalApiProvider.GetOfflineVmInformation(String vmName, String hostName)
   à Microsoft.RemoteDesktopServices.RDManagement.ViewModel.Collections.MasterVirtualMachineViewModel.IsMasterVMPrerequisiteSatisfied(VMDescriptor masterVM)

I can't post processmon sreenshot because my account is not verified but search "could not retrieve the virtual desktop template details for" on G00GLE and i post it on first spiceworks result

I try to deploy from any of my 3 Host -> same problem
I remove all remote desktop host role and remote desktop broke +web and reinstall them -> same problem
I install another broker + web access on another 2016 server (on the AD :-( ) -> same problem

I don't know when this problem appear (I found it when i add a new user. One of our last change is installation of Acronis Backup to backup some VM/shared drive. I uninstall Acronis from all our machine and nothing change. I do some Windows Update.

Thanks

RDs 2012 R2

$
0
0

Hello what a mess Microsoft has created in 2012 r2,  for us in 2008 we were able to highlight all users to log them out, we have over 50 users in our servers at any given time, and when we do maintenance we take the servers out of load balance and send a msg to logout, then the ones that didn't get out we would highlight them all and log them off in one shot...what were you guys thinking with 2012 R2 I have not found a simple way to do this yet...

any help would be greatly appreciated.


Mstsc to terminal server with a specific user Error : The Group Policy Client service failed the sign-in "Access is denied"

$
0
0

Hello,

I have this weird problem that when I am trying to connect to a terminal server with a specific user (let's say "Anna") I am getting this error :

The Group Policy Client service failed the sign-in "Access is denied"

and if I am trying to connect with a different user it's working fine.

anyone have an idea what can cause this error?  (tried already : checking if there is a temp profile .bak in the registry and C:\users\%username% not showing the user profile). 

Server 2016 RDS Start Menu and Taskbar Issues

$
0
0

We're running a single RDS setup with Windows Server 2016 Standard and about 2 weeks back we started to experience Windows Start Menu and Taskbar issues where these functions would suddenly stop working for all of the RDS users.  We are not using profile disks and each user connects to the RDS via our gateway server and their profile is stored locally on the RDS server.  No desktop or Start Menu redirection is setup.  We have 25 RDS CALs and there's normally about 20 users logged into the RDS server.  The server is a physical server running a 12core Intel CPU with 32Gb of RAM and an NVME SSD Intel disk.

The desktop apps like Microsoft Office will continue to function fine but if you minimize the running apps, the user can not click on the minimized apps as the Taskbar doesn't respond along with the Start Menu.  The only thing that currently works is to logout the user session using Task Manager or to reboot the server.  When the user reconnects and gets a new session, the Start Menu and Taskbar will work for several hours before it goes back to the locked state.

I have read quite a few posts and I have re-installed the Windows apps with the following PS script:

Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

I have run a full sfc /scannow and checked the health of the windows image.  These all complete fine without issue.

Tonight I have found some older posts from 2017 about Server 2016 RDS black screens that are caused by duplicate Windows firewall rules getting created for each user every time they login.  While we don't have the black screen issue, I'm wondering if our issues with the Start Menu and Taskbar could be related to this same duplicate firewall rules for each user.  When I checkedHKLM\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\RestrictedServices\Configurable\System on our RDS, I am seeing thousands of entries.

Does anyone know if these duplicate firewall rules can cause the Start Menu and Taskbar issues?  If so, what's the proper way to delete them?

Thanks for any input.

Ken 

Microsoft Hyper-V Server 2019 - RD Virtualization Host feature missing

$
0
0

I'm trying to use Hyper-V Server 2019 as a virtualization host.  This fails.

I have 3 computers;

  1. domain controller
  2. Windows Server 2019, which will be RD Connection Broker and RD Web Access
  3. Hyper-V Server 2019, which will be RD Virtualization Host

When I attempt to install this using Server Manager, RD Connection Broker and RD Web Access installation succeeds, but RD Virtualization Host fails.

Investigating further, the feature is missing! Here's some PowerShell, confirming I am running Hyper-V Server 2019 (downloaded today, 3 July 2019), and the Remote Desktop Virtualization Host feature simply not there!

Get-ComputerInfo | select OSName,OSVersion

OsName                   OsVersion
------                   ---------
Microsoft Hyper-V Server 10.0.17763


Get-WindowsFeature

Display Name                                            Name                       Install State
------------                                            ----                       -------------
[X] File and Storage Services                           FileAndStorage-Services        Installed
    [ ] File and iSCSI Services                         File-Services                  Available
        [ ] File Server                                 FS-FileServer                  Available
    [X] Storage Services                                Storage-Services               Installed
[X] Hyper-V                                             Hyper-V                        Installed
[ ] Remote Desktop Services                             Remote-Desktop-Services        Available
[ ] .NET Framework 3.5 Features                         NET-Framework-Features         Available
    [ ] .NET Framework 3.5 (includes .NET 2.0 and 3.0)  NET-Framework-Core               Removed
[X] .NET Framework 4.7 Features                         NET-Framework-45-Fea...        Installed
    [X] .NET Framework 4.7                              NET-Framework-45-Core          Installed
    [ ] ASP.NET 4.7                                     NET-Framework-45-ASPNET        Available
    [X] WCF Services                                    NET-WCF-Services45             Installed
        [X] TCP Port Sharing                            NET-WCF-TCP-PortShar...        Installed
[ ] Background Intelligent Transfer Service (BITS)      BITS                           Available
    [ ] Compact Server                                  BITS-Compact-Server            Available
[ ] BitLocker Drive Encryption                          BitLocker                      Available
[ ] Data Center Bridging                                Data-Center-Bridging           Available
[ ] Enhanced Storage                                    EnhancedStorage                Available
[ ] Failover Clustering                                 Failover-Clustering            Available
[ ] I/O Quality of Service                              DiskIo-QoS                     Available
[ ] Media Foundation                                    Server-Media-Foundation        Available
[ ] Multipath I/O                                       Multipath-IO                   Available
[ ] Remote Server Administration Tools                  RSAT                           Available
    [ ] Feature Administration Tools                    RSAT-Feature-Tools             Available
        [ ] BitLocker Drive Encryption Administratio... RSAT-Feature-Tools-B...        Available
        [ ] DataCenterBridging LLDP Tools               RSAT-DataCenterBridg...        Available
        [ ] Failover Clustering Tools                   RSAT-Clustering                Available
            [ ] Failover Cluster Module for Windows ... RSAT-Clustering-Powe...        Available
            [ ] Failover Cluster Automation Server      RSAT-Clustering-Auto...        Available
            [ ] Failover Cluster Command Interface      RSAT-Clustering-CmdI...        Available
    [ ] Role Administration Tools                       RSAT-Role-Tools                Available
        [ ] Hyper-V Management Tools                    RSAT-Hyper-V-Tools             Available
            [ ] Hyper-V Module for Windows PowerShell   Hyper-V-PowerShell             Available
[ ] SMB 1.0/CIFS File Sharing Support                   FS-SMB1                        Available
    [ ] SMB 1.0/CIFS Client                             FS-SMB1-CLIENT                 Available
    [ ] SMB 1.0/CIFS Server                             FS-SMB1-SERVER                 Available
[ ] SMB Bandwidth Limit                                 FS-SMBBW                       Available
[ ] SNMP Service                                        SNMP-Service                   Available
    [ ] SNMP WMI Provider                               SNMP-WMI-Provider              Available
[ ] Telnet Client                                       Telnet-Client                  Available
[X] Windows Defender                                    Windows-Defender               Installed
[X] Windows PowerShell                                  PowerShellRoot                 Installed
    [X] Windows PowerShell 5.1                          PowerShell                     Installed
    [ ] Windows PowerShell 2.0 Engine                   PowerShell-V2                  Available
[ ] Windows Server Backup                               Windows-Server-Backup          Available
[ ] Windows Standards-Based Storage Management          WindowsStorageManage...        Available
[ ] Windows Subsystem for Linux                         Microsoft-Windows-Su...        Available
[X] WoW64 Support                                       WoW64-Support                  Installed

According to Using Hyper-V Server 2008 R2 for VDI – Matthijs's blog I would have expected to something like this, clearly showing "Remote Desktop Virtualization Host" as a component;

But that doesn't appear on Hyper-V Server 2019.

Hence...

Add-WindowsFeature –Name RDS-Virtualization

...simply doesn't work.

How do install "Remote Desktop Virtualization Host" on Hyper-V Server 2019?



The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license

$
0
0

Hi, 

I'm facing this error "The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license." while connecting remote desktop to the server (Windows Server 2012 R2).

Licensing mode was already configured, licenses were already installed and License Server was activated. But I still got errors in Licensing Diagnoser - Err 1. The licensing mode for remote desktop session host server is not configured, Err 2. The grace period for the remote desktop session host server has expired....

Any of my installed licenses are not issued to anyone. I have both Device and User CALs installed. I tried both and none is working.

Please advise how to solve this issue. As per advices from several forumns, I tried to delete "GracePeriod" registry Key but I cannot delete as Access was Denied! Please help. I've been struggling this for several weeks and none of the online tutorials seems to help me in this case. I followed following articles for Installation and configuration.

https://msfreaks.wordpress.com/2013/12/09/windows-2012-r2-remote-desktop-services-part-1/

http://www.wackytechtips.com/installing-and-configuring-remote-desktop-services-rds-on-windows-server-2012/

Thanks in advanced.

Running two RDS licence server in one domain

$
0
0
We have 2008 terminal servers and we are migrating to 2019 RDS. I want to keep 2008 terminal server till we fully start using 2019 RDS server. My question is can I configure 2019 terminal server licence server in the same domain along with 2008 licence server. Will there be any login issue for 2008 terminal server session?

Strange TCP connections on server

$
0
0

Hi,

Our SQL Server become very slow. While trying to figure it out where is the problem I noticed strange TCP connections on Resource Monitor. While nobody from outside our LAN is connected to our server I see many connections from (or to) these remote addresses:

45.227.255.152, 194.61.24.95, 185.156.177.235, 193.188.22.13

All of them are related to svchosts.exe(termsvcs), local port is 3389, remote ports are high. All those connections are greyed out. Is it OK? What all those connections means? Does anybody trying to attack our server?

I have checked server for viruses but found nothing.

RDS Deployment plan Licenses

$
0
0

Hi All,

Need a suggestion and recommendation

We are team of 10 and were using 4 servers as Jump servers to access our environment 

Team has grown to 30 now and 4 servers with limted 2 rdp sessions are not enough, i have some RDS license 

  • Should i install the RDS license on each jump server ?
  • Can i use a single server with RDS license and may give some session based access to team

Please advice and suggest a best solution where i can fulfill the requirement using minimum number of license

Thank you so much 


Rahul


RDP not connecting to any PC

$
0
0
I got a weird problem once or twice a week RDP stops to connect to any PC in network and stucks at "initiating remote connection" asks a correct login/password though

You still can connect to PC that have this issue via rdp, but not to any other PC from them

I've encountered this problem on 2 systems win server 2008 r2 and on win server 2016

Also when this happens ICQ stops working too (and yeah i know its 2019)

Issue resolve itself after a reboot but thats a not ideal solution

Any ideas what it could be?

Remote desktop client hardware redirection stops working on server 2016

$
0
0
We use a Windows 2016 terminal server and connect via RDP. At irregular intervals the forwarding of client hardware stops working. No more drives are mapped, the printer redirection does not work anymore and the com ports are not forwarded anymore.
After a server restart everything works fine again.
What could be our problem?

Internet Explorer Kiosk Mode RemoteApps

$
0
0

Hi, 

is there a way to run Internet Explorer in Kiosk Mode via RemoteApp?

You can't set startup parameters so there has to be an other way.

Cannot connect using to Server 2019 using rdp app on Windows 10, iOS or Windows Mobile

$
0
0

I can connect to my server using the desktop app on Windows 10. (I am not using a gateway.)

If I however use the UWP Windows 10 app (from the Store), or the iOS app from the AppStore, or the RDP app from Windows Mobile from the Store I cannot connect from within the LAN nor from the internet and get the following series of events on the server:

Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS103RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS148RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS148RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS148RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS145RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS102RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS72RemoteFX module
Warning26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS144RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS141RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS72RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS72RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS65RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS131RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS103RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS148RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS148RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS148RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS145RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS102RemoteFX module
Information26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS72RemoteFX module
Warning26-6-2019 13:04:01RemoteDesktopServices-RdpCoreTS144RemoteFX module
Information26-6-2019 13:03:43RemoteDesktopServices-RdpCoreTS141RemoteFX module
Information26-6-2019 13:03:43RemoteDesktopServices-RdpCoreTS72RemoteFX module
Information26-6-2019 13:03:43RemoteDesktopServices-RdpCoreTS72RemoteFX module
Information26-6-2019 13:03:43RemoteDesktopServices-RdpCoreTS65RemoteFX module
Information26-6-2019 13:03:43RemoteDesktopServices-RdpCoreTS131RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS103RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS148RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS148RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS148RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS145RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS102RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS72RemoteFX module
Warning26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS144RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS141RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS72RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS72RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS65RemoteFX module
Information26-6-2019 13:03:38RemoteDesktopServices-RdpCoreTS131RemoteFX module


The last event 103 in detail:

Log Name:      Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational
Source:        Microsoft-Windows-RemoteDesktopServices-RdpCoreTS
Date:          26-6-2019 13:04:01
Event ID:      103
Task Category: RemoteFX module
Level:         Information
Keywords:      
User:          NETWORK SERVICE
Computer:      [Domain]
Description:
The disconnect reason is 14
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-RemoteDesktopServices-RdpCoreTS" Guid="{1139c61b-b549-4251-8ed3-27250a1edec8}" />
    <EventID>103</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>4</Task>
    <Opcode>17</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2019-06-26T11:04:01.400433100Z" />
    <EventRecordID>25927928</EventRecordID>
    <Correlation ActivityID="{f4208e27-0719-4d0a-aa89-7ba13ae70000}" />
    <Execution ProcessID="396" ThreadID="8172" />
    <Channel>Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational</Channel>
    <Computer>[Domain]</Computer>
    <Security UserID="S-1-5-20" />
  </System>
  <EventData>
    <Data Name="ReasonCode">14</Data>
  </EventData>
</Event>

The mobile apps work just fine connecting to my Windows 10 PC.

If there is anybody who can shed light on this, I would be very grateful.


Leo

Edit: I would like to add that the error message on the client is: 

Your password may have expired or the remote pc might not accept blank passwords


RDP disconnect while Using VPN Service ( Windows Server 2016 )

$
0
0

Hello everybody , my problem is that sometimes I've to use VPN over my RDP Server but once I Click connect to VPN , the RDP disconnects directly and I cannot reconnect again till I reboot the SERVER again , I use Windows Server 2016 .

I've read some solutions that says I need to uncheck the Default Gateway in IPV4 options but I can't find this option in Windows 2016

Can you please help me to solve the issue and connect the VPN over RDP ? 

Viewing all 27533 articles
Browse latest View live