Windows OS Hub
  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange

 Windows OS Hub / Questions and Answers / Slow RemoteAPP Experience, Mouse and Menu Lags after Windows 10 1803 April Update

May 18, 2018 Questions and Answers

Slow RemoteAPP Experience, Mouse and Menu Lags after Windows 10 1803 April Update

After installing the last Windows 10 1803 April Update, users began to complain about the incorrect operation of RemoteAPP applications published on RDS hosts running Windows Server 2012 R2 / Server 2016 (all servers have updated with the latest security patches). RemoteApp applications started to work much slower, any action that is caused by a mouse click is performed 2-3 times longer. Especially slowly the RemoteApp menus are displayed, which are called by right-clicking (menu items flicker, you have to click on them several times, and sometimes drop-down items in the menu do not appear at all).

Windows 7 clients and older Windows 10 builds (1703, 1607) are working with RemoteApps normally. If the user connects to the desktop of the RDS host in full-screen mode via the RDP client, all applications and menus are displayed normally.

Thus, in addition to the error CredSSP Encryption Oracle Remediation in May, our users also encountered poor performance of RemoteApp in Windows 10 1803. It turned out to be a hot month :).

To work around this problem, you can try to change the value of thepolicy  Use Advanced RemoteFX graphics for RemoteApp in the local GPO editor (gpedit.msc) to the Disabled state (GPO section: Computer Configuration -> Policies -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment).

Use Advanced RemoteFX graphics for RemoteApp - gpo

If RDS servers publish graphics programs (usual, the CAD apps ) in the form of remoteapps, then they will not work without Remote FX support.

To fix the problem radically, you can roll back the current Windows build to the previous version (Recovery Options -> Get Started -> Go back to the previous version of Windows 10).

After upgrading to Windows 10 1803, a new version of the RDP client appears in the system, which currently does not work correctly with applications published via RemoteApp. In April Update 2018, the mstsc.exe and mstscax.dll files were updated.

However, there is also a workaround, which is to replace the RDP client version with an older one. Because performance issues with Remoteapp have been encountered also in Windows 10 1709, it’s best to use RDP libraries from 1607 or 1703.

Make sure that you have the version of Windows 10 1803 (OS Build 17133.1) or 1709 installed. Run the command:

Winver

winver - windows 10 1803

If you replace these files in the C:\Windows\System32 directory with the versions of the files from the previous build of Windows 10 (1703 or 1607), the problem with the performance of RemoteApp is gone.

How to replace RDP client files in Windows 10:

  1. Close all RDP connections and running RemoteApp (it is better even to restart the computer)..
  2. Download the archive with the versions of mstsc.exe and mstscax.dll from Windows 10 1607 (mstsc-w10-1607.zip).
  3. Copy the original mstsc.exe and mstscax.dll files from the C:\windows\system32\ to the C:\BackUp using the commands:md c:\backup\
    copy C:\windows\system32\mstsc.exe c:\backup
    copy C:\windows\system32\mstscax.dll c:\backup
  4. Then you need to make your account the owner of the files mstsc.exe and mstscax.dll in the C:\windows\system32\ directory, disable inheritance and grant yourself the permissions to modify the files:takeown /F C:\windows\system32\mstsc.exe
    takeown /F C:\windows\system32\mstscax.dll
    icacls C:\windows\system32\mstsc.exe /inheritance:d
    icacls C:\windows\system32\mstscax.dll /inheritance:d
    icacls C:\windows\system32\mstsc.exe /grant root:F
    icacls C:\windows\system32\mstscax.dll /grant root:F
    replace mstsc.exe and mstscax.dll
    (In this example, the name of the local account with administrator permissions is root. Replace it with your account name).
  5. Replace the files in the C:\windows\system32\ directory with the files from the downloaded archive.
  6. Restore the original permissions on the copied files. To do this, enable inheritance of NTFS permissions and set the owner of the files to “NT Service\TrustedInstaller”:icacls C:\windows\system32\mstsc.exe /inheritance:e
    icacls C:\windows\system32\mstscax.dll /inheritance:e
    icacls C:\windows\system32\mstsc.exe /setowner "NT Service\TrustedInstaller" /T /C
    icacls C:\windows\system32\mstscax.dll /setowner "NT Service\TrustedInstaller" /T /C
  7. It remains to re-register the library:
    regsvr32 C:\Windows\System32\mstscax.dll

This should restore the normal performance of your RemotApps.

You can replace the mstsc.exe and mstscax.dll files on multiple computers in an Active Directory domain by using the startup scripts in the GPO.

5 comments
1
Facebook Twitter Google + Pinterest
previous post
Can’t Remove Extra Languages after Windows 10 1803 April Update
next post
Vembu BDR Suite v3.9.1 Released: What’s New?

Related Reading

Configuring Network Settings on RHEL/CentOS

February 15, 2021

Configuring Software RAID on Linux Using MDADM

January 11, 2021

Install and Configure OpenVPN Server on Linux CentOS/RHEL

December 31, 2020

Compress, Defrag and Optimize MariaDB/MySQL Database

November 3, 2020

Configuring High Performance NGINX and PHP-FPM Web Server

October 23, 2020

5 comments

Christian July 6, 2018 - 1:06 pm

Hi there!
Thank you very much – this article leaded me to the right answer!
Disabling RemoteFX did the trick – but – curious as I’m, I investigated further.
RemoteFX is relaying on UDP as protokoll this is as far as I know the main difference (in network terms) using it.
So i checked the IPS log of my firewall – seeing that it’s detecting an UdpFlood against my RDP Host.
created an Exception > everything works fine now =)

Reply
Dan August 23, 2019 - 5:36 pm

Performed the icacls (results as your screenshots), but when i copy the new files (via an admin command prompt) access denied.

Reply
Jake April 30, 2020 - 8:02 pm

The issue has to do with mouse polling. Some mice have a polling over 1000, adjusted your mouse to 120hz makes the lag go away.

Reply
Martin Feuerstein August 2, 2020 - 7:33 pm

Thank you, this fixed it for my. Razer Naga is set to a default of 1000 Hz. After reducing the polling rate to 125 Hz RemoteApps are now working fine.

Reply
Martin Feuerstein August 2, 2020 - 7:19 pm

After I had replaced the files Windows Update is not able to install 2020-07 Cumulative Update in Win 10 2004, KB4565503. The installation reported 0x8007000D, c:\windows\logs\cbs\CBS.log gives the following error:

Error CSI 0000000f (F) Hydration failed for component Microsoft-Windows-TerminalServices-ClientActiveXCore, version 10.0.19041.388, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} on file mstscax.dll with NTSTATUS -1073283059[
Error CSI 00000010 (F) Matching binary mstscax.dll missing for component Microsoft-Windows-TerminalServices-ClientActiveXCore, version 10.0.19041.388, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}[gle=0x80004005]
[…]
Info CSI 00000015 Hashes for file member [l:11]’mstscax.dll’ do not match.

After restoring the Win10 2004 files I was able to install the 2020-07 CU.

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange
  • Windows 10
  • Windows 8
  • Windows 7
  • Windows Server 2016
  • Windows Server 2012 R2
  • Windows Server 2008 R2
  • PowerShell
  • VMWare
  • MS Office

Recent Posts

  • Accessing USB Flash Drive from VMWare ESXi

    February 26, 2021
  • How to Sign a PowerShell Script (PS1) with a Code Signing Certificate?

    February 25, 2021
  • Change the Default Port Number (TCP/1433) for a MS SQL Server Instance

    February 24, 2021
  • How to Shadow (Remote Control) a User’s RDP session on RDS Windows Server 2016/2019?

    February 22, 2021
  • Configuring PowerShell Script Execution Policy

    February 18, 2021
  • Configuring Proxy Settings on Windows Using Group Policy Preferences

    February 17, 2021
  • Updating Group Policy Settings on Windows Domain Computers

    February 16, 2021
  • Managing Administrative Shares (Admin$, IPC$, C$, D$) in Windows 10

    February 11, 2021
  • Packet Monitor (PktMon) – Built-in Packet Sniffer in Windows 10

    February 10, 2021
  • Fixing “Winload.efi is Missing or Contains Errors” in Windows 10

    February 5, 2021

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Windows 10 1803 can’t run EXE files from a network shared folders
  • Windows Defender Threat Service has stopped. Restart it now
  • Fix: RDP Authentication Error Has Occurred – The Function Requested Is Not Supported
  • Can’t Remove Extra Languages after Windows 10 1803 April Update
  • Edge Browser and Store Stopped Working after Windows 10 1809 Update
  • Fix: Secure Connection Failed Error in Mozilla Firefox
  • “The update is not applicable to your computer”: Windows Update Error
Footer Logo

@2014 - 2018 - Windows OS Hub. All about operating systems for sysadmins


Back To Top