Transcoding fails when RDP in use on Windows 11

Server Version#:1.42.2.10156
Player Version#: 4.152.0 (Web)
I originally found the fix for this issue years ago in Windows10 but at long last I have finally upgraded to W11.

Any time I have an active RDP session to my server, it seems plex is locked out of accessing the GPU. I’ve tried as many group policies related to RDP session enviroment on the server but still cant seem to find a work around. Hoping someone else can this time around.

Oct 04, 2025 07:41:35.231 [14516] Error — [Req#4f3/Transcode/jz704c56hqrs46u4dxjkfuz5/0253d2e4-d690-4300-b5e0-f31f0fefa0f6] [AVHWDeviceContext @ 000002c415c50780] Failed to create Direct3D device (887a0004)
Oct 04, 2025 07:41:35.232 [14516] Error — [Req#4f6/Transcode/jz704c56hqrs46u4dxjkfuz5/0253d2e4-d690-4300-b5e0-f31f0fefa0f6] Device creation failed: -1313558101.
Oct 04, 2025 07:41:35.232 [14516] Error — [Req#4f9/Transcode/jz704c56hqrs46u4dxjkfuz5/0253d2e4-d690-4300-b5e0-f31f0fefa0f6] Failed to set value 'd3d11va=d3d11va:0' for option 'init_hw_device': Unknown error occurred
Oct 04, 2025 07:41:35.233 [14516] Error — [Req#4fc/Transcode/jz704c56hqrs46u4dxjkfuz5/0253d2e4-d690-4300-b5e0-f31f0fefa0f6] Error parsing global options: Unknown error occurred
Oct 04, 2025 07:41:45.255 [7064] Error — [Req#524/Transcode/jz704c56hqrs46u4dxjkfuz5/0253d2e4-d690-4300-b5e0-f31f0fefa0f6] Device creation failed: -1313558101.
Oct 04, 2025 07:41:45.255 [7064] Error — [Req#527/Transcode/jz704c56hqrs46u4dxjkfuz5/0253d2e4-d690-4300-b5e0-f31f0fefa0f6] Failed to set value 'd3d11va=d3d11va:' for option 'init_hw_device': Unknown error occurred
Oct 04, 2025 07:41:45.256 [7064] Error — [Req#52a/Transcode/jz704c56hqrs46u4dxjkfuz5/0253d2e4-d690-4300-b5e0-f31f0fefa0f6] Error parsing global options: Unknown error occurred
Oct 04, 2025 07:41:46.604 [7064] Warning — [Req#539/Transcode] Denying access to transcode of key /library/metadata/74421 due to terminated session