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

Windows Server 2016 - RD Connection Broker - Failed to install because one or more parent service not installed or disabled

$
0
0

Hi All,

I've been trying for the past couple of days to deploy Remote Desktop Services to newly built 2016 Server (member server not DC). It just fails repeatedly when trying to install the connection broker role.

I've completed the windows updates (although that was dramatic in itself!) and then turned my attention to installing RDS services, tried Role based and remote desktop services type deployments, but on both it just fails and gives a useless and generic error message:

----------------------------------------------------------------

GetAlterationState method returned Failed. Error: The request to add or remove features on the specified server failed.
Installation of one or more roles, role services, or features failed.
One or several parent features are disabled so current feature can not be enabled. Error: 0xc004000d


----------------------------------------------------------------

I've tried the following:

Change the Windows Internal Database service to administrator, or network service, or local system. (didn't work)

Moved server to separate container and disabled GPO inheritance incase it's a group policy setting issue.

Tried installing connection broker role via powershell.

Changed local security policy to make sure log on as service right is set for NT Service\All services, domain admins and network service.

SFC scan and DSIM repair image.

I can't figure out which service is possibly required to install this role which I haven't already enabled.

CBS logs don't provide much insight into why this has failed unfortunately.

Any advice or help would be greatly appreciated.

Cheers,
Billy


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.


Ghost typing the letter G

$
0
0
We have a 2016 standard server to which a few employees connect to for Terminal Services. Only one client using Windows 10 has suddenly developed an odd problem. The letter "g" keeps being printing. It doesn't happen on the computer itself, just in TS. I removed all peripherals thinking maybe there was some signal being transmitted from there, but still happens. Any ideas?

RDS 'HA' Connection Brokers with SQL - Powershell to manage Collecitons/RemoteApps or Server Manager?

$
0
0

Hi Guys

I am running a 2012R2 RDS environment with 'HA' Connection Brokers with SQL in the background hosting the RDS DB. All working nicely. What I have noticed however is that if I use the 'Active' Broker Server Manager (GUI) to update Collection or RemoteApp settings, I seem to get inconsistent results. Before I give a couple of example, What is the best practice for updating Collection or RemoteApp settings in an HA Broker/SQL enviroment? GUI or Powershell? Or should the both give exactly the same result?

Thanks!

RDS lost network card and is now not working?

$
0
0

We have a customer wit a newly setup cloud server environment with RDS (single server). The first day of production the datacenter that holds the servers lost the NIC (virtual network card) in the VMware-environment.

We added a new NIC and the server was accessible again. But here is where the problems begin:

- The sessions is never registered and therefore the users cannot disconnect and later connect again
- The users need to remember to Sign Out every time they leave the RDP-session

If we look in the Server Manager on the RDS we get this error:



When running checks in Powershell we get these results:

PS C:\Windows\system32> Get-RDSessionCollection

CollectionName                 Size  ResourceType       CollectionType    CollectionDescription
--------------                 ----  ------------       --------------    ---------------------
QuickSessionCollection         1     RemoteApp programs PooledUnmanaged

PS C:\Windows\system32> Get-RDSessionCollectionConfiguration -CollectionName QuickSessionCollection | fl

CollectionName        : QuickSessionCollection
CollectionDescription :
CustomRdpProperty     : use redirection server name:i:1


PS C:\Windows\system32> Get-RDSessionHost -CollectionName QuickSessionCollection
Get-RDSessionHost : No session collection QuickSessionCollection was found.
At line:1 char:1
+ Get-RDSessionHost -CollectionName QuickSessionCollection
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RDSessionHost

PS C:\Windows\system32> Get-RDServer

Server                                             Roles
------                                             -----
RDS01.PRENOVA.SE                                   {RDS-RD-SERVER, RDS-CONNECTION-BROKER, RDS-WEB-ACCESS, RDS-GATEWAY...}


PS C:\Windows\system32> Get-RDUserSession

CollectionName    DomainName        UserName          HostServer                                        UnifiedSessionId
--------------    ----------        --------          ----------                                        ----------------
QuickSessionCo... PRENOVA           admmisko          RDS01                                             86
QuickSessionCo... PRENOVA           magges            RDS01                                             113
QuickSessionCo... PRENOVA           kathyt            RDS01                                             106
QuickSessionCo... PRENOVA           johfor            RDS01                                             97
QuickSessionCo... PRENOVA           emeohm            RDS01                                             94
QuickSessionCo... PRENOVA           ulrnor            RDS01                                             119
QuickSessionCo... PRENOVA           lareri            RDS01                                             121
QuickSessionCo... PRENOVA           ulfagr            RDS01                                             124
QuickSessionCo... PRENOVA           andkle            RDS01                                             114
QuickSessionCo... PRENOVA           kimami            RDS01                                             118
QuickSessionCo... PRENOVA           lenwes            RDS01                                             93
QuickSessionCo... PRENOVA           Urbohm            RDS01                                             125
QuickSessionCo... PRENOVA           parbom            RDS01                                             96


PS C:\Windows\system32> Get-RDConnectionBrokerHighAvailability
Get-RDConnectionBrokerHighAvailability : A valid fully qualified domain name (FQDN) for the server was not specified.
At line:1 char:1
+ Get-RDConnectionBrokerHighAvailability
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RDConnectionBrokerHighAvailability

PS C:\Windows\system32> Get-RDSessionCollection

CollectionName                 Size  ResourceType       CollectionType    CollectionDescription
--------------                 ----  ------------       --------------    ---------------------
QuickSessionCollection         1     RemoteApp programs PooledUnmanaged

HELP WANTED:

We need help in solving this situation once and for all. We would like this fixed without installing a new RDS as they have som difficult applications that we do not want to install again.

HOW do we get rid of the probable cause of this issue? Is it the first (lost) NIC's MAC-address that is causing this?
Is that MAC-address hidden somwhere in the Registry or in Windows Server 2016s own local DB?

Any tips on HOW this should be fixed is HIGHLY APPRECIATED!

Regard
Mikael Sköld, Atea

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.


Unable to connect to RDSH (collection) from Windows 7 - All Windows 10 works

$
0
0

Hey

Unable to connect to RDSH (collection) from Windows 7 - All Windows 10 works.

If I disable NLA on the Windows 7 clients its able to connect to the RDSH (collection)

If I connect "directly" to a RDSH it works. (but not over our connection broker)

Any ideas?

Mike


Restrict users from Access network resource if not join to domain.

$
0
0

is there any way to Restrict the users from access the network resources only allow them to join domain controller.



RDS Gateway 60 second delay

$
0
0

A couple months ago I deployed a Windows Server 2012 R2, with the intent of using RDS Gateway on it for a client.  I got it working, but there is a 60 second delay during the login process to the RDS Gateway.  Specifically, the RDP client hangs on "Configuring Remote Session."  This happens 100% of the time from outside the network (but never when connecting to the same server on port 3389 from *inside* the same network that the server is on).  It is also important to know that even though there is always a 60 second delay, it still connects successfully 100% of the time.  The client is not happy with the 60 second delay though (understandably), and has asked me to to solve the problem.  I have done a ton of research, but the few possible solutions I came up with ended up not solving the problem.  Here is everything I have done so far:

-My problem is *most* similar to this other post:  http://social.msdn.microsoft.com/Forums/en-US/20a68eec-d639-47f7-abd1-3ae10aaf4db8/remote-desktop-to-web-role-gets-stuck-on-configuring-remote-connection    However, the problem in that case eventually resolved on its own, & I have already tried the only suggestion mentioned in that thread (disabling port re-direction).....either I did that improperly, or it did not help).

-100% of the time immediately after a 60 delay login, I get this warning in the server's event log:  

SERVERNAME20499WarningMicrosoft-Windows-TerminalServices-RemoteConnectionManager

Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin


"Remote Desktop Services has taken too long to load the user configuration from server \\servername.domainname.local for user XXXXXX"   (where XXXXXX is an actual username).

The only recommendation I can find after researching *that* warning message is a small registry edit, which I have tried, and it did not help.

-In my research, I came across someone's theory that the problem is related to the SSL certificate, & the fact that the internal domain has a .local extension (which mine does).  According to this theory, Microsoft's RDS Gateway (unfortunately) exposes the RDS Session host's computer name (including its .local extension) to the remote/external RDP client, and therefore the 60 second delay is caused by the remote/external RDP client taking time to look for the SSL certificate for the session host, which doesn't exist.  The only way to determine whether this theory is the actual cause of the 60 second delay, or not, is to actually purchase a UC Certificate, which supports multiple domain names.  There is an additional problem with testing this theory however, in that ICANN has mandated that certificates will no longer support .local (and similar) domain extensions come November, 2015.  Therefore, even if I go through all the work to purchase & install the UC Certificate, *and* it happens to solve this 60 second login delay problem (which is a big "if"), that solution would only work for 1.5 more years from now.

I hope you can see I have tried hard to solve this problem on my own, but I am unable to.  I really need some outside perspective to cut through the troubleshooting fog in my head regarding this particular problem.  It is for that reason that any assistance with this problem would be greatly appreciated!  Thank you in advance!



Block network access from terminal

$
0
0

Hey everyone!

Need help. I have a terminal server in AD. The terminal server is public with few remote apps for 5 accountants. Installed Remote Apps connect to another server with MySQL databases in my local network and he is not public. I want to block network access from the public terminal to the local network with the exception of the SQL server. That 5 accountants should not have access to my network at all. Via GPO I blocked cmd, powershell, and iexplorer. In RemoteApp settings, I left only the clipboard and printer mapping. Any advice for resolving my idea?

Thanks for help

RemoteApp hangs, can't log off

$
0
0

Hello. First time posting here, so please bear with me and my broken English.

I'm working as IT guy in small company that uses program called Symfonia for invoices, wares etc. It is installed on virtual machine with Windows Server 2012 R2, to which people connect via RemoteApp shortcuts with redirecting of their local printers.

My problem started 3 weeks ago, when one of rdp sessions hanged while probably printing bill from Posnet Thermal connected via USB and redirected using COM port. I couldn't (using local administrator account on server) log that user out or kill their instance of Symfonia.exe (access denied)(wait chain empty in task manager). I installed ProcessExplorer to change permissions to kill hanged process, but something weird happened. I couldn't use ProcessExplorer using "run as administrator", it just doesn't show up, but process creates itself in Task Manager. It worked normally (not as admin), but i couldn't change permissions of other processes.

After one process hanged, anyone who tried to print something would experience same thing, even while using not redirected printer.

And the best part is, sometimes when this occurs, I can't log out myself from local admin user (sits at logging off).

Only thing that helps in this situation is restarting server itself, which sometimes doesn't "end", just hangs in "turning off" state. Have to forcefully shut it down in that case.

While everything runs normally (more or less for about a day after restart) I can normally run ProcessExplorer as administrator.

Collections tab missing under my profile for Remote Desktop Services

$
0
0

When I log in RDS servers to try and publish applications to RD Web Access.  The Collection tab is missing under my profile.  Other users log into the server and the Collection tab is visible.  Does anyone know the fix for this?

The logon attempt failed when connecting to multiple RDP sessions

$
0
0

Whenever I connect to more than one RDP session that is through a gateway, some of them will not allow me to log on.  I get the error "The logon attempt failed" and that is all.  If I disconnect from some of the other sessions and reboot my computer, I can then connect to the server that was given me said error.

I can also connect to the server giving me said error without closing down other sessions or rebooting by connecting through a Hyper-V virtual machine on my computer. 

None of this makes any sense.  Has anyone else seen this behavior?

James

Can RDS run on a workgroup environmet?

$
0
0
Hello,

Can RDS, running on Server 2016 STD with the roles RD Web Access, RD Broker, RD Session Host, and RD license run on a workgroup environment or does it need to be on a domain?

Thank you!

Auto logon and run Remote App

$
0
0

I am looking for a way to allow domain users click the .rdp file and it can auto automatically logon the remote desktop server and run remote app with their AD credential. I currently published the remote app and downloaded the remote app .rdp file to the workstation. But it still requires users to type username and password to logon, then the remote app run.

Thanks,

Hanson


RDS 2016 - Outlook showing underlaying window

$
0
0

Hi.

Environment:

  • Windows Server 2016
  • RDS Remote Apps
  • Office 2016 - MSI Installation
  • Windows 10 Enterprise v1803 clients

The Outlook window dissaperars or looses focus when the cursor is moved between e-mails or tasks. Resulting in the application behind Outlook showing instead.

The problem is sporadic and it does not matter what window is behind Outlook. PDF reader, Excel, etc...

The video below shows the problem.

Remember: In the video the user is only moving the mouse cursor. No mouse clicks and no keyboard keys are in play here.

https://streamable.com/5am7k 

./ Lars Olsen



Windows 10 1703 Breaks RemoteApp - Remote Desktop Gateway

$
0
0

Hello all,

We have a RemoteApp environment with a Remote Desktop Gateway running on Server 2008 R2. All of our Windows 10 clients running any version PRIOR to 1703 can connect just fine. However, after 1703 is applied, they can no longer connect. They get this error:

"Your Computer can't connect to the remote computer because a security package error occurred in the transport layer..."

I have found others having this same issue: https://remotedesktop.uservoice.com/forums/266795-remote-desktop-services/suggestions/18937990-windows-10-1703-unable-to-connect-via-remote-des

Is there any workaround with this? We have a large RemoteApp terminal services environment, and as our remote users get upgraded to 1703, they are one by one unable to connect.

Thank you for the help!

RTS

Unable to connect to my Remote desktop "There is a problem with this website's security certificate ''

$
0
0
   

 <big>There is a problem with this website's security certificate </big> 

The security certificate presented by this website has errors and should not be trusted.
 
Security certificate problems may indicate an attempt to fool you or to intercept data that you send to the server.
 
We recommend that you do not continue to this website.
 
If you decide to trust 'appstore.gard.local:443',
in spite of our recommendation, it will be temporarily allowed for this session.

 

Terminal services licensing in workgroup server 2016

$
0
0
Which license should i purchase for terminal access in server 2016 with workgroup setup. All our users are in workgroup and there is no  domain setup in our company. its a small office and we are accessing the server(around 12 users) via remote desktop(with LAN only). Earlier it was  server 2003(workgroup only) and have 15 userCAL licenses  in it, it was working fine.
recently we purchase this new server with server 2016 and also purchased 10 userCAL licenses. new server is up and running and enabled remote desktop services also, its working fine now(without RDS license. should be in free grace period). Is that my userCal licenses will work with this or do i need to purchase devCAL for this setup?

SERVER 2012 - RDS Cert stuff

$
0
0

I have probably created a huge mess. I originally had three servers in my farm. I made changes in collections to control who can log onto which rds host using domain group membership.

That works fine when directly connecting to the rds host via our vpn, using the ip of the rds host.

Now I'm trying to get the web access corrected. I have expired certificates. Figure correcting this will help.

I'll start with this screenshot. Can anyone help resolve the error?

Happy share more info if needed.

Viewing all 27765 articles
Browse latest View live


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