RDS 2012 instable and slow

0

I have a big RDS 2012 organization with more than a hundred RDS Host, 2 brokers, and 2 Gateways and 1 license server.

With the time, management become slower and slower and now, it's very slow and bugy. Server Manager take 20minute to load collections, etc...

But my principal problem is that PowerShell cmdlet return error randomly.

Exemple :

Command: New-RDRemoteApp -ConnectionBroker "RDCB01103.exchange.local"
     -Alias "beeb3739-15aa-4c88-8a2e-de4e5e53242a"
     -CollectionName "II1"
     -DisplayName "Administration Serveur"
     -CommandLineSetting "Require"
     -RequiredCommandLine "/v:RAPS01149"
     -FilePath "C:\windows\system32\mstsc.exe"
     -FileVirtualPath "%SYSTEMDRIVE%\windows\system32\mstsc.exe"
     -ShowInWebAccess True
     -IconIndex 0
     -IconPath "%windir%\system32\mstsc.exe"

Give me randomly this error :

Error : Error retrieving the RemoteApp programs: System.Runtime.InteropServices.COMException (0x80070490)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()

I have just relaunch the exact same cmdlet just after and this time, it is ok...

I don't know what to do.

Thank you for any tips to fixed that 😊

performance
powershell
rds
asked on Super User Feb 1, 2020 by Gauthier Massart

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0