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

rds 2016 end disconnected sessions

$
0
0

hello, i have setup rds 2016 server and was noticing that some of the user sessions are stuck in "disconnected" status for a long time. where do i get to set this policy to end these type of sessions after 24 hours?



Configuring remote desktop external connector Windows server 2019

Windows Server 2012 R2 - Remote Desktop Services warning

$
0
0
Hello,

I logged on today on a RDS server to perform some windows updates and i saw a warning that it says "Remote Desktop licensing mode is not configured. 
Remote Desktop Services will stop working in 33 days. On the RD Connection Broker server, use Server Manager to specify the Remote Desktop licensing mode and the license server.

Our production/RDS infrastructure consists of 4 vm's

Name    Roles
RDS1 -- RDS-RD-SERVER, RDS-GATEWAY
RDS2 -- RDS-RD-SERVER, RDS-CONNECTION-BROKER, RDS-WEB-ACCESS, RDS-LICENSING
RDS3 -- RDS-RD-SERVER
RDS4 -- RDS-RD-SERVER

On the disaster site we have again RDS on 4 vm's and the roles are like this:

RDS1 -- RDS-GATEWAY
RDS2 -- RDS-CONNECTION-BROKER, RDS-WEB-ACCESS, RDS-LICENSING
RDS3 -- RDS-RD-SERVER
RDS4 -- RDS-RD-SERVER

The message does not appear on the disaster site. Only on the production. I believe that someone tried to do something on the production site and messed up the roles. Could someone help me out with this issue?

Thank you in advance!

Barebones RDS Install

$
0
0

I have a Windows Server 2008R2 server running the Remote Desktop Services role, and the only role services i have installed are "Remote Desktop Session Host" and "Remote Desktop Licensing".  With this i can provide a Windows desktop experience to a set of remote users who need to run an old legacy application.  The remote user uses Remote Desktop Connection to remote to this server, and they log in with a local user account on that server.  They have one icon on their desktop that points to the legacy program they run.  They launch the program, use it, close it, and log off the remote desktop session.  It's very simple and barebones.  I dont need anything more than that.

I have to replace this server because 2008R2 is at end of life later this year.  I tried creating the exact same environment on a Windows Server 2019 server, installing just those two role services but it failed.  Doing research i discovered that Remote Desktop Services has really changed since 2008R2.  I tried doing the full install, but i couldnt get local accounts to work with it.  And there was way too much extra stuff that i dont need (I dont need a web gateway, etc.).  Is it still possible to create a barebones, old-school terminal server on current Windows Server OS?  I just want a simple remote desktop session with one program shortcut.   Nothing else.  Can this be done anymore? IF so, can you point me in the right direction?    And is this supported by Microsoft? 

Server 2016 RDS Farm - External Users cant access past the Broker

$
0
0

Server 1 - Web Access/ Gateway

Server 2 - Broker

Server 3 - Host 1

Server 4 - Host 2

External and internal DNS records set. Firewall rules open Any/Any. Certs with external Web access name in place (the only names are server 1 and its alternate name). Security groups in place for CAP and RAP. Collections made. NO HA

Currently works internally for applicable users but not external.

External ERROR:

Remote Desktop can't find the computer "Broker.company.com". This might mean that "Broker.company.com" does not belong to the specified network.

Any Assistance would be appreciated.

Terminal Server Licensing Service on windows server 2016 won't stay running

$
0
0

Hi to all,

In my environment I have a Windows server 2016 that acts as license manager for some other windows 2016 server and some windows 2019 servers.

The problem is that the Terminal Server Licensing Service keeps failing: sometimes it takes a few days for the services, sometimes it happens after an hour.

When that happens, whenever a user tries to login to one of the TS served by the license manager, he receives messages that says " Remote desktop license Issue:  There is a problem with your Remote Desktop license, and you session will be disconnected in 60 minutes. Contact your administrator to fix this problem".

That's the error I see in the event viewer:

Faulting application name: svchost.exe_TermServLicensing, version: 10.0.14393.0, time stamp: 0x57899b1c
Faulting module name: lserver.dll, version: 10.0.14393.1378, time stamp: 0x594a188d
Exception code: 0xc0000005
Fault offset: 0x000000000002cb8d
Faulting process id: 0x20f0
Faulting application start time: 0x01d4edf0d90921c1
Faulting application path: C:\Windows\system32\svchost.exe
Faulting module path: c:\windows\system32\lserver.dll
Report Id: 175b3cbc-338c-43d5-a965-e82d5740b18b
Faulting package full name:
Faulting package-relative application ID:

Can anybody lend me a hand with this?

Thanks in advance



Windows 10 black screen with remote app

$
0
0
We have started seeing black screens with Windows 10 builds 1709 1803 1809.  The black screens are intermittent and for the most part can be resolved by minimizing and maximizing the remote app.  This leads me to believe this is a screen redraw issue and not a problem with any of the remote apps.  

The RDWEB farm is server 2012R2 with 2 gateways, 2 session brokers, 2 web servers.  There are 207 collections with 171 host servers.  Windows 7 w\ rdp 8.1 does not seem to have this issue.  

How to uncheck Smart Cards checkbox in Remote Desktop Connection

$
0
0

I am looking to uncheck the Smart Cards box in Remote Desktop Connections Local Resources > Devices and resources > More... area.

I attempted this by disabling this in GPO under Windows Components/Remote Desktop Services/Remote Desktop Session Host/Device and Resource Redirection/Do not allow smart card device redirection   however this seems to be a separate setting.

I need this fix to be able to be used in a enterprise environment, not a one off computer.


lock down RDS 2016 for standard users

$
0
0

hello we are providing full session desktop (rds 2016)

i notice that any domain user can open "server manager" and "administrator tools"

this seems to be security risk.  How can I disable these two items but still allow it for the domain admins?

Server 2019 RDS server randomly crashing

$
0
0

Below is the crash dump and analysis.  I only found one thing online that seemed to involve the same probable cause.  I believe the solution from what I did find online was to delete the fntcache.dat file and any fontcache folders in the users appdata/local.  Hoping someone can help confirm this or point me in the right direction.  This is a brand new RDS server.  Thanks.


Microsoft (R) Windows Debugger Version 10.0.17763.132 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

Loading Dump File [C:\Windows\Minidump\040819-63843-01.dmp]
Mini Kernel Dump File: Only registers and stack trace are available

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       SRV*C:\Windows\symbol_cache*http://msdl.microsoft.com/download/symbols
Symbol search path is: SRV*C:\Windows\symbol_cache*http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows 10 Kernel Version 17763 MP (24 procs) Free x64
Product: Server, suite: TerminalServer <20000>
Built by: 17763.1.amd64fre.rs5_release.180914-1434
Machine Name:
Kernel base = 0xfffff803`20cb2000 PsLoadedModuleList = 0xfffff803`210cd790
Debug session time: Mon Apr  8 09:10:50.734 2019 (UTC - 4:00)
System Uptime: 0 days 0:20:07.773
Loading Kernel Symbols
...............................................................
................................................................
......................................
Loading User Symbols
Loading unloaded module list
.......
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************
Use !analyze -v to get detailed debugging information.
BugCheck 3B, {c0000005, ffffbe50db2bbc99, fffffe003f13f230, 0}
Probably caused by : win32kfull.sys ( win32kfull!RFONTOBJ::bInsertGlyphbitsLookaside+ad )
Followup:     MachineOwner
---------
6: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************
SYSTEM_SERVICE_EXCEPTION (3b)
An exception happened while executing a system service routine.
Arguments:
Arg1: 00000000c0000005, Exception code that caused the bugcheck
Arg2: ffffbe50db2bbc99, Address of the instruction which caused the bugcheck
Arg3: fffffe003f13f230, Address of the context record for the exception that caused the bugcheck
Arg4: 0000000000000000, zero.
Debugging Details:
------------------

KEY_VALUES_STRING: 1

STACKHASH_ANALYSIS: 1
TIMELINE_ANALYSIS: 1

DUMP_CLASS: 1
DUMP_QUALIFIER: 400
BUILD_VERSION_STRING:  17763.1.amd64fre.rs5_release.180914-1434
SYSTEM_MANUFACTURER:  VMware, Inc.
VIRTUAL_MACHINE:  VMware
SYSTEM_PRODUCT_NAME:  VMware Virtual Platform
SYSTEM_VERSION:  None
BIOS_VENDOR:  Phoenix Technologies LTD
BIOS_VERSION:  6.00
BIOS_DATE:  07/28/2017
BASEBOARD_MANUFACTURER:  Intel Corporation
BASEBOARD_PRODUCT:  440BX Desktop Reference Platform
BASEBOARD_VERSION:  None
DUMP_TYPE:  2
BUGCHECK_P1: c0000005
BUGCHECK_P2: ffffbe50db2bbc99
BUGCHECK_P3: fffffe003f13f230
BUGCHECK_P4: 0
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
FAULTING_IP:
win32kfull!RFONTOBJ::bInsertGlyphbitsLookaside+ad
ffffbe50`db2bbc99 0f1101          movups  xmmword ptr [rcx],xmm0
CONTEXT:  fffffe003f13f230 -- (.cxr 0xfffffe003f13f230)
rax=ffffbe1c40925ab0 rbx=0000000000000001 rcx=0000000000000000
rdx=0000000000000008 rsi=fffffe003f13fd10 rdi=fffffe003f13fd00
rip=ffffbe50db2bbc99 rsp=fffffe003f13fc20 rbp=0000000000000001
 r8=00000000ffffffff  r9=ffffbe1c42ddc03a r10=00000000ffffffff
r11=fffffe003f13f9d0 r12=0000000000000000 r13=0000000000000001
r14=ffffbe1c40925ab0 r15=0000000000000001
iopl=0         nv up ei pl nz ac pe cy
cs=0010  ss=0018  ds=002b  es=002b  fs=0053  gs=002b             efl=00010213
win32kfull!RFONTOBJ::bInsertGlyphbitsLookaside+0xad:
ffffbe50`db2bbc99 0f1101          movups  xmmword ptr [rcx],xmm0 ds:002b:00000000`00000000=????????????????????????????????
Resetting default scope
CPU_COUNT: 18
CPU_MHZ: 82f
CPU_VENDOR:  GenuineIntel
CPU_FAMILY: 6
CPU_MODEL: 55
CPU_STEPPING: 4
CPU_MICROCODE: 6,55,4,0 (F,M,S,R)  SIG: 2000050'00000000 (cache) 2000050'00000000 (init)
BLACKBOXBSD: 1 (!blackboxbsd)

BLACKBOXPNP: 1 (!blackboxpnp)

CUSTOMER_CRASH_COUNT:  1
DEFAULT_BUCKET_ID:  WIN8_DRIVER_FAULT_SERVER
BUGCHECK_STR:  0x3B
PROCESS_NAME:  PrintIsolationHost.exe
CURRENT_IRQL:  0
ANALYSIS_SESSION_HOST:  TSFW
ANALYSIS_SESSION_TIME:  04-08-2019 14:38:09.0994
ANALYSIS_VERSION: 10.0.17763.132 amd64fre
LAST_CONTROL_TRANSFER:  from ffffbe50db27c37e to ffffbe50db2bbc99
STACK_TEXT: 
fffffe00`3f13fc20 ffffbe50`db27c37e : ffffbe1c`42ddc910 ffffbe50`db0623f1 ffffbe1c`42ddc910 ffffbe50`db403dad : win32kfull!RFONTOBJ::bInsertGlyphbitsLookaside+0xad
fffffe00`3f13fce0 ffffbe50`db29bfe2 : 00000000`00000000 ffffbe1c`42ddc910 fffffe00`3f13fec0 fffffe00`3f13fd74 : win32kfull!FONTOBJ_cGetGlyphs+0x2e
fffffe00`3f13fd40 fffff803`20e76885 : ffffbe1c`40925ab0 ffffbe50`00000001 ffffbe1c`42ddc910 fffffe00`3f13fd74 : win32kfull!NtGdiFONTOBJ_cGetGlyphs+0x122
fffffe00`3f13fdd0 00007ffb`568b62e4 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x25
00000011`3cffbd68 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x00007ffb`568b62e4

THREAD_SHA1_HASH_MOD_FUNC:  a9532d501db653ddf4115621b75b0545b76a4bbb
THREAD_SHA1_HASH_MOD_FUNC_OFFSET:  46798b393430d99ef49f58ebf009fb18a67143d6
THREAD_SHA1_HASH_MOD:  4b0b617a0dfdccf32d810bf06e973af5ab544eda
FOLLOWUP_IP:
win32kfull!RFONTOBJ::bInsertGlyphbitsLookaside+ad
ffffbe50`db2bbc99 0f1101          movups  xmmword ptr [rcx],xmm0
FAULT_INSTR_CODE:  4801110f
SYMBOL_STACK_INDEX:  0
SYMBOL_NAME:  win32kfull!RFONTOBJ::bInsertGlyphbitsLookaside+ad
FOLLOWUP_NAME:  MachineOwner
MODULE_NAME: win32kfull
IMAGE_NAME:  win32kfull.sys
DEBUG_FLR_IMAGE_TIMESTAMP:  4161d1d6
IMAGE_VERSION:  10.0.17763.404
STACK_COMMAND:  .cxr 0xfffffe003f13f230 ; kb
BUCKET_ID_FUNC_OFFSET:  ad
FAILURE_BUCKET_ID:  0x3B_win32kfull!RFONTOBJ::bInsertGlyphbitsLookaside
BUCKET_ID:  0x3B_win32kfull!RFONTOBJ::bInsertGlyphbitsLookaside
PRIMARY_PROBLEM_CLASS:  0x3B_win32kfull!RFONTOBJ::bInsertGlyphbitsLookaside
TARGET_TIME:  2019-04-08T13:10:50.000Z
OSBUILD:  17763
OSSERVICEPACK:  404
SERVICEPACK_NUMBER: 0
OS_REVISION: 0
SUITE_MASK:  131088
PRODUCT_TYPE:  3
OSPLATFORM_TYPE:  x64
OSNAME:  Windows 10
OSEDITION:  Windows 10 Server TerminalServer
OS_LOCALE: 
USER_LCID:  0
OSBUILD_TIMESTAMP:  2022-05-13 05:29:43
BUILDDATESTAMP_STR:  180914-1434
BUILDLAB_STR:  rs5_release
BUILDOSVER_STR:  10.0.17763.1.amd64fre.rs5_release.180914-1434
ANALYSIS_SESSION_ELAPSED_TIME:  1a3d
ANALYSIS_SOURCE:  KM
FAILURE_ID_HASH_STRING:  km:0x3b_win32kfull!rfontobj::binsertglyphbitslookaside
FAILURE_ID_HASH:  {ce603602-155f-03d7-d64e-0b9170fa0d25}
Followup:     MachineOwner
---------

Windows Servr 2016 RDSH - Firewall rules created at every login.

$
0
0

Hi,

I have a setup with the following servers running Windows Server 2016

1x RDGW, RDCB, RDWA, RDLicensing.

5x RDSH

Im using UPD on the collection.

I have noticed very long login times, after policys etc are shown on screen it sits at a black screen for between 20sec and sometimes up to 5min.

I have also noticed that the svchost.exe that controls the Windows Firewall is using 25% to 50% when a user logs in and using around 1200Mb memory.

After I found this I checked the Windows Firewall with Advanced Security and found thousands of Cortana, Work or school account, Your account, Contact Support rules. 

I found a script in this thread that could delete the rules https://social.technet.microsoft.com/Forums/windows/en-US/9aad7675-d1ba-4900-9d85-0cd117f5514f/new-firewall-rules-created-for-each-user?forum=win10itprosetup

This made the CPU usage and memory usage go down to normal levels, but after every login a user does it builds up the list of rules again. With many users logging in to the system the rules build up very fast and the login times gets high and every server gets slow.

Example on our RDSH01 server that have been running in production since 2017-04-13 the script found and deleted 66153 rules that it found with "$Rules = Get-NetFirewallRule -All | Where-Object {$profiles.sid -notcontains $_.owner -and $_.owner }"

The script also tryed to get rules with this command "$rules2 = Get-NetFirewallRule -All -PolicyStore ConfigurableServiceStore | Where-Object { $profiles.sid -notcontains $_.owner -and $_.owner }" but fails with an "not enough space error"

The script removes the rules from here with the content of $rules "HKLM:\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules"

and $rules2 was meant to clean up at "HKLM:\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\RestrictedServices\Configurable\System"

but doesnt do anything because of the error on the Get-command. If I try to access it with regedit it stops to respond, guessing there are too many items in that container for it to handle.

Anyone know a solution for this problem? 

Regards Fredrik

Force shutdown application when RDS session is terminated using "X" button on RDS window

$
0
0

If an RDS session terminates suddenly due to user or computer error, are the published applications closed automatically and properly?

If not, can I effect this using GPO?

This is not about session time limits. I already found that in GPO and using successfully to keep open resources at a maximu

Thank you,

Jeff

Audiosrv server 2016 crashes applications like explorer.exe, Google Chrome etc.

$
0
0

Good morning.

We've been experiencing random problems on our RDSH vmware environment. At random times, the audiosrv seems to trouble other applications and makes them not respond anymore, restarting the audio service temporarily fixes the problem. I have made a gpo to restart the audiosrv, but of course this is not a solution. 

We are currently on KB4489889 (OS Build 14393.2879)




Session Host Load Balancing not working

$
0
0

Hello,

We have configured a Remote Services setup on Windows Server 2016.

On Server01 we have installed Remote Desktop Gateway Server, Remote Desktop Connection Broker.

We have created 10 Session Host Servers. Out of these we have created 2 session collections - each having 2 servers. These are:

SU1 - ServerA + Server B

SU2 - ServerC + ServerD

We want simple load balancing between 2 servers within each unit (SU1 and SU2) so that half of the users will get connected to Server A and half to Server B.

This same configuration was working fine in Windows 2012. But is not working now. Are there any changes from 2012 to 2016 - which we are missing upon?

Thanks,

Rahul Jain

How do Icombine installed RDS cals into one list?

$
0
0

My organization has purchased and installed device cals over time as they were needed, for Win Server 2012.  Now there are multiple lists in the RD licensing manager with 10, 10, 5, and 10 licenses.  It is hard to manage if we are looking for a particular device.  How can we combine these into one list?


Upgrading an RDS farm steps

$
0
0
Do you also happen to have information on upgrading a terminal server farm from Server 2012R2 to Server 2019?

Remote Desktop Licensing 2012R2

$
0
0

Hi All.

We purchased from Microsoft 5 License remote desktop Per User but i need help from you to configure server.

My configuration as below 

1. Installed Remote desktop licensing and remote desktop session host role

2. Activate the server and insert the license enterprise agreement.

3. Configured the local group policy (Use the specified Remote Desktop license servers - Set the Remote Desktop licensing mode).

but the 5 user are able to connect to the same server that configured as  Remote desktop licensing 

but if we tried another server only two remote session are allowed

is there any missing step 

Thanks


IT Helpdesk

RDS and TLS 1.0

$
0
0

Hello,

Currently we are trying to implement RDS for one of our servers.

We have Windows Server 2016 Datacenter installed.

Unfortunately it doesn't seem to work with TLS 1.2 and it needs TLS 1.0.

The error we get is Event 36871, Schannel

A fatal error occurred while creating a TLS client credential. The internal error state is 10013.

Is there any way of forcing the RD Connection Broker to use TLS 1.2?

Thank you

Problem with Windows Server 2019 RDS License

$
0
0

Windows Server 2019, Russian version, clean installation, licensed, activated, in the workgroup.

Installed the role of Remote Desktop Services, Remote Desktop Licensing Service and Remote Desktop Session Host.
RDS license server is activated, a license for 5 users is installed.

In group policies, the license server is specified and the "per user" mode is selected. The licensing diagnostic tool does not find any problems, but it shows that the session host server and the licensing server are version 2016.

With a terminal connection to the server, the following message is displayed:
"
There is a problem with your Remote Desktop license, and your session will be disconnected in 60 minutes, Contact your system administrator to to fix this problem"

There are no error records in the logs, the license manager shows that no licenses have been issued and 5 licenses are available.

Which way to dig? Where to look for the cause of the error?

RemoteAPP after windows 10 update 1803 are slow and right mouse button is not responding (it reacts only sometimes)

$
0
0

Hi,

our workstations with Windows 10 pro are in this weekend updated to version 1803. For main system we use RemoteAPP aplications on Windows server 2012R2 (Windows server 2012R2 is full updated). After update on client station are RemoteAPP slower, and  right mouse button is unresponsive, or react verly long time... 

It is a big problem for us.

PS: after replace mstsc.exe and mstscax.dll from older version Windows 10 is all OK. but this is not a solution.

Thanks.


Viewing all 27656 articles
Browse latest View live