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

Firewall Ports for RDS 2016 Html 5

$
0
0

I've tried to configure RDS html5 solution in 2016 Server, and in internal network works great!

After that, I use TMG 2010 to publish from internet, but when I click to open a App one error message are showed, talking "connection was lost.." So... I check TMG  tracing logs and found this error:

Failed Connection Attempt
Log type: Web Proxy (Reverse)
Status: 64 The specified network name is no longer available. 
Rule: RDSGateway
Source: External (177.3.222.89:12566)
Destination: Local Host (vm2016.domain.local 192.168.0.122:443)
Request: GET https://192.168.0.122:443/remoteDesktopGateway?CorId=%7Be1cfa7cd-c55a-481a-a257-cc4bb7230000%7D&ConId=%7B7111bfed-bccb-43ff-9772-71851a6cc5e1%7D&ClGen=HTML%3D1&ClBld=Type%3DRdClient%3B%20Build%3Dprivate&AuthS=SSPI_NTLM
Filter information: Req ID: 0aa91cf7; Compression: client=No, server=No, compress rate=0% decompress rate=0%
Protocol: https
User: anonymous

I used the same rule for RDS 2012 R2. would something more be needed?


Douglas Filipe http://douglasfilipe.wordpress.com


Microsoft Hyper-V Server 2019 - RD Virtualization Host feature missing

$
0
0

I'm trying to use Hyper-V Server 2019 as a virtualization host.  This fails.

I have 3 computers;

  1. domain controller
  2. Windows Server 2019, which will be RD Connection Broker and RD Web Access
  3. Hyper-V Server 2019, which will be RD Virtualization Host

When I attempt to install this using Server Manager, RD Connection Broker and RD Web Access installation succeeds, but RD Virtualization Host fails.

Investigating further, the feature is missing! Here's some PowerShell, confirming I am running Hyper-V Server 2019 (downloaded today, 3 July 2019), and the Remote Desktop Virtualization Host feature simply not there!

Get-ComputerInfo | select OSName,OSVersion

OsName                   OsVersion
------                   ---------
Microsoft Hyper-V Server 10.0.17763


Get-WindowsFeature

Display Name                                            Name                       Install State
------------                                            ----                       -------------
[X] File and Storage Services                           FileAndStorage-Services        Installed
    [ ] File and iSCSI Services                         File-Services                  Available
        [ ] File Server                                 FS-FileServer                  Available
    [X] Storage Services                                Storage-Services               Installed
[X] Hyper-V                                             Hyper-V                        Installed
[ ] Remote Desktop Services                             Remote-Desktop-Services        Available
[ ] .NET Framework 3.5 Features                         NET-Framework-Features         Available
    [ ] .NET Framework 3.5 (includes .NET 2.0 and 3.0)  NET-Framework-Core               Removed
[X] .NET Framework 4.7 Features                         NET-Framework-45-Fea...        Installed
    [X] .NET Framework 4.7                              NET-Framework-45-Core          Installed
    [ ] ASP.NET 4.7                                     NET-Framework-45-ASPNET        Available
    [X] WCF Services                                    NET-WCF-Services45             Installed
        [X] TCP Port Sharing                            NET-WCF-TCP-PortShar...        Installed
[ ] Background Intelligent Transfer Service (BITS)      BITS                           Available
    [ ] Compact Server                                  BITS-Compact-Server            Available
[ ] BitLocker Drive Encryption                          BitLocker                      Available
[ ] Data Center Bridging                                Data-Center-Bridging           Available
[ ] Enhanced Storage                                    EnhancedStorage                Available
[ ] Failover Clustering                                 Failover-Clustering            Available
[ ] I/O Quality of Service                              DiskIo-QoS                     Available
[ ] Media Foundation                                    Server-Media-Foundation        Available
[ ] Multipath I/O                                       Multipath-IO                   Available
[ ] Remote Server Administration Tools                  RSAT                           Available
    [ ] Feature Administration Tools                    RSAT-Feature-Tools             Available
        [ ] BitLocker Drive Encryption Administratio... RSAT-Feature-Tools-B...        Available
        [ ] DataCenterBridging LLDP Tools               RSAT-DataCenterBridg...        Available
        [ ] Failover Clustering Tools                   RSAT-Clustering                Available
            [ ] Failover Cluster Module for Windows ... RSAT-Clustering-Powe...        Available
            [ ] Failover Cluster Automation Server      RSAT-Clustering-Auto...        Available
            [ ] Failover Cluster Command Interface      RSAT-Clustering-CmdI...        Available
    [ ] Role Administration Tools                       RSAT-Role-Tools                Available
        [ ] Hyper-V Management Tools                    RSAT-Hyper-V-Tools             Available
            [ ] Hyper-V Module for Windows PowerShell   Hyper-V-PowerShell             Available
[ ] SMB 1.0/CIFS File Sharing Support                   FS-SMB1                        Available
    [ ] SMB 1.0/CIFS Client                             FS-SMB1-CLIENT                 Available
    [ ] SMB 1.0/CIFS Server                             FS-SMB1-SERVER                 Available
[ ] SMB Bandwidth Limit                                 FS-SMBBW                       Available
[ ] SNMP Service                                        SNMP-Service                   Available
    [ ] SNMP WMI Provider                               SNMP-WMI-Provider              Available
[ ] Telnet Client                                       Telnet-Client                  Available
[X] Windows Defender                                    Windows-Defender               Installed
[X] Windows PowerShell                                  PowerShellRoot                 Installed
    [X] Windows PowerShell 5.1                          PowerShell                     Installed
    [ ] Windows PowerShell 2.0 Engine                   PowerShell-V2                  Available
[ ] Windows Server Backup                               Windows-Server-Backup          Available
[ ] Windows Standards-Based Storage Management          WindowsStorageManage...        Available
[ ] Windows Subsystem for Linux                         Microsoft-Windows-Su...        Available
[X] WoW64 Support                                       WoW64-Support                  Installed

According to Using Hyper-V Server 2008 R2 for VDI – Matthijs's blog I would have expected to something like this, clearly showing "Remote Desktop Virtualization Host" as a component;

But that doesn't appear on Hyper-V Server 2019.

Hence...

Add-WindowsFeature –Name RDS-Virtualization

...simply doesn't work.

How do install "Remote Desktop Virtualization Host" on Hyper-V Server 2019?



Monitoring RDS Per User CAL Overages

$
0
0

Hi All,

Quick question (I think).

I'm trying to find the best way to monitor our Per-User RDS CAL usage on Server 2016 v1607.  Is there any automated way to find out how many CALs are in use so I can write a monitor to warn me when we're at, or approaching, our licensed limit?

Any help to ensure we maintain compliance is greatly appreciated.

Thanks!

Justin

RD Connection Broker issue

$
0
0

Hi

From time to time we have BSOD on Session Host servers. Users which had sessions on these server can't reconect to another Session Host server, because Connection Broker redirects them to inaccessible server. It lasts about 30 minutes.

Is some way to "inform" Connection Broker that Session Host is unavailable now? Or reduce time out?


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

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


Redirecting certain local drives to RDS collection desktop

$
0
0

Hello everyone,

We currently have an RDS collection set up with high availability connection brokers.

In our collection settings, we have redirection enabled for any type of drives and shown here:

As expected, when a user logs into their RDS Desktop, all of their local drives get redirected to their remote desktop (including any network drives they have mapped locally):

What we're looking to do is to only redirect the C: drive, the D: drive, and the E: drive. Our network drives begin on F: so that we have room for USB drives on D: and E:.

As a quick test, I've tried to redirect only the C: drive. So, I went on to our connection broker and typed in the following PowerShell command:

Set-RDSessionCollectionConfiguration -CollectionName "CollectionTest" -CustomRdpProperty "drivestoredirect:s:C:"

The command ran successfully and since we have two connection brokers, I went to make sure that the registry got updated on both connection brokers. And alas, it replicated on both connection brokers (as expected):

I logged into our desktop published by our RDS collection and found out that this didn't work.All of our drives are still being redirected. I went ahead and rebooted the remote desktop session host (RDSH) and all network drives are still being redirected.

I tried entering the command in again, however this time, I added the other two drives that I want to be redirected:

Set-RDSessionCollectionConfiguration -CollectionName "CollectionTest" -CustomRdpProperty "drivestoredirect:s:C:D:E:"

I followed the same process, making sure that the registry had updated on both connection brokers, etc. and still no results. All of the local drives are still being redirected.

Is there a part I'm missing here? Am I typing in the wrong command? Any insight would greatly be appreciated.

Thanks


Find other users/session printers?

$
0
0
Hi, is it possible for an Administrator to get info about other users printers on a terminalserver. I have tried different commands and used psexec and even if the users see that the command windows is running the result is only the Administrators printers. I need to run wmic printer get name,default or Get-WmiObject -Query " SELECT * FROM Win32_Printer WHERE Default=$true" as/in another user/session and then return that users printers not the Administrators printers.

Replaced SSL cert, now getting certificate error when launching remote apps

$
0
0

Set up:

Server2016 Hyper V Guest 
Remote Desktop Gateway
Remote Desktop Licensing
RD Web Access
RD Connection Broker

Server2016 Hyper V Guest
RD Session host

Internal FQDN: Domain.Company.Local
External FQDN: company.ca

SSL Cert Wildcard: *.company.ca

DNS redirects remote.company.ca > external IP on firewall

Firewall port forwards RDP requests to Remote Desktop Gateway via custom port :9999 (443 was taken and my firewall didn't redirect through a WAF well with RDP so this worked)
Custom Port was set in transport options on remote desktop.

Initial setup worked fine, imported the SSL certs (which are now expired) then I updated the server to the HTML 5 client.

That worked until the certs expired, I replaced the certs first in the remote desktop gateway manager then in the Server Manager > Remote Desktop Gateway Overview > Collection Properties (selected the new cert for each, hit apply)

Checked IIS binding, its now the new cert.  Did IIS reset, and rebooted server to make sure changes took.

The portal gets the new cert just fine back to secure padlock in browser.  When launching an app though I get a certificate error:

Your session ended because an unexpected server authentication certificate was received from the remote PC. Ask your admin or tech support for help.

Certificate information:

Server Name:
CN=*.company.ca
Certificate thumbprint (SHA1):

<THE CORRECT CERTIFICATE THUMBRPINT)

I verified the thumbprint against the cert and all was correct.  I hadn't changed the FQDN from the setup before, and even tried rolling back the server and checking, as soon as I swap the cert out in any of the places it breaks the FQDN external being different from internal hoops I had to jump through originally.

Oddly if I go to /rdweb and use the non-html5 method the remote apps fire up and launch just fine.

What am I missing here?


Installing RDS automatically using local credentials : Authentication issue : New-RDSessionDeployment : Validation failed for the "RD Connection Broker" parameter.

$
0
0

Hi all

I would like to setup RDS Session on new servers automatically.

The first step to join the server to the Active directory domain is ok

Now I would like to install RDS Roles Session automatically

When the server reboot, it runs a script using local admin account.

I know one need an Active directory account to deploy.

So I tried this :

    $user = "AD\User"    $pwd  = ConvertTo-SecureString "xxxxx" -AsPlainText -Force    $cred = New-Object System.Management.Automation.PSCredential($user,$pwd)    Add-LocalGroupMember    -Group "Administrators" -Member $user  | Out-File -Append $LogFile    Import-Module RemoteDesktop    #Enable-PSRemoting -Force    Invoke-Command -ComputerName $Env:Computername -ScriptBlock {                   $RDSSrvName = $Env:Computername + ".xxx.yyy.com"                   $LogFile = "$Env:ProgramFiles\Renault\RDS_Roles_setup.log"                   New-RDSessionDeployment -ConnectionBroker $RDSSrvName -WebAccessServer $RDSSrvName -SessionHost $RDSSrvName | Out-File -Append $LogFile    }     -Credential $cred # -Authentication CredSSP    $null = install-windowsfeature  -Credential $cred  RSAT-RDS-Licensing-Diagnosis-UI -LogPath $LogFile    Remove-LocalGroupMember -Group "Administrators" -Member $user  | Out-File -Append $LogFile

It returns

[

MYSERVER] Connecting to remote server MYSERVER failed with the following error message : Access is
denied. For more information, see the about_Remote_Troubleshooting Help topic.    + CategoryInfo          : OpenError: (MYSERVER:String) [], PSRemotingTransportException    + FullyQualifiedErrorId : AccessDenied,PSSessionStateBroken

If I add Enable-PSRemoting -Force before the command, I get

[

MYSERVER]Connecting to remote server [MYSERVER] failed with the following error message : Access is
denied. For more information, see the about_Remote_Troubleshooting Help topic.    + CategoryInfo          : OpenError: ([MYSERVER]:String) [], PSRemotingTransportException    + FullyQualifiedErrorId : AccessDenied,PSSessionStateBroken    + PSComputerName        : MYSERVER

Even if I try to run the command as the Active directory user being AD-User and Local admin , I get too :

PS C:\users\ad-admin\Desktop> $RDSSrvName = $Env:Computername + ".xxx.yyy.com"
PS C:\users\ad-admin\Desktop> New-RDSessionDeployment -ConnectionBroker $RDSSrvName -WebAccessServer $RDSSrvName -SessionHost $RDSSrvName


New-RDSessionDeployment : Validation failed for the "RD Connection Broker" parameter.
MYSERVER.xx.yy.fr Unable to connect to the server by using Windows PowerShell remoting.
Verify that you can connect to the server.
At line:1 char:1+ New-RDSessionDeployment -ConnectionBroker $RDSSrvName -WebAccessServe ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RDSessionDeployment


Could some tell me what I missing ?

The Active Directory user has no right on the active directory

Thanks


ML








Redirecting USB drives and local drives to RDS collection desktop

$
0
0

Hello everyone,

We currently have an RDS collection set up with high availability connection brokers.

In our collection settings, we have redirection enabled for any type of drives and shown here:

As expected, when a user logs into their RDS Desktop, all of their local drives get redirected to their remote desktop (including any network drives they have mapped locally):

What we're looking to do is to only redirect the C: drive, the D: drive, and the E: drive. Our network drives begin on F: so that we have room for USB drives on D: and E:.

As a quick test, I've tried to redirect only the C: drive. So, I went on to our connection broker and typed in the following PowerShell command:

Set-RDSessionCollectionConfiguration -CollectionName "CollectionTest" -CustomRdpProperty "drivestoredirect:s:C:"

The command ran successfully and since we have two connection brokers, I went to make sure that the registry got updated on both connection brokers. And alas, it replicated on both connection brokers (as expected):

I logged into our desktop published by our RDS collection and found out that this didn't work.All of our drives are still being redirected. I went ahead and rebooted the remote desktop session host (RDSH) and all network drives are still being redirected.

I tried entering the command in again, however this time, I added the other two drives that I want to be redirected:

Set-RDSessionCollectionConfiguration -CollectionName "CollectionTest" -CustomRdpProperty "drivestoredirect:s:C:D:E:"

I followed the same process, making sure that the registry had updated on both connection brokers, etc. and still no results. All of the local drives are still being redirected.

Is there a part I'm missing here? Am I typing in the wrong command? Any insight would greatly be appreciated.

Thanks


RD session connections windows server 2016 - two computers couldn't connect in the amount of time allotted

$
0
0

we have RDS installed in Windows 2016 standard edition and use session-base desktop deployment.

It was working fine for about one year. About two weeks ago, we started to have the following issue:

This computer can't connect to the remote computer.
The two computers couldn't connect in the amount of time allotted. Try connecting again. If the problem continues, contact your network administrator or technical support. 

When this issue happens, we find some users are disconnected in the RDS-Collections-QuickSessionCollection. But we cannot log/sign off those users, they are always showing there.

BTW, we can sign of those users in the Task Manager-Users. 

We can solve this issue by restarting the server. How to fix it without restarting the server?

Thanks!

Limit users to a single RDS session across all servers in collection (Server 2016)

$
0
0

Hello everyone,

I have a Remote Desktop Services deployment consisting of:

  • RD Connection Broker + RD Licensing (one server)
  • RD Web Access + RD Gateway (one server)
  • RD Session Hosts (Variable number of servers, usually more than one, autoscaled)

Everything works great except for the fact that sometimes users are able to open sessions on more than one server; please see the (edited) screenshot here: imgur.com/a/In4qk

I have set the Group Policy rule called "Restrict Remote Desktop Services users to a single Remote Desktop Services session" (under Computer Configuration/Policies/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Connections) to Enabled, however the description for that policy states (emphasis mine):

If you enable this policy setting, users who log on remotely by using Remote Desktop Services will be restricted to a single session (either active or disconnected)on that server.

What I want to achieve is basically the same as what the GPO rule states but across all servers in the collection, ie., in the screenshot above, the user would be reconnected to the disconnected session on IP-AC1F42FF instead of getting a new one on the other server.

What compounds to the problem is the fact we're using User Profile Disks which cannot be mounted multiple times. This means that any additional sessions will have a temporary profile loaded with default settings. That leads to problems with, for example, users' regional and other profile settings which are critical for our application.

Any help appreciated.

Anton

OpenGL and Remote Desktop

$
0
0

We have OpenGL application working on a server computer.  If later we connect via RDP to this server, OpenGL application continues to function without any problems. Obviously RDP just transfers image from server to remote computer.

If we start the same OpenGL application on the same server from RDP session, it runs OpenGL not on server but on the remote computer. Application crashes on operations that require OpenGL 2.0 or higher.

Is there any way to force RDP to run OpenGL code always on server no matter how it was started, directly on server or from remote computer?


Remote Desktop VirtualChannelOpen fails: ERROR_NOT_SUPPORTED

$
0
0

Hi,

 

I'm trying to open a virtual channel in my remote desktop-session. I'm calling the WTSVirtualChannelOpen-function of the WtsApi32.dll. 

I already succeed to open and use the virtual channel, but since the windows-update 1903 the open-function failes with the error-code 50 (ERROR_NOT_SUPPORTED).

 

The client and terminal are both running windows 10 with the 1903-update.

I tried to check the Permission-Settings for Remote Desktop Services Connections, but I don't know how.
Other References said it moved to the Group-Policies, but I can't find it there.

I also tried to use the newer VirtualChannelOpenEx-function, but same result. The OpenServer- and EnumerateSessions-function are working fine.

So I'm searching for this Settings:
https://docs.microsoft.com/de-de/windows/win32/termserv/terminal-services-permissions

Thank you for your help,

Nils G.


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.


Server 2012 RDS - User Profile Disks - Errors during Logoff

$
0
0

I have set up a test Server 2012 RDS collection (Single Server for now) and implemented User Profile disks.

I have two problems.

First: My generic test user can connect and does successfully use the user profile disk as expected. However, atlogoff, the system event log contains these errors:


The error (NTFS 137) is: The default transaction resource manager on volume C:\Users\ts3.test encountered a non-retryable error and could not start.  The data contains the error code.

The warning (NTFS 50) that concerns me is:

It appears that the user profile disk is being "disabled" or "disconnected" before the profile data is completely written at logoff. What can I do to troubleshoot this?

Second:

Update: A post from Mike Connor on the following page: -LINK- solved the problem described below. 

My administrative user always logs on now with a temporary profile. At the beginning, the UPD was working and mounting. That stopped working. In attempting to troubleshoot, I logged the admin user off and deleted the UPD disk file from the share. I remember it working again after generating a new UPD disk file in the share. Soon, it quit working again. I deleted the UPD disk file again from the share and ever since, it has never regenerated a new UPD andalways logs on with a temporary profile.









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?

Windows 10 and Remote Web Workplace RDP

$
0
0

Hello.

I am having problems with having a Windows 10 PC access a workstation via RDP through Remote Web Workplace running on SBS 2008.  When the Windows 10 PC tries to access the workstation a dialog box appears:

  1. Title:  VBScript Remote Desktop Connection
  2. Message:  The wizard cannot configure Remote Desktop Connection settings.  Make sure that the client version of Remote Desktop Protocol (RDP) 6.0 or later is installed on this computer.

The Windows 10 PC can access the same workstation without problems when they are not "remote" from each other---just not through the Remote Web Workplace.

Any thoughts?


Viewing all 1106 articles
Browse latest View live


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