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

what is the best practice to create 2 ts servers and 1 broker server

$
0
0

hello all

i need to upgrade my remote app server from 2008 to 2016,

and i need to create 2 rds servers and 1 broker server.

so i started  from here:

i choose "quick start" and after that its installed me "rd connection broker "rd web access" and "rd session host"  

now i am thinking if to installing the local programs that i need, and publish them.

and for finish i will clone that machine

after that i will create another server that he should to be the broker (if its necessary?)

my question is, its ok to do like that ?

and if its ok to work with 3 broker servers? because in a regular ts servers (not remote app. i remember that need only 1 broker server)

tnx



Disconnecting RDP Session Causing Excel C++ Macro to Pause

$
0
0

Hi,

I'm kicking off an extensive Excel macro on a network machine via Remote Desktop Connection that takes roughly 50 hours to complete. The macro VB calls a DLL file to execute a chunk of code in C++ (I did not build it and am not well versed).  Running the macro in an active session works fine, but if I disconnect and return a good time later, I can tell the macro has made zero progress since when I disconnected from the session--I can tell from status bar communication in Excel.  Once I reconnect my session, the macro continues running like I'd never left and no error messages or code execution breaks messages to be found.

It gets weirder--I have 4 options of VMs to choose from, all of which have identical specs (Windows 10, 64-bit Office, 64-bit OS).  The macro will continue to run when I'm disconnected on only ONE machine. The only difference I can see on the one machine that's successfully running the macro, is that it's the least recent to have been rebooted (and therefore updated) of the lot.

I do not have local admin rights on any of the machines. Any incite would be greatly appreciated. 

I'll caveat that I'm kind of a layman in tech speak; I apologize if I chose the wrong categories to post on.

RDWEB/Webclient not able to connect websocket errors...

$
0
0

after configuring and installing eh webclient on my deployment. when I try to connect to one of the resources I get the error..



when I check for the error in the console i get the following errors...

Can someone help me...

what to do next...


rsamayoa

Remote desktop services goes "stale"

$
0
0

Hi there, we are experiencing an issue where we connect to one of our realtime machines and randomly (this happened about a week apart from one another) after you have authenticated, it just goes black and stays that way. I have to reboot the server to get the remote desktop services working again. 

I have noticed by logging into the console session on vmware, that after authenticating on the remote desktop client, it doesn't actually connect because my session using the same credentials on the vmware console is still active and untouched. 

Here are some errors I see : 

An error occurred when transitioning from CsrConnected in response to EvCsrInitialized. (ErrorCode 0x80070102)
&
An error occurred when transitioning from CsrConnected in response to EvCsrInitialized. (ErrorCode 0x80070057)

These logs are also accompanied by Event ID 4005 "The windows logon process has unexpectedly terminated"

I also noticed when I enter the IP for the VM in the remote desktop client and hit enter, the logon screen comes up immediately instead of the couple of ms you normally wait. 

Any idea on how to fix this permanently? 


How to execute RemoteApp management operations on windows 2016 server with python code?

$
0
0
I need to develop my own web ui to manage a RDSH farm with brokers and underground coding is using python. I need to add/list/edit/delete remoteapps in the web backend. Is there any API available?  Thanks!

RDP/TS - Printing Error

$
0
0

Hi,

Not sure if this is the correct place to post regarding my issue, it's related to Printing/Printer Redirection on Remote Desktop Services!

We have a Remote Desktop Server which day to day operates perfect. It's running Server 2016 DC, recently installed.

We have been having this issue which either happens each day or every two days. We have printer redirection enabled and it works fine, however at some point during the day the server continues redirecting printers. When trying to print however the following error appears:

The document Print Document, owned by <user>, failed to print on printer OfficePrinter (redirected 14). Try to print the document again, or restart the print spooler. 
Data type: RAW. Size of the spool file in bytes: 1015048. Number of bytes printed: 0. Total number of pages in the document: 1. Number of pages printed: 0. Client computer: \\APP1. Win32 error code returned by the print processor: 2147500037. Unspecified error

Another error I seen was the below, which appears multiple times too.

Application popup: Windows - Application Error : The instruction at 0x00007FFA5C56E616 referenced memory at 0x0000000000000074. The memory could not be read.

Click on OK to terminate the program

I did notice when going into Devices and Printers on the Remote Desktop Server the 'Computer/Server' has a status of "Device Setup in Progress" - I noticed the "Device Setup Manager" service was running - which should only be triggered when needed, tried to stop and restart the service however with no luck.

I have tried restarting the Print Spooler, with no difference I also checked to see if we are using  Type 3 or Type 4 drivers as I read Type 4 can cause these kind of issues.

The resolution at the moment, is to get users to log off and restart and this fixes it for a period of time!

If anyone has some ideas or anything to try/look into, please let me know!

Thanks,

Adam

Unable to install RDS roles - Windows Server 2016STD

$
0
0

I am currently having an issue installing RDS on a Windows Server 2016STD. This server IS currently a domain controller. I know it's not recommended to run a terminal server on a DC but it is what is required for the situation. 
From what I understand Microsoft temporarily disabled the ability to install both RDS and ADDS on a single server, but from the info I can find on Server 2016 this has since been re-allowed. 

I am attempting to do a session-based deployment.

When trying to go through the standard deployment method, the installation fails on the RD Connection Broker role service with: "Failed: Unable to install RD Connection Broker role server on server 'Server'".

If trying to install with the Quick Start deployment method, the deployment fails at Remote Desktop Services role services with the error: "Failed: Unable to install the role services. Exception calling "Translate" with "1" argument(s):"Some or all identity references could not be translated."

There don't appear to be any errors or relevant events in the Event Viewer.  

Any help will be greatly appreciated!


User Profile Disks: Disk has the same disk identifiers as one or more disks connected to the system

$
0
0

Hello,

we have a Windows Server 2016 RDS session-based server with User Profile Disks enabled. If there is at least one user logged in, for every other user that connects to the server, a warning is added to the Event logs: "Disk <x> the same disk identifiers as one or more disks connected to the system". Aside from that, all seems to work fine, so should I be worried about these warnings?



User Profile Disks Same Disk Identifiers

$
0
0

Hello.

Running a test RDS2019 server with UserProfile disks hosted on an RDSbroker share on 2016. 

Everything was fine but since the weekend, logging new users onto this server caused a black screen. The system became completely unresponsive. Upon investigation, we're noticing the following errors..

1) Disk 4 has the same disk identifiers as one or more disks connected to the system. Go to Microsoft's support website (http://support.microsoft.com) and search for KB2983588 to resolve the issue.

2) An error was detected on device \Device\Harddisk4\DR24 during a paging operation.

4) The system failed to flush data to the transaction log. Corruption may occur in VolumeId: \\?\Volume{7483659d-0000-0000-0000-100000000000}, DeviceName: \Device\HarddiskVolume27.
(A device which does not exist was specified.)

5) The IO operation at logical block address 0x24ea0 for Disk 4 (PDO name: \Device\00000131) was retried.

For issue 1 i've looked at the KB and checked several other posts, using diskpart to look at the uniqueid, they are all different. 

2) Related? not sure

3, 4 and 5 I could do with some advice please.


Windows 2016 RDS - Start Menu Not Working - get-appxpackage returns nothing

$
0
0

I'm having an issue on a single RDS 2016 server at the moment where the start menu doesn't open.  

I've gone though lots of steps including sfc /scannow  (No errors)   DISM with all the options (No Errors)

I've cleared the Registry in firewall policy\restricted services\configurable\system.

I believe the issue is that I don't have any applications registered in the get-appxpackage at all, it just comes back blanks where as on working machines I get a list of about 15.

I've tried to install the packages by hand using variations of 

Add-AppxPackage -DisableDevelopmentMode -Register C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\AppxManifest.xml -Verbose 

This returns the following;

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
An internal error occurred with error 0x800705AA. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
NOTE: For additional information, look for [ActivityId] 5597e571-c93a-001c-e6eb-97553ac9d401 in the Event Log or use the command line Get-AppxLog -ActivityID
5597e571-c93a-001c-e6eb-97553ac9d401
At line:1 char:1
+ Add-AppxPackage -DisableDevelopmentMode -Register C:\Windows\SystemAp ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\Windows\Syst...ppxManifest.xml:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

If I then use Get-AppxLog -ActivityID5597e571-c93a-001c-e6eb-97553ac9d401

Time                      ID           Message
----                      --           -------
20/02/2019 17:22:29       301          The calling process is powershell.exe
20/02/2019 17:22:29       603          Started deployment Register operation on a package with main parameter: AppxManifest.xml and Options: 0. See
                                       http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
20/02/2019 17:22:29       10002        Creating Resiliency File
                                       C:\ProgramData\Microsoft\Windows\AppRepository\75f29027-c919-4974-89c9-f53bb4413b5f_S-1-5-21-1787921346-3847137862-2124306101-500_1.rslc for
                                       Register Operation on Package Microsoft.Windows.Cortana_1.7.0.14393_neutral_neutral_cw5n1h2txyewy.
20/02/2019 17:22:29       607          Deployment Register operation on package Microsoft.Windows.Cortana_1.7.0.14393_neutral_neutral_cw5n1h2txyewy has been de-queued and is running
                                       for user FISRDS1\Administrator.
20/02/2019 17:22:29       613          Adding uri to the list of Uris: C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\AppxManifest.xml.
20/02/2019 17:22:29       447          GetFullyQualifiedReference from the String Resource Map for package full name:
                                       Microsoft.Windows.Cortana_1.7.0.14393_neutral_neutral_cw5n1h2txyewy and reference string: Microsoft Corporation failed.
20/02/2019 17:22:29       339          Registration will process the extensions in the following order: windows.visualElements windows.autoPlayContent windows.autoPlayDevice
                                       windows.activatableClass.inProcessServer windows.activatableClass.outOfProcessServer windows.activatableClass.proxyStub
                                       windows.activatableClass.downloadUpload windows.search windows.fileOpenPicker windows.fileSavePicker windows.cachedFileUpdater
                                       windows.appUriHandler windows.shareTarget windows.lockScreenCall windows.personalAssistantLaunch windows.fileTypeAssociation windows.protocol
                                       windows.appointmentsProvider windows.activatableClass.backgroundPlaybackClass windows.backgroundTasks windows.DefaultBackgroundTasks
                                       windows.webAccountProvider windows.userDataAccountsProvider windows.preInstalledConfigTask windows.updateTask windows.appService
                                       windows.appointmentDataProvider windows.contactDataProvider windows.emailDataProvider windows.internal.filePickerExperience
                                       windows.dialProtocol windows.restrictedLaunch windows.accountPictureProvider windows.cameraSettings windows.printTaskSettings
                                       windows.print3DWorkflow windows.activatableClass.collector .
20/02/2019 17:22:29       10000        About to service package Microsoft.Windows.Cortana_1.7.0.14393_neutral_neutral_cw5n1h2txyewy. Setting the package state to disabled returned
                                       with 0x80070490.
20/02/2019 17:22:29       339          Registration will process the extensions in the following order: windows.stateExtension windows.applyDataExtension windows.repositoryExtension
                                       windows.capability windows.MRT windows.visualElements windows.alarm windows.autoPlayContent windows.autoPlayDevice
                                       windows.activatableClass.inProcessServer windows.activatableClass.outOfProcessServer windows.activatableClass.proxyStub
                                       windows.activatableClass.downloadUpload windows.gameExplorer windows.search windows.fileOpenPicker windows.fileSavePicker
                                       windows.cachedFileUpdater windows.appUriHandler windows.shareTarget windows.lockScreenCall windows.personalAssistantLaunch
                                       windows.fileTypeAssociation windows.contentType windows.protocol windows.appointmentsProvider windows.defaultPrograms
                                       windows.activatableClass.backgroundPlaybackClass windows.backgroundTasks windows.DefaultBackgroundTasks windows.webAccountProvider
                                       windows.userDataAccountsProvider windows.preInstalledConfigTask windows.updateTask windows.appService windows.appointmentDataProvider
                                       windows.contactDataProvider windows.emailDataProvider windows.internal.filePickerExperience windows.dialProtocol windows.restrictedLaunch
                                       windows.integrityExtension windows.licensing windows.accountPictureProvider AppSync windows.cameraSettings windows.printTaskSettings
                                       windows.print3DWorkflow windows.DeviceSetupManager windows.activatableClass.collector windows.certificates windows.preCompilationExtension
                                       windows.ntServices windows.wmiProviders windows.iisModules windows.performanceProviders windows.eventProviders windows.runTime
                                       windows.DeviceAccess windows.indexedDB windows.MicrosoftAccountClient.SignOut windows.searchIndexer windows.geolocation windows.userDataAccess
                                       windows.repositoryExtension.remove windows.stateExtension.remove .
20/02/2019 17:22:29       827          Capability parsing started for the package Microsoft.Windows.Cortana_1.7.0.14393_neutral_neutral_cw5n1h2txyewy
20/02/2019 17:22:29       5252         An internal error occurred with error 0x800705AA. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
20/02/2019 17:22:29       306          error 0x800705AA: While processing the request, the system failed to register the windows.stateExtension extension due to the following error:
                                       Insufficient system resources exist to complete the requested service.
                                       .
20/02/2019 17:22:29       316          error 0x800705AA: Cannot register the request because the following error was encountered during the registration of the windows.stateExtension
                                       extension: Insufficient system resources exist to complete the requested service.
                                       .
20/02/2019 17:22:29       5252         An internal error occurred with error 0x80070002. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
20/02/2019 17:22:29       331          error 0x80070002: While reverting the request, the system failed to de-register the windows.stateExtension extension due to the following
                                       error: The system cannot find the file specified.
                                       .
20/02/2019 17:22:29       300          error 0x80073CF6: Cannot register the Microsoft.Windows.Cortana_cw5n1h2txyewy package due to the following error: Package could not be
                                       registered.
                                       .
20/02/2019 17:22:29       605          The last successful state reached was ResolvedDeferredRegistrations. Failure occurred before reaching the next state RegistrationChanged. hr:
                                       0x80073CF6
20/02/2019 17:22:29       339          Registration will process the extensions in the following order: windows.stateExtension windows.applyDataExtension windows.repositoryExtension
                                       windows.capability windows.MRT windows.visualElements windows.alarm windows.autoPlayContent windows.autoPlayDevice
                                       windows.activatableClass.inProcessServer windows.activatableClass.outOfProcessServer windows.activatableClass.proxyStub
                                       windows.activatableClass.downloadUpload windows.gameExplorer windows.search windows.fileOpenPicker windows.fileSavePicker
                                       windows.cachedFileUpdater windows.appUriHandler windows.shareTarget windows.lockScreenCall windows.personalAssistantLaunch
                                       windows.fileTypeAssociation windows.contentType windows.protocol windows.appointmentsProvider windows.defaultPrograms
                                       windows.activatableClass.backgroundPlaybackClass windows.backgroundTasks windows.DefaultBackgroundTasks windows.webAccountProvider
                                       windows.userDataAccountsProvider windows.preInstalledConfigTask windows.updateTask windows.appService windows.appointmentDataProvider
                                       windows.contactDataProvider windows.emailDataProvider windows.internal.filePickerExperience windows.dialProtocol windows.restrictedLaunch
                                       windows.integrityExtension windows.licensing windows.accountPictureProvider AppSync windows.cameraSettings windows.printTaskSettings
                                       windows.print3DWorkflow windows.DeviceSetupManager windows.activatableClass.collector windows.certificates windows.preCompilationExtension
                                       windows.ntServices windows.wmiProviders windows.iisModules windows.performanceProviders windows.eventProviders windows.runTime
                                       windows.DeviceAccess windows.indexedDB windows.MicrosoftAccountClient.SignOut windows.searchIndexer windows.geolocation windows.userDataAccess
                                       windows.repositoryExtension.remove windows.stateExtension.remove .
20/02/2019 17:22:29       339          Registration will process the extensions in the following order: windows.visualElements windows.autoPlayContent windows.autoPlayDevice
                                       windows.activatableClass.inProcessServer windows.activatableClass.outOfProcessServer windows.activatableClass.proxyStub
                                       windows.activatableClass.downloadUpload windows.search windows.fileOpenPicker windows.fileSavePicker windows.cachedFileUpdater
                                       windows.appUriHandler windows.shareTarget windows.lockScreenCall windows.personalAssistantLaunch windows.fileTypeAssociation windows.protocol
                                       windows.appointmentsProvider windows.activatableClass.backgroundPlaybackClass windows.backgroundTasks windows.DefaultBackgroundTasks
                                       windows.webAccountProvider windows.userDataAccountsProvider windows.preInstalledConfigTask windows.updateTask windows.appService
                                       windows.appointmentDataProvider windows.contactDataProvider windows.emailDataProvider windows.internal.filePickerExperience
                                       windows.dialProtocol windows.restrictedLaunch windows.accountPictureProvider windows.cameraSettings windows.printTaskSettings
                                       windows.print3DWorkflow windows.activatableClass.collector .
20/02/2019 17:22:29       10001        Finished servicing package Microsoft.Windows.Cortana_1.7.0.14393_neutral_neutral_cw5n1h2txyewy. Setting the package state to enabled returned
                                       with 0x0.
20/02/2019 17:22:29       401          Deployment Register operation with target volume C: on Package Microsoft.Windows.Cortana_1.7.0.14393_neutral_neutral_cw5n1h2txyewy from:
                                       (AppxManifest.xml)  failed with error 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
20/02/2019 17:22:29       404          AppX Deployment operation failed for package Microsoft.Windows.Cortana_1.7.0.14393_neutral_neutral_cw5n1h2txyewy with error 0x80073CF6. The
                                       specific error text for this failure is: An internal error occurred with error 0x800705AA. See http://go.microsoft.com/fwlink/?LinkId=235160
                                       for help diagnosing app deployment issues.

I can't seem to get the system to re-register those applications!

Open to any suggestions?  (Please no, have you restarted the server!)

This happens on all users including local admin and new accounts.  Happens in Safe and Clean Boot.

Thanks.

Black Screen on all new Connections, SessionHost has to be rebooted

$
0
0

hi,

we're suffering from session hosts that produce black screen errors in a RDS 2016 farm.

already connected users can mostly work, all new connections end up with a black screen.

to resolve the error the server has to be restarted.

i can say that

- this error appears after error 1534 (Fehler bei der Profilbenachrichtigung des Ereignisses Delete für Komponente {709E2729-F883-441e-A877-ED3CEFC975E6}. Fehlercode: Das System kann die angegebene Datei nicht finden.) starts appearing in the eventviewer.

- upon checking the registry for this SID i end up at "ProfileNotifyHandler Class app id {E10F6C3A-F1AE-4adc-AA9D-2FE65525666E} inprocserver32, C:\Windows\System32\gameux.dll".

- starting explorer.exe per taskmgr does not open an actual explorer window although the process appears in taskmgr

- tskmgr, eventvwr, cmd can be started without problems

- affected users appear as active in RDS management

- no third party security software is installed

- farm is fully patched

- HKLM\Software\Microsoft\WindowsNT\CurrentVersion\ProfileGUID and ProfileList are ok (no old or .bak entries)

looking forward on how to resolve this without  rebooting the server or a permanent fix

thank you

best regards


Windows Search changes in Server 2019 RDS

$
0
0

Hi,

So nothing like being on the cutting edge......

I have been testing Server 2019 RDS and so-far-so-good apart from an issue with the Windows Search Service.

It appears that in Server 2019 each user gets their own search database EDB file in their profile path (appdata\roaming). e.g.

C:\Users\username\AppData\Roaming\Microsoft\Search\Data\Applications\S-1-5-21-3901271148-1553943383-1671037523-1629\S-1-5-21-3901271148-1553943383-1671037523-1629.edb

When they log on and log off; this is connected to the search service and the following event log is generated

Source:ESENT
EventID: 326
SearchIndexer (10896,D,50) S-1-5-21-3901271148-1553943383-1671037523-1629: The database engine attached a database (3, C:\Users\username\AppData\Roaming\Microsoft\Search\Data\Applications\S-1-5-21-3901271148-1553943383-1671037523-1629\S-1-5-21-3901271148-1553943383-1671037523-1629.edb). (Time=0 seconds)

Unfortunately it appears that this process is not very stable and on some logons the database in the users profile does not attach and the following error is generated

Source:Search
EventID: 3057
The plug-in manager <Search.TripoliIndexer> cannot be initialized.
Context: S-1-5-21-3901271148-1553943383-1671037523-1629 Application

Source:Search
EventID: 3028
The gatherer object cannot be initialized.
Context: S-1-5-21-3901271148-1553943383-1671037523-1629 Application, SystemIndex Catalog
Details: The specified object cannot be found. Specify the name of an existing object.  (HRESULT : 0x80040d06) (0x80040d06)

And a few more similar but related errors....

No subsequent logon/off will succeed in attaching the database until the Windows Search service is restarted

I am not testing with User Profile Disks or Roaming Profiles
There is no AV on the server

Any ideas?

Andy



Andrew



RDWeb Password change page failing to change password

$
0
0

I'm having trouble with this on Windows 2019.

I have thee services installed and the RDWeb/Pages/en-US/password.aspx page loads OK.

When i enter the credentials for a user and try to change the password, no matter the complexity I set for the new password, I get the following message:

"Your new password does not meet the length, complexity, or history requirements of your domain. Try choosing a different new password."

I've disabled password complexity in the GPO to be sure that's not impacting the issue, but the problem persists.

I have seen an error on the RDWeb server hosting this page, in the servers application error log, and am unsure what to do with it:

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 01/09/2019 18:02:51
Event time (UTC): 01/09/2019 17:02:51
Event ID: 9fd930d7635347de8ce161b010f23485
Event sequence: 26
Event occurrence: 2
Event detail code: 0

Application information:
    Application domain: /LM/W3SVC/1/ROOT/RDWeb/Pages-3-132118305533185037
    Trust level: Full
    Application Virtual Path: /RDWeb/Pages
    Application Path: C:\Windows\Web\RDWeb\Pages\
    Machine name: PWADMIN

Process information:
    Process ID: 5576
    Process name: w3wp.exe
    Account name: IIS APPPOOL\RDWebAccess

Exception information:
    Exception type: HttpException
    Exception message: Cannot redirect after HTTP headers have been sent.
   at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication.RedirectBackWithErrorValue(HttpContext objHttpContext, String strDestPage, String strErrorMessage)
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication.<OnAuthenticateRequestAsync>d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



Request information:
    Request URL: https://<myserver address>:443/RDWeb/Pages/en-US/password.aspx
    Request path: /RDWeb/Pages/en-US/password.aspx
    User host address: 10.2.0.38
    User:  
    Is authenticated: False
    Authentication Type:  
    Thread account name: IIS APPPOOL\RDWebAccess

Thread information:
    Thread ID: 27
    Thread account name: IIS APPPOOL\RDWebAccess
    Is impersonating: False
    Stack trace:    at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication.RedirectBackWithErrorValue(HttpContext objHttpContext, String strDestPage, String strErrorMessage)
   at Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication.<OnAuthenticateRequestAsync>d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)





Can anyone assist?

       

Windows server 2019 RDS licensing by device

$
0
0
I have a windows server 2019 server configured with rds licensing per device.I currently have all licenses in use.There are devices that are no longer in use because they have been replaced by more up-to-date devices.I need to remove these devices from licensing in order to release licenses for new devices.I need help with this

Remote Desktop Connection disconnects every 10 mins (externally)

$
0
0

Hi,

Just wondering if anyone could help me. I have a new Dell T440 in a school and RDC is disconnecting every 10 min or so. Please note this only happens when connecting to the server from an external site. If I am on a PC within school and create an RDC session its fine!

I have done the below and rebooted but it’s made no difference.

Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Connections\

Configure keep-alive connection interval     Enabled

Keep-Alive interval:     1

Using Hyper-v the server hosts three Virtual servers, Sims, file & print and the DC. I can connect to any of these remotely via RDC and the connection is stable. The issue just seems to be with the Dells physical version of Server 2016. I have connected Dell and worked with them to upgrade to the latest firmwares and Drivers. Following this Dell has now advised me to log ticket with MS.

This one has stumped me tbh. I have event gone down the route of replacing the router and switches but that's also made no difference either. I am loathed to rebuild the server without exploring every other avenue first. 

Any help would be really appreciated.

Cheers

Mick


Mikehawo


RDS server manager 2016 - RD Connection Broker service denied the remote procedure call (RPC) from an unauthorized computer.

$
0
0

I am getting the above error from our server manager and as a result i am not able to see the users logged on or shadow them from the server manager. Logons are working fine. Server version is 2016  v1607. The enviroment is a single RD session host and another server running Connection broker, gateway, licensing and web access.

What i have tried so far:

Reboot both the terminal server and the connection broker

Removin the terminal server from the collection and adding it again

Checked licensing

Checked DNS

Only other solution i have found was trying this: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/ee907343(v=ws.10)?redirectedfrom=MSDN

But this is for 2008 servers and it is not possible to access the local users and groups since the connection broker is also functioning as DC for the location.

Any suggestions?

RDS 2016 deployment over Citrix Netscaler as load balancer.

$
0
0

Hello,

I would like to create RDS deployment based on Windows Server 2016. Idea is to load-balance RDSH servers via Citrix Netscaler. I have some questions in regards to that deployment. 

Environment: 10 RDSH servers + 2 RDS Connection Brokers + 1 License server. All RDSH servers will be available over NS VIP. 

1. Is RDS Broker server needed if Netscaler is in front of deployment?
2. Will Citrix Netscaler use RDS broker as point to verify whether user has active session or disconnected session?
3. If there is no need to use Gateway/web interface, is it necessary to create collection?

Thank you in advance,

Constant disconnects cause RDP to be almost unusable

$
0
0

I have a user that uses his Windows 10 laptop to connect to the Windows 2008 R2 server using remote desktop. He was working fine for a while then all of a sudden started getting kicked off. He will connect for about 5 - 10 minutes and then get disconnected.

Event logs on the laptop are:

Event ID 1026 - RDP Client ActiveX has been disconnected (Reason = 516) - Remote Desktop can’t connect to the remote computer for one of these reasons:  1) Remote access to the server is not enabled 2) The remote computer is turned off 3) The remote computer is not available on the network  Make sure the remote computer is turned on and connected to the network, and that remote access is enabled.

But he is able to connect so we know that remote access is enabled, the remote computer is not turned off (it's the main file server - never off), and the remote computer is available on the network or he would have never connected to get disconnected.

Event ID 226 - RDP Client_TCP: An error was encountered when transitioning from TcpStateConnectingTransport to TcpStateDisconnected in response to TcpEventConnectionTimeout (Error code:0X80004004)

We only use IPv4 so we have IPv6 unchecked. We specify the IP address and DNS settings so they are on the same network as the server. He remains connected to the network, just not to the server.

Event ID 1105 - The multi-transport connection has been disconnected.

I found an article with similar errors that pointed to inactive ports as the culprit. I checked the registry and found there were over 500 inactive ports. I ran the "fix-it" and it deleted all of the inactive ports. I will apply the HotFix tonight while everyone is logged off and am able to let it reboot. However, clearing those ports didn't stop him from disconnecting.

The event logs on the server are:

Event 25, TerminalServices-LocalSessionmanager - 1:47:14pm

Remote Desktop Services: Session reconnection succeeded: 

User: ServerName\UserName

Session ID: 3

Source Network Address: Laptop's IP Address

Event 24, TerminalServices-LocalSessionManager - 1:52:20pm

Remote Desktop Services: Session has been disconnected: 

User: ServerName\UserName

Session ID: 3

Source Network Address: Laptop's IP Address

This will continue like this all day. He can't stay connected for no more than 20 minutes. Some sessions are only a couple minutes. Does anyone know what we need to do to fix this?

Thanks,

Jessica

Install Yammer notifier on RDS

$
0
0

Hello,

Does anyone know how to install Yammer notifier on RDS W2K12 R2 for all users?
Tried some things but its not working. Normal Yammer installation and the MSI both are not working in RDS.

Any help will be appreciated.

LEVD

Remote Desktop services asking for multiple password attempts

$
0
0

We have 2 connection broker servers and few RDS session servers in the environment managed with VHD. whenever we try to remote in,its asking to login several times even though we enter the correct password. After the third time,users are getting authenticated and was able to login with the same user name and password.

Any solutions for this?

Viewing all 5613 articles
Browse latest View live


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