Forum Discussion

mauricewalker's avatar
mauricewalker
Brass Contributor
Oct 01, 2021
Solved

Windows Server 2022 App Compatibility FOD breaks Remote Desktop

When installing the App Compatibility FOD on Windows Server 2022, Remote Desktop connections to the server seem to be no longer possible. I think this is a bug, but haven't found any other reports. Can someone confirm?

 

How to reproduce:

  • Install Windows Server 2022 Standard Core (physical and virtual installs are equally affected).
  • In SConfig, enable Remote Desktop.
  • Connect to the server via Remote Desktop using the default 'Administrator' account. Works fine.
  • Install the App Compatibility FOD and reboot:

 

Add-WindowsCapability -Online -Name ServerCore.AppCompatibility~~~~0.0.1.0
Restart-Computer

 

  • Try establishing a Remote Desktop connection again. Doesn't work. You either get a blank screen or get disconnected immediately.
  • Install all applicable Windows Updates and try again. No change.
  • Remove the App Compatibility FOD and reboot:

 

Remove-WindowsCapability -Online -Name ServerCore.AppCompatibility~~~~0.0.1.0
Restart-Computer​

 

  • Try again. Remote Desktop functionality is now restored.

This did work fine in Server 2019.

  • This is now fixed in OS Build 20348.524 (https://support.microsoft.com/en-gb/topic/february-8-2022-kb5010354-os-build-20348-524-c5355158-0f4d-4106-90f7-0a5a6c7376b9), available from Windows Update since February 8, 2022.

32 Replies

  • mauricewalker's avatar
    mauricewalker
    Brass Contributor

    This is now fixed in OS Build 20348.524 (https://support.microsoft.com/en-gb/topic/february-8-2022-kb5010354-os-build-20348-524-c5355158-0f4d-4106-90f7-0a5a6c7376b9), available from Windows Update since February 8, 2022.

  • dmutsaers's avatar
    dmutsaers
    Iron Contributor
    KB5008353: Releasing Windows 11 Build 22000.466 to Beta and Release Preview Channels

    "We fixed an issue that causes a remote desktop protocol (RDP) session to disconnect or the screen to be blank for Server Core. This issue occurs when you install the AppCompat feature."

    Let's hope this fix will be publicly available for Windows Server 2022 soon.

    https://blogs.windows.com/windows-insider/2022/01/14/releasing-windows-11-build-22000-466-to-beta-and-release-preview-channels/
    • Obi_Yoann's avatar
      Obi_Yoann
      Copper Contributor

      Issue is now fixed with the CU released yesterday, KB5009608, build 20348.502.
      I have tested it on 3 vms, all of which are WS2022 core based, with app compat FOD.
      I can connect to them fine with RDP! 🙂

      https://support.microsoft.com/en-us/topic/january-25-2022-kb5009608-os-build-20348-502-preview-54285445-4a79-4bc1-9c9c-fbe7299e1c29 

      • Addresses an issue that causes a remote desktop protocol (RDP) session to disconnect or the screen to be blank for Server Core. This issue occurs when you install the AppCompat feature.

      • mauricewalker's avatar
        mauricewalker
        Brass Contributor
        Great to hear! How did you install the update? Can't see it in Windows Update using WAC.
  • ticktok's avatar
    ticktok
    Copper Contributor
    At last Microsoft have acknowledged the problem and promised a fix in a 'future' cumulative update.
    Let's hope the 'future' is measured in weeks or months and not years.
      • ticktok's avatar
        ticktok
        Copper Contributor

        mauricewalker 

        https://docs.microsoft.com/en-us/windows-server/get-started/server-core-app-compatibility-feature-on-demand#installing-the-app-compatibility-feature-on-demand

         

        See red block with Caution

  • JR_Tayschrenn's avatar
    JR_Tayschrenn
    Brass Contributor

    mauricewalker  l'd like to add as well how horrible of a choice it was to force us to use a Feedback Hub app for bug reporting.  Come on Microsoft.

  • sysadminRiga's avatar
    sysadminRiga
    Copper Contributor
    same. rdp not working.
    but in version with no graph interface it works.
    • polaticus's avatar
      polaticus
      Copper Contributor

      sysadminRiga yes, same situation. I have hybrid ambients, some with Desktop Experience, some with Server Core. With Desktop, no problems, RDP works fine...but with AppCompatibility, RDP crashs

  • polaticus's avatar
    polaticus
    Copper Contributor
    I have the same problem without a server core. Any news?
    • JOHNPILLAR's avatar
      JOHNPILLAR
      Copper Contributor

      Same here.

       

      Using windows admin center to remote manage but sometimes you still need RDP.  

      • mauricewalker's avatar
        mauricewalker
        Brass Contributor
        Thanks for confirming. Hard to believe no-one at Microsoft noticed this. Without RDP, the App Compatibility FOD is pretty much useless, isn't it?
        WAC is also my preferred management tool, but it's still missing some Hyper-V features (like attaching physical disks to a VM). So I would like to use the Hyper-V Manager (virtmgmt.msc) via RDP.
        What's the best way to escalate this?

Resources