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

RD Session Host not being issued License by Licensing Server

$
0
0

I'm having issues getting a RDS session host to be issued licenses from the RD licensing server.(configuration is below) If I open the RD Licensing Diagnoser on Server2 I can see it's pointing to Server1 for licensing but it tells me that 

"The Remote Desktop Session Host server is in Per Device licensing mode and No Redirector Mode, but license server IP ADDRESS OF SERVER does not have any installed licenses with the following attributes:
Product version: Windows Server 2016
Licensing mode: Per Device
License type: RDS CALs or VDI Premium Suite licenses"

I entered credentials for Server1 in to server2 Licensing Diagnoser and it connected ok and showed all the available licenses. I then rebooted Server2 and check again and I'm getting the above error message and it won't accept the credentials for Server1, I even setup a new Administrator user on Server1 and tried those credentials and it will not accept it, it immediately fails with no error and the password prompt remains. No configuration changed between the time it took to restart server2, why is this happening? I went in to credential manager on server2, deleted the credentials and retyped them but it doesn't help.


We have two RDS 2016 Servers in a workgroup environment so had to use per device CALS.

Server1 (WORKGROUP)

RD Session Host

Licensing Server Installed and Activated (12 Device CALS installed)

Server 2 (WORKGROUP)

RD Session Host

Connects to Server1 licensing server


W10 1709 RemoteApp - Pop-ups hidden behind main window

$
0
0

Hi, I've this issue after migration of RDS server from 2012 R2 to 2016 and client have Windows 10 1709 but with Windows 10 1703 no issue.

Any suggestions?

Remote App and Desktop Connection Error

$
0
0

Remote App and Desktop Connection has been working fine for a long time, today we tried to add this Remote App to a new users computer and are getting the message "An error occurred, contact your system administrator"

Each time we try and connect, an event ID 1309 is logged in theApplication Event Log and the output is as follows:

Server is Windows Server 2012.

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 29/07/2019 13:20:55

Event time (UTC): 29/07/2019 12:20:55

Event ID: f9fa47823cd6482d970739de8f39ec5e

Event sequence: 14

Event occurrence: 5

Event detail code: 0

 

Application information:

    Application domain: /LM/W3SVC/1/ROOT/RDWeb/FeedLogin-2-132088762149519861

    Trust level: Full

    Application Virtual Path: /RDWeb/FeedLogin

    Application Path: C:\Windows\Web\RDWeb\FeedLogin\

    Machine name: SERVER

 

Process information:

    Process ID: 2796

    Process name: w3wp.exe

    Account name: IIS APPPOOL\RDWebAccess

 

Exception information:

    Exception type: NullReferenceException

    Exception message: Object reference not set to an instance of an object.

   at ASP.webfeedlogin_aspx.Page_Load(Object sender, EventArgs e) in c:\Windows\Web\RDWeb\FeedLogin\WebFeedLogin.aspx:line 17

   at System.Web.UI.Control.OnLoad(EventArgs e)

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

Request information:

    Request URL: https://MYDOMAIN.COM:443/RDWeb/FeedLogin/WebFeedlogin.aspx?ReturnUrl=/rdweb/feed/webfeed.aspx

    Request path: /RDWeb/FeedLogin/WebFeedlogin.aspx

    User host address: 217.x.x.x

    User: 

    Is authenticated: False

    Authentication Type: 

    Thread account name: IIS APPPOOL\RDWebAccess

 

Thread information:

    Thread ID: 12

    Thread account name: IIS APPPOOL\RDWebAccess

    Is impersonating: False

    Stack trace:    at ASP.webfeedlogin_aspx.Page_Load(Object sender, EventArgs e) in c:\Windows\Web\RDWeb\FeedLogin\WebFeedLogin.aspx:line 17

   at System.Web.UI.Control.OnLoad(EventArgs e)

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Any help would be greatly appreciated.

HTML 5 RDS issue with ILO and ESX console

$
0
0

Hi There,

We have recently moved from Citrix XEN to MS Windows Hyper-V to provision our virtual machines to students to teach them how to work with certain hardware/software. To reach our goal we've setup 5 blades running Server 2019 Datacenter Edition with Hyper-V and an extra blade that runs our RDS environment. Since we have students remoting in from a variety of places and companies and RDP is blocked by most we opted to use the new HTML 5 webclient.

The problem we are facing is that in an HTML5 session, whenever a students accesses a ProLiant iLO through either .NET or Java the keyboard stops functioning, or should we say, the key mapping no longer makes sense. The ENTER key works but everything else is not resulting in output. If we take over our HTML5 session with RDP we can see that the input is in fact there, but it is gibberish.. in other words a W becomes a / and a ? becomes a ".In NOTEPAD or WORD or any other application the input is proper and keyboard mapping is fine. As soon as we open an iLO session or even the ESX Console the keyboard mapping is off.

We thought of raising a case with MicroSoft, however, HTML 5 webclient still being a BETA Product we figured try the forum first. 

Thanks!

Dimitri. 

Migrate connection broker 2016 to 2019

$
0
0

Hi,

As RDS 2019 upgrade documentation seems to be non existing, I thought I'd ask this question here. Is it still necessary to migrate a connection broker from version 2016 to 2019 by doing an in place upgrade of the machine as was the case with 2012 to 2016? As the connection broker role is basically the same in both versions, I thought it might be possible to place the 2016 broker in HA mode, add a 2019 broker and remove the 2016 machine after that.

Is that possible?


How to change RDS License Type (Windows 2008 R2)

$
0
0

Hello Team,

Currently our server is configured with a license server type "TS or RDS Per Device". The server mode is configured for "Per User", but diagnostic is presenting the following problem: 

The Remote Desktop Session Host server is in Per User licensing mode and No Redirector Mode, but license server servername01.local does not have any installed licenses with the following attributes:
Product version: Windows Server 2008 or Windows Server 2008 R2
Licensing mode: Per User
License type: RDS CALs

The suggested solution is: 

Use RD Licensing Manager to install the appropriate licenses on the license server or change the licensing mode for the Remote Desktop Session Host server.

How I can resolve this issue? The intent is to have the server license running in "Per User" mode. 

Regards!

Rdweb/pages error - Object reference is not set to an object instance.(event ID: 1309)

$
0
0

Hi,
I have new Windows Server 2019 with role RDP. But I have problém with RD Web Access. When I connect to website Rdweb (from localhost, from local net, remote net) always I get "Runtime error".

I've been trying to find a fault for a long time, but nothing - still RDWeb/Pages "Runtime error" respective "Object reference is not set to an object instance.".I set up debug and log and everything what I have is:

1.) from web pages

Exception Details: System.NullReferenceException: Object reference not set to an object instance.

Source error:

Line 91:         if ( eAuthenticationMode == AuthenticationMode.Forms )
Line 92:         {
Line 93:             if ( HttpContext.Current.User.Identity.IsAuthenticated == false )
Line 94:             {
line 95:                 bool fQueryContainsReturnUrl = false;                  

Source file:  c:\Windows\Web\RDWeb\Pages\cs-CZ\Default.aspx    Line:93            

Stack Trace:[NullReferenceException:Object reference is not set to an object instance.]
   ASP.<GetAppsAsync>d__0.MoveNext() in c:\Windows\Web\RDWeb\Pages\cs-CZ\Default.aspx:93
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
   System.Web.UI.<ExecuteTasksAsync>d__3.MoveNext() +364
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
   System.Web.UI.<ProcessRequestAsync>d__554.MoveNext() +997

2.) from Event Viewer

ID event: 1309       Task category: Web Event

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 26.07.2019 18:16:23

Event time (UTC): 26.07.2019 16:16:23

Event ID: 9cd11d9874bd4da79cb14298742eb0c1

Event sequence: 9

Event occurrence: 8

Event detail code: 0

Application information:

    Application domain: /LM/W3SVC/1/ROOT/RDWeb/Pages-9-132086309364000844

    Trust level: Full

    Application Virtual Path: /RDWeb/Pages

    Application Path: C:\Windows\Web\RDWeb\Pages\

    Machine name: SRV-INPULZ1

Process information:

    Process ID: 5076

    Process name: w3wp.exe

    Account name: IIS APPPOOL\RDWebAccess

Exception information:

    Exception type: NullReferenceException

    Exception message: Odkaz na objekt není nastaven na instanci objektu.

   v ASP.cs_cz_login_aspx.<LoginPageLoadAsync>d__0.MoveNext() v c:\Windows\Web\RDWeb\Pages\cs-CZ\login.aspx:řádek 194

--- Konec trasování zásobníku z předchozího místa, ze kterého byla vyvolána výjimka ---

   v System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   v System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   v System.Web.UI.PageAsyncTaskManager.<ExecuteTasksAsync>d__3.MoveNext()

--- Konec trasování zásobníku z předchozího místa, ze kterého byla vyvolána výjimka ---

   v System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   v System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   v System.Web.UI.Page.<ProcessRequestAsync>d__554.MoveNext()

 

Request information:

    Request URL: https://ts1.inpulz.cz:443/RDWeb/Pages/cs-CZ/login.aspx

    Request path: /RDWeb/Pages/cs-CZ/login.aspx

    User host address: 192.168.168.124

    User: 

    Is authenticated: False

    Authentication Type: 

    Thread account name: IIS APPPOOL\RDWebAccess

Thread information:

    Thread ID: 10

    Thread account name: IIS APPPOOL\RDWebAccess

    Is impersonating: False

    Stack trace:    v ASP.cs_cz_login_aspx.<LoginPageLoadAsync>d__0.MoveNext() v c:\Windows\Web\RDWeb\Pages\cs-CZ\login.aspx:řádek 194

--- Konec trasování zásobníku z předchozího místa, ze kterého byla vyvolána výjimka ---

   v System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   v System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   v System.Web.UI.PageAsyncTaskManager.<ExecuteTasksAsync>d__3.MoveNext()

--- Konec trasování zásobníku z předchozího místa, ze kterého byla vyvolána výjimka ---

   v System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   v System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   v System.Web.UI.Page.<ProcessRequestAsync>d__554.MoveNext()

Custom event details:

cannot figure this one out, any ideas would be appreciated

Please help , many thank Josef K.


Implementing 2nd Remote Desktop Server - Question

$
0
0

Hello, I currently have a Remote Desktop Server "Windows Server 2012 R2" running in a small but busy Accounting Office and it's working great but during last tax season it bogged down from time to time so we are considering implementing a 2nd Remote Desktop Server to help service the load..

Here's some details:

1 - Approx 30 Users running MSOffice and Accounting Apps connecting via RDWeb to run Apps..

2 - The current RDS is a Physical installation with no Gateway as there's no external access at this time to limit security issues.

Question: My plan is to install a New Host "Windows Server 2016" and implement the new RDS as a Virtual Server and I'm not sure if I should tie it back to the current Physical so it can manage the load balancing or if I should just set this up as a separate standalone and just instruct the users how to access each server.. 

My concern is if I tie it to the Physical RDS and there's a problem with the physical server then will it prevent users from accessing the new Virtual RDS.. 

Thanks for you help...Scott

 


Licensing question

$
0
0

Hi,

I have win server 2016 standard. I bought 15 cals and 5 remote desktop users.

I have 15 "real" users, and 5 "devices" (scanner guns, see pic)  that connect straight to the server using RDP using other usernames (gun name).

Question: do I also need a CAL for these users (that will never connect from a computer) or the RDP license is enough?

Thank you.


Alain Bourgeois

Remotedesktopgateway - Configuration issue

$
0
0

Hi everyone,

I have a Win Server 2016 with RD Services on it. Everything is running fine but Remotedesktopgateway cannot be configured by me. I installed the role without errors but configuration ends in the error:

RD Gateway Configuration Failed on [X] With Error: Unable to configure the RD Gateway server: [X] . The error is You cannot call a method on a null-valued expression.. (event-id 4119)

I found no solutions to resolve this issue on the web. I think the problem occurs already during the installation process because the RPC application is missing in the IIS. It's not the first installation of the RDG. Maybe there are some old entries in the registry what cause this failure but I do not know where to search ... Would be nice to get some help from the community ...

Thanks,
Chris

Issue with Automatic Scaling of RDS Hosts in Azure

$
0
0

Does anyone have a resolution for this issue?

I'm trying to implement this in our Azure environment: https://gallery.technet.microsoft.com/scriptcenter/Automatic-Scaling-of-9b4f5e76/view/Discussions#content

When we run this script against our RD Connection Broker that has multiple collections, we have an issue with all servers in a single collection being set to drain mode.

Details: We have 2 Collections on the RD Connection Broker. Both Collections have 3 RD Host Servers. The RD Host servers in each Collection are each in their own Resource Group, meaning all RD Host Servers for a collection are grouped into a single resource group. I set the Config to keep up 2 Servers in off peak mode and run the script against a resource group. All servers in Collection A were put into Drain Mode. All 3 RD Host servers in the collection had a user logged in, so that may have caused an issue as well. Can anyone offer suggestions on how to force this script to only focus on a single collection? Or is there a better way of accomplishing this?

Thanks in advance!

Store App error with Redirected AppData: Windows cannot access the specified device.

$
0
0

Redirected profile including AppData and since doing updates on some machines, they are getting an error stating windows cannot access the specific device, path or file.

Our organization uses redirected profiles AppData and since doing updates on some machine, they are getting an error stating windows cannot access the specific device, path or file. You may not have the appropriate permissions to access the item. The path listed is C:\Program files\windowsApps\%AppName%. Common occurances are Microsoft.office.Desktop.PowerPoint or Microsoft.MicrosoftOfficeHub .

This is happening on multiple machines ranging from version 1709, 1803 and 1809.

Please let me know if any one have solution.

No Remote access to windows server 2016 from windows 10 machine in workgroup.

$
0
0

Unable to take remote access from windows 10 machine in workgroup environment to windows server 2016 joined to Domain using MSTC by using  Domain user credentials.

Got stuck in a login loop, login credentials window popping again and again.

Tried multiple Domain Users credential but still same issue.

From Other workgroup computer in same location having windows 10 OS, remote access to windows server 2016 is working fine by using same domain credentials.

Please let me know if there is any solution.


Windows Server 2019 RDS Session Based Desktop Deployment Failed localhost: One or more errors occured

$
0
0

I have Windows Server 2019 Standard installed on Vmware Vsphere 6.7. I have activated the License of the Server & joined the server to the domain controller. After that I have tried to Install Remote Desktop  Terminal Services . I am getting the below error.

Error Description:- Session Based Desktop Deployment-- Failed--  local host: One or more errors occured



Multiple sessions, programs wont start

$
0
0

Hi,


I have a newly installed Windows 2016 Terminal server. I sat up HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\fSingleSessionPerUser registry setting to allow one user multiple login.

As I expected the users could log in multiple times, but the second, third ... login could not run programs, explorer restarts.

Eg: cmd wont run, but the registry editor runs.

Did i miss a required settings, anyone faced a problem like this?


Regards, Robert


Computer getting internal error when trying to connect

$
0
0

Hi

We are having a strange error with a windows 10 (1903) trying to RDP to a windows 2016 server. We receiving an error An internal error has occurred. We can however, rdp to other servers. We tried different profiles also and same error message. If we reboot the RDS server it is okay for a few days... There are no other error messages. It was working previously then just broke. Also the firewalls are disabled on both sides. 

the connection was denied because the user account is not authorised for remote login

$
0
0
we have a 2016 RDS farm and we have few Session host collection in it and users are able to use the session host.

Now when i am trying to give access to new users in the existing collection, the user is able to access the session host for certain duration after providing access. if he tries to login to the session host next day he is getting the error 

"the connection was denied because the user account is not authorised for remote login"

if i remove the user and add again, the access works for certain period of time and again the next day he is getting the same error. the username is in the properties of the user group collection and still facing the same error. the RDS farm is per user based and there are available user licenses.

Please help on this issue, im not able to trace it as no events are logged in event viewer.

Remote desktop services

$
0
0

dear sir / madam,

currently I'm deploying the application utilizing thin manager. The application is utilizing the RDS (Remote Dekstop service). I have primary and backup/additional domain control. Step 1 is to configure RDS and this step requires the Primary Domain control running.

The RDS works properly if the Primary Domain Control (PDC) is running, but if the PDC problem/not connected then the RDS is not connected (additional domain control is running).

Is the RDS is only connect to PDC ? How can i configure the RDS which connecting to PDC and additional Domain control..so when ever the PDC is down, the RDC still connect to additional domain control

please advise

Thank You

User login stuck in loop, screen flashing

$
0
0

Using 2016 server using Failover Cluster Manager running multiple VMs and RDS setup. 

On one specific Vm for just a few of the users when they try to login the screen just keeps flashing and the login is never successful.  Only a reboot of the VM fixes the problem temporarily but then it is back the next day. 

All user accounts are domain accounts. 

The error log shows this - 

Faulting application name: explorer.exe, version: 10.0.14393.3053, time stamp: 0x5d01d1c5
Faulting module name: ntdll.dll, version: 10.0.14393.2969, time stamp: 0x5ccd148a
Exception code: 0xc0000409
Fault offset: 0x0000000000095ebf
Faulting process id: 0x2220
Faulting application start time: 0x01d54571ddd16db0
Faulting application path: C:\Windows\explorer.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 55df0ec3-4338-4090-afdf-c0657411d218
Faulting package full name: 
Faulting package-relative application ID: 

I have done a fair bit of googling and this seems to be a fairly common issue with no obvious fix other than to rebuild the VM from scratch. 

The thing is it only applies to certain user accounts on the VM not all of them and when the issue is present I can still login with the domain admin account with no problems. 

So couple of questions - 

1) If it is only specific user accounts that display this problem does that suggest that it is not an issue with the VM or is that a false assmumption ? 

2) If it just the user accounts then what I want to do is create new accounts for these users but then I need to replicate their profile in terms of desktop settings etc. 

Can someone tell me how to go about doing that ? 

Any help or suggestions on the above would be much appreciated. 

Problem with RDS 2016 Enviroment - cannot add RDHost with 2016 version

$
0
0
We are preparing to move from RDS 2012 to new RDS 2016 enviroment.

As far everything went great. I've add to one collection old 2012 rdhost. Worked, but when i try to add to collection new rdhost with 2016 datacenter version and i try to run it from iis i receive error like:

"No computers abailable in the pool"

I've searched almoust hole Internet - adding broker local policy etc. Nothing...In this 2016 RDS enviroment there are 2 brokers without HA (i will do this soon, after solve this problem).

Please help with that issue.

Regards,

Michal

Viewing all 27656 articles
Browse latest View live


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