WebAuthn redirection in MstscLib

Anton Kovtunenko 5 Reputation points
2025-08-11T15:17:48.9633333+00:00

hi All!
in WPF/.net4.8.1 application we are using MstscLib.dll + WindowsFormsHost to work with rdp connection inside our window. for now we are wounder if WebAuthn redirection inside the rdp session will work correctly and if so what settings should be adjusted.

Thanks in advance!

Developer technologies | .NET | Other

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Susmitha T (INFOSYS LIMITED) 2,700 Reputation points Microsoft External Staff
    2025-08-20T07:40:25.2766667+00:00

    Hope you are doing good! Thank you for reaching out. Please find the answer below.

     

    1. Enable WebAuthn Redirection:
      • Go to Computer Configuration > Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection.
      • Locate the policy setting "Do not allow WebAuthn redirection".
      • Make sure this policy is set to Disabled or Not configured.
    2. Confirm Prerequisites:
    • Ensure you have a local Windows device configured with Windows Hello for Business or a compatible FIDO USB security key.
    • Your application should be accessing a remote session from a supported platform. Refer to the comparison of Windows App features across platforms for detailed compatibility. 3.Testing Redirection:
    • Connect to the remote session using the Windows App or Remote Desktop app.
    • Visit a website that uses WebAuthn authentication (like the provided demo link).
    • Use an InPrivate window for this test to reduce any potential caching issues.
      • When you’re prompted to authenticate via Windows Hello or your security key, check if the Windows Security prompt appears on your local device; this indicates that WebAuthn redirection is functioning.
      If issue still persist after following all the steps, we’ll be happy to assist further if needed." Kindly mark the answer as accepted if the issue resolved".

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.