Windows Server 2022 App Compatibility FOD breaks Remote Desktop

%3CLINGO-SUB%20id%3D%22lingo-sub-2804434%22%20slang%3D%22en-US%22%3EWindows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2804434%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20installing%20the%20App%20Compatibility%20FOD%20on%20Windows%20Server%202022%2C%20Remote%20Desktop%20connections%20to%20the%20server%20seem%20to%20be%20no%20longer%20possible.%20I%20think%20this%20is%20a%20bug%2C%20but%20haven't%20found%20any%20other%20reports.%20Can%20someone%20confirm%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20to%20reproduce%3A%3C%2FP%3E%3CUL%3E%3CLI%3EInstall%20Windows%20Server%202022%20Standard%20Core%20(physical%20and%20virtual%20installs%20are%20equally%20affected).%3C%2FLI%3E%3CLI%3EIn%20SConfig%2C%20enable%20Remote%20Desktop.%3C%2FLI%3E%3CLI%3EConnect%20to%20the%20server%20via%20Remote%20Desktop%20using%20the%20default%20'Administrator'%20account.%20Works%20fine.%3C%2FLI%3E%3CLI%3EInstall%20the%20App%20Compatibility%20FOD%20and%20reboot%3A%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3EAdd-WindowsCapability%20-Online%20-Name%20ServerCore.AppCompatibility~~~~0.0.1.0%0ARestart-Computer%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3ETry%20establishing%20a%20Remote%20Desktop%20connection%20again.%20Doesn't%20work.%20You%20either%20get%20a%20blank%20screen%20or%20get%20disconnected%20immediately.%3C%2FLI%3E%3CLI%3EInstall%20all%20applicable%20Windows%20Updates%20and%20try%20again.%20No%20change.%3C%2FLI%3E%3CLI%3ERemove%20the%20App%20Compatibility%20FOD%20and%20reboot%3A%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3ERemove-WindowsCapability%20-Online%20-Name%20ServerCore.AppCompatibility~~~~0.0.1.0%0ARestart-Computer%E2%80%8B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3ETry%20again.%20Remote%20Desktop%20functionality%20is%20now%20restored.%3C%2FLI%3E%3C%2FUL%3E%3CP%3EThis%20did%20work%20fine%20in%20Server%202019.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2804434%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EApp%20Compatibility%20FOD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ERemote%20Desktop%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%202022%20Bug%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2808959%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2808959%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1172708%22%20target%3D%22_blank%22%3E%40mauricewalker%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20the%20same%20issue%20and%20didn't%20find%20any%20solution%20yet%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2809875%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2809875%22%20slang%3D%22en-US%22%3E%3CP%3ESame%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20windows%20admin%20center%20to%20remote%20manage%20but%20sometimes%20you%20still%20need%20RDP.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2810043%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2810043%22%20slang%3D%22en-US%22%3EThanks%20for%20confirming.%20Hard%20to%20believe%20no-one%20at%20Microsoft%20noticed%20this.%20Without%20RDP%2C%20the%20App%20Compatibility%20FOD%20is%20pretty%20much%20useless%2C%20isn't%20it%3F%3CBR%20%2F%3EWAC%20is%20also%20my%20preferred%20management%20tool%2C%20but%20it's%20still%20missing%20some%20Hyper-V%20features%20(like%20attaching%20physical%20disks%20to%20a%20VM).%20So%20I%20would%20like%20to%20use%20the%20Hyper-V%20Manager%20(virtmgmt.msc)%20via%20RDP.%3CBR%20%2F%3EWhat's%20the%20best%20way%20to%20escalate%20this%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2810198%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2810198%22%20slang%3D%22en-US%22%3EBecause%20it's%20not%20a%20preview%20issue%20I'm%20not%20sure%20we%20can%20raise%20it%20via%20insiders.%20I%20did%20see%20the%20FOD%20install%20are%20currently%20broken%20in%20WinSvr%20vNext%20so%20perhaps%20this%20will%20get%20fixed%20when%20they%20re%20release%20it%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI%20will%20also%20try%20and%20raise%20this%20via%20my%20MS%20account%20team%20at%20work...%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2813402%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2813402%22%20slang%3D%22en-US%22%3EI'm%20running%20the%20release%20version%20and%20the%20issue%20is%20present.%20I'm%20waiting%20for%20an%20update%20that%20could%20fix%20it%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2813423%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2813423%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20been%20told%20by%20MS%20to%20log%20it%20in%20the%20feedback%20hub%20on%20a%20win10%20or%20win%2011%20machine.%20I've%20done%20that%20so%20would%20be%20good%20for%20people%20to%20up%20vote.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2819358%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2819358%22%20slang%3D%22en-US%22%3E%3CP%3EI%20just%20noticed%20that%20the%20Devices%20Tool%20in%20Windows%20Admin%20Center%20shows%20a%20%22Critical%22%20device%20while%20trying%20to%20establish%20an%20RDP%20connection%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESWD%5CREMOTEDISPLAYENUM%5CRDPIDD_INDIRECTDISPLAY%26amp%3BSESSIONID_0002%3CBR%20%2F%3EThe%20drivers%20for%20this%20device%20are%20not%20installed.%20(Code%2028)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2821101%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2821101%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EI%20do%20not%20have%20any%20unknown%20devices%20when%20attempting%20to%20connect%20via%20RDP.%20It%20passes%20auth%20but%20then%20there%20is%20something%20not%20being%20invoked.%20I%20suspect%20it's%20graphics%20driver%20related%2C%20but%20not%20sure%20why%20FOD%20would%20alter%20that!%20I've%20done%20everything%20from%20re-install%20graphics%20drivers%2C%20to%20reverting%20to%20the%20windows%20basic%20driver%20to%20disable%20Bitmap%20Caching%2C%20RemoteFX%20etc.%20Still%20no%20joy%20%3A(%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2821968%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2821968%22%20slang%3D%22en-US%22%3ESame%20for%20me%2C%20tried%20several%20installs%20on%20different%20machines%20with%20different%20GPUs%20and%20drivers%20because%20I%20initially%20thought%20it%20might%20be%20a%20graphics%20driver%20issue.%20But%20I'm%20now%20pretty%20confident%20it%20isn't.%3CBR%20%2F%3EI've%20given%20up%20for%20now%20and%20use%20WAC%20plus%20local%20KVM%20when%20absolutely%20necessary.%20Hoping%20for%20a%20timely%20patch.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2825022%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2825022%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1174650%22%20target%3D%22_blank%22%3E%40JOHNPILLAR%3C%2FA%3E%2C%20I%20just%20installed%20Feedback%20Hub%20to%20upvote%20the%20issue.%20But%20this%20seems%20to%20be%20just%20a%20steaming%20pile%20of%20rants%20about%20Facebook%20being%20broken%20and%20other%20nonsense.%20I%20was%20unable%20to%20locate%20your%20bug%20report.%20Could%20you%20post%20a%20link%20(if%20that's%20a%20possibility%20with%20Feedback%20Hub)%20or%20some%20keywords%3F%20I%20tried%20the%20obvious%20ones.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2825766%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2825766%22%20slang%3D%22en-US%22%3ELink%20to%20bug%20report%3A%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FAAe0l37%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FAAe0l37%3C%2FA%3E%3CBR%20%2F%3ETitle%3A%20Windows%20Server%202022%20-%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%20(RDP)%3CBR%20%2F%3E%3CBR%20%2F%3EI%20used%20your%20well%20explained%20steps%20to%20re-produce%2C%20hope%20that%20was%20ok.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2836057%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2836057%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1174650%22%20target%3D%22_blank%22%3E%40JOHNPILLAR%3C%2FA%3E%2C%26nbsp%3Bthe%20link%20doesn't%20work%20for%20me.%20Feedback%20Hub%20says%3A%20%22Your%20account%20doesn't%20have%20access%20to%20this%20feedback%22.%20Is%20this%20for%20Insiders%20only%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2836803%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20App%20Compatibility%20FOD%20breaks%20Remote%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2836803%22%20slang%3D%22en-US%22%3EOh%2C%20there%20should%20be%20no%20restrictions%20on%20it.%20I%20did%20not%20set%20any%20so%20must%20be%20a%20MS%20thing.%3C%2FLINGO-BODY%3E
Occasional Contributor

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.

16 Replies

@mauricewalker 

I have the same issue and didn't find any solution yet

Same here.

 

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

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?
Because it's not a preview issue I'm not sure we can raise it via insiders. I did see the FOD install are currently broken in WinSvr vNext so perhaps this will get fixed when they re release it?

I will also try and raise this via my MS account team at work...
I'm running the release version and the issue is present. I'm waiting for an update that could fix it

I've been told by MS to log it in the feedback hub on a win10 or win 11 machine. I've done that so would be good for people to up vote.

I just noticed that the Devices Tool in Windows Admin Center shows a "Critical" device while trying to establish an RDP connection:

 

SWD\REMOTEDISPLAYENUM\RDPIDD_INDIRECTDISPLAY&SESSIONID_0002
The drivers for this device are not installed. (Code 28)

Hi,
I do not have any unknown devices when attempting to connect via RDP. It passes auth but then there is something not being invoked. I suspect it's graphics driver related, but not sure why FOD would alter that! I've done everything from re-install graphics drivers, to reverting to the windows basic driver to disable Bitmap Caching, RemoteFX etc. Still no joy :(
Same for me, tried several installs on different machines with different GPUs and drivers because I initially thought it might be a graphics driver issue. But I'm now pretty confident it isn't.
I've given up for now and use WAC plus local KVM when absolutely necessary. Hoping for a timely patch.

Hey @JOHNPILLAR, I just installed Feedback Hub to upvote the issue. But this seems to be just a steaming pile of rants about Facebook being broken and other nonsense. I was unable to locate your bug report. Could you post a link (if that's a possibility with Feedback Hub) or some keywords? I tried the obvious ones.

Link to bug report: https://aka.ms/AAe0l37
Title: Windows Server 2022 - App Compatibility FOD breaks Remote Desktop (RDP)

I used your well explained steps to re-produce, hope that was ok.
Thx, upvoted yesterday.

@JOHNPILLAR, the link doesn't work for me. Feedback Hub says: "Your account doesn't have access to this feedback". Is this for Insiders only?

Oh, there should be no restrictions on it. I did not set any so must be a MS thing.

@mauricewalker with my work Account i also have no access to this feedback...

Upvoted as well - since apparently uservoice doesn't exist anymore - would love to know how this hit GA.