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

VDI Session without any UnifiedsessionID windows 2012 R2

$
0
0

Hi Guys,

I have a VDI setup on windows 2012 R2 with two server and  a HA Broker. Last night we had a slight network issue that down connectivity for 30min. 

This morning I have a VDI session that is connected in Active state but I cannot disconnect or logoff the session. If I run it through GUI I get Unable to disconnect Session 0 WTS API Failed.

Looking further into it and running a get-rdUserSession I find the session but it has no UnifiedSessionID. As such I cannot run any of the disconnect-RDUser or Invoke-RDUserlogoff as I have no UnifiedSessionID. 

IF I do a get-RDuserSession | FL  I can find a sessionID which is 5, but this is not the sesssionID.

Anyone got any idea how I can disconnect / Logoff this session?

Thanks for your time?

Craig 


Craig G


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.

Default Users Profile Corrupt, Event ID 1515

$
0
0

We have a 2008 Terminal Server that is getting event ID 1515.

Details
Product: Windows Operating System
Event ID:1515
Source: Userenv
Version:5.2
Symbolic Name: EVENT_PROFILE_DIR_BACKEDUP
Message:Windows has backed up this user's profile. Windows will automatically try to use the backed up profile the next time this user logs on.
   
Explanation

A temporary user profile is loaded because Windows was unable to log you on with your local profile.

A possible cause for this is if your local profile has been corrupted or you no longer have adequate privileges to the profile folders.

Note: All changes made to the temporary profile are lost after you log off.
   
User Action

Look for additional profile events in the Event log to obtain more information about why this occurred or contact the system administrator for additional help.

Is there anyway that I can recover or repair the default users profile?

How to setup HDD's for RDS Host computer

$
0
0

I've got a server that I need to setup for RDS. I have 8x 2.5" bays and I bought 8 1.2 TB 10k rpm 12gb sas drives to use. The raid card is a Dell H730 with 1GB cache.

I am planning on setting up the following in VM's on this server

-RDS Broker with license role

-RDS Host

What would be the best configuration for the hard drives? I was thinking of doing 2 drives in raid 1 for the host and then 6 drives in raid 10 for the VM's to run on. Or would I be better running all 8 drives in raid 10?

Thank you


The following general database error occurred: The instance could not be initialized ESE - error -501 JET_errLogFileCorrupt, Log file is corrupt.

$
0
0

I have a problem with RDSL - after power loss serwer stops responding correctly. I have to reinstall (overinstall for user data being untouched) server from DVD (Windows Server 2012 R2 Foundation), but it lost its RDP licences, and I cannot start TerminalServiceLicensing anyway. Every attemp ends with error: The following general database error occurred: The instance could not be initialized ESE - error -501 JET_errLogFileCorrupt, Log file is corrupt.

Is there any way to clear log, or do anything with this file (which one filename and location)?


FARM issues

$
0
0

I have a RDS 2016 Farm, with 2 CB's and 8 RSH servers. There are 4 collections with 2 RSH in each collection.

The issue is when I connect and launch the .RDP i created for one session collection, all of the other RSH servers are provide as the server holding the .RDP session which of course they are not.  the session collection has a set of apps setup on only two servers which are added to the collection (no other RSH are available in the collection)

How do we isolate the RSH/collection from the other RSH/collections so only the servers supporting the .rdp are queued?

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)




Load Balance between servers

$
0
0

Hi,

I need an advice.

I have 2 standalone servers. Each of them have RD Web, RD Connection Broker and RD Session Host roles installed. Users are using Full RDP session, no Published Apps.

Each user connect to server via RDP to: server1.contoso.com or to server2.contoso.com
Everything is working, but when i need to install updates it is a nightmare.

How can i setup a single rdp link, for example: remote.contoso.com ? Like that if i deny new connections to server2, once the existing connections expire i will be able to update the server transparently and without interruptions for the users. I prefer not to use DNS RR. May be some Load Balance in front (like KEMP) ? I'm not sure what exactly i need to balance ? RD web or RD CB ?
Thanks,
S


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 

RDS2019 - Compatibility --> High DPI settings stop working when RDS role enabled

$
0
0

Hi.

We are rolling out RDS 2019 in our environment. We've got a lot of complaints about the DPI settings not being able to set in the session anymore like in 2008R2, but it has to be done on the local client, which is really cumbersome. However, when done so, we still have some applications with issues.

Now, for most of them I can fix it by setting the compatibility settings:



On a Server 2019 test machine, when set to Application, the application actually shows up fine. On RDS2019 though, it doesn't. I've been working on this for a while, until I installed a machine from scratch, do one step of our installation script at a time, and see where it started failing. It turn out as soon as we enable the RDS role, the DPI settings don't have any effect anymore, and the app is all blurry.

When I remove the RDS role, they start working again. Would anyone know how to fix this?



Disable cortana on RDS 2016 server

$
0
0

hello what is the best way to disable cortana on RDS 2016 server ?

thank you .

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!

Win2016 RDS Quick install blocks RDP

$
0
0

I'm in the process of setting up a Windows 2016 server with an accounting app. We have four users who need to access the app via RDP so I attempted to do a Quick Install of the RDS services, but after it installs and reboots I'm unable to RDP into it. I get error "There are no available computers in the pool"

EDIT: After removing RDS from Server Manager and rebooting the server I'm able to RDP in and see that the install was still running. It fails at Session Collection install with "unable to create the session collection. Failed to contact server."

Redirected printers not showing in Devices and Printer - unable to change defaults

$
0
0
We have a Windows Server 2012 Remote Desktop Server and are having problems with redirected printers on it. The problem occurs for users running the RDP client from Windows 7, 8 and 10.

Users are connecting over a WAN connection and are needing to print to their local network printers. The printers are connected successfully to their local workstations, and the option to redirect printers is selected in the RDP client. When users remote connect to the server the local printers show as available from within an application, such as Word, and they can print successfully using them, however they don't show in the Devices and Printers in the remote desktop session.

The problem is they want to change the default settings on the printer to be single-sided B&W and the default is Auto-color, double-sided. This can be changed manually from within the application but it doesn't stick once they log off and back on again.

Following the recommendation from this link:  https://support.microsoft.com/en-us/kb/243942  I was able to change the defaults by going to the redirected printer in Devices and Printers and making the change under both Printing Preferences and Printing Defaults on the printers, then waiting for at least a minute before logging off and the settings are persistent for that user through a logoff and back on again.

We had major printing issues with this server and printers when using the Windows Easy Print driver as they constantly randomly never printed jobs, and Microsoft Support concluded we needed to disable using Windows Easy Print drivers first and load matching drivers on both the local workstation and the server. This resolved the problems they had re the non-printing, but it meant changes to the default settings had to be made on the redirected printer as above, as changing them on the local printer doesn't carry through the redirection.

I was able to configure the redirected printers at the time as they showed up in the Devices and Printers, but for some reason they don't any more. The changed defaults have stayed persistent for users that the change was made on, but they now want it made for new users. Also checking for existing users they no longer have the redirected printers showing up in Devices and Printers either.

There have been no changes to the server that I am aware of that would cause the printers to no longer show up. Directly attached printers show up OK, just not the redirected printer. Checking the device manager does show the print queue for the redirected printer, and as mentioned earlier, it's available to print to.

I thought perhaps copying the registry configuration of a working configured printer and loading that each time a user logs on to the Remote Desktop Server might be an option, but the redirected printers change the redirection number each time so they wouldn't match.

Any thoughts or suggestions about how to either get the redirected printers showing up again, or configure them for persistent defaults would be greatly appreciated.


Stuck in loading virtual machine

$
0
0

I have VDI 2012 environment  I installed tow servers and setup cluster between them and create one server for RD Broker and I created on it personal collection pool and I added on personal collection windows 7 professional SP1 and I assigned this virtual machine to specific user .

and I created self certificate on RD WEB server and once connect from physical machine to RD web then I can see the collection and once connect to this virtual machine then the remote connection stuck on the "loading virtual machine" more than 5 minutes after that appear message "the remote desktop disconnect by administrator etc.."

 when open the Event viewer under remote desktop I saw the below error :

Source:        Microsoft-Windows-TerminalServices-SessionBroker

Date:          9/23/2013 11:39:33 AM

Event ID:      802

Task Category: RD Connection Broker processes connection request

Level:         Error

Keywords:     

User:          ###############

Computer:      ###########

Description:

RD Connection Broker failed to process the connection request for user #########.

Error: VM plugin failed to wakeup a VM.

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="Microsoft-Windows-TerminalServices-SessionBroker" Guid="{D1737620-6A25-4BEF-B07B-AAC3DF44EFC9}" />

   



can't able to reset the user name password for the Active directory users using RD web console session

$
0
0

I have enabled the RD web and console session in Active Directory and tried to reset user password using web session, however i am getting the following error
Your new password does not meet the length, complexity, or history requirements of your domain. Try choosing a different new password.
I made changes in the password policy and updated the group policy but the still the issue is persisting.  When I tried to change the password after disabling/not defined state of the password policy the issue occurring again.
When we set the user must change the password during first log on, we could change the password without any hurdles.

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?

RDS 2016 on Hyper-V 2016 Server (Gen 2) - Windows Audio process jams

$
0
0

Hi,

I have a cluster of Windows 2016 RDS servers that get a random problem about once a week.

Users report that they cannot reload Chrome after they close it and Skype For Business stops working as well.   

After much digging we find that a svchost.exe process has jammed which is the Windows Audio Service.  This is stopping all RDS users from closing Chrome properly and Skype for Business starting.

If we manually end the process, all users sessions return to normal and it may not happen again for another week.

I have a feeling that this is something to do with the fact that the RDS servers are Hyper-V machines.

We see the following in the event log:

Log Name:      System
Source:        Service Control Manager
Date:          02/04/2019 08:29:21
Event ID:      7011
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ServerName
Description:
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the Audiosrv service.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
    <EventID Qualifiers="49152">7011</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2019-04-02T07:29:21.664468600Z" />
    <EventRecordID>36692</EventRecordID>
    <Correlation />
    <Execution ProcessID="1172" ThreadID="80608" />
    <Channel>System</Channel>
    <Computer>ServerName</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="param1">30000</Data>
    <Data Name="param2">Audiosrv</Data>
  </EventData>
</Event>


RDS farm - additional logging required for dropped connections

$
0
0

Hi all,

           2 x 2016 brokers at front of farm, 200 session hosts running 2012 R2.

We are having seemingly random disconnects - and the issue is that we cant find anything in the logs indicating why clients are disconnecting.

The existing articles around about increasing logging dont appear to be applicable. e.g. https://support.microsoft.com/en-my/help/2747656/introduction-to-log-files-that-are-useful-for-troubleshooting-rds-issu

I'm interested in 

Turning up RDP logging on certain clients as much as possible

Turning up RDP logging on certain session hosts as much as possible

I dont believe we need to increase logging on the brokers, as the brokers seem to be doing their job correctly.

Can anyone suggest methods for this? unfortunately i cannot put procmon and wireshark on them asll, as there are just too many - and the issue appears to be "random" 

CredSSP Encryption Orcacle Remediation Error

$
0
0

Hello,

A couple of my users want to use RDP to do their work, but recently they have been getting this error. 

This is simply trying to get onto a workstation. So in my use case the user is just trying to RDP onto a Windows 10 Enterprise Edition (they are trying to log onto their computer from home), not a Windows Server or anything like that.

https://support.microsoft.com/en-us/help/4295591/credssp-encryption-oracle-remediation-error-when-to-rdp-to-azure-vm

In my research I've found that I can get around this by going into the the group policy editor and going toComputer Configuration > Administrative Templates > System > Credentials Delegation,and then trying to change the Encryption Oracle Remediation policyto Enabled and then change the Protection level to Vulnerable. 

But when I go into the group policy editor the Encryption Oracle Remediation policyis not there. 

So I am not sure what I can do to fix this, all I want is the ability to remote into a Windows 10 machine, I have tried from multiple computers that reside on my network (and on a VPN as well) can RDP into other computers, except for my user's one workstation. Is there something I can reinstall on my user's workstation or repair to let computers RDP connect to it? 

-Thanks

Viewing all 27656 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>