How Can I Get YubiKey RDP Passthrough to Work with Windows Server 2016?
Asked by
knock_knock_
I'm struggling to get my YubiKey to work properly via RDP on Windows Server 2016. It works fine on newer operating systems, but I'm running into issues on 2016. The YubiKey shows up in the RDP session โ I can see it with certutil and in the YubiKey Management GUI, but when I try to use it for verification on Yubico's site, I'm not prompted for a PIN. Instead, I get an error saying, "The operation either timed out or was not allowed." I've checked the group policies and made sure that RDP settings allow for smart cards. There are no issues with newer server versions, only 2016.
I've also looked into the smart card minidriver installation and followed the instructions, ensuring it's installed on both systems and using the Legacy Node flag. Has anyone found a reliable way to get YubiKey working through RDP on this older Windows Server version?
Answers
A while back, I had to do some complicated workarounds just to get YubiKey passthrough working on 2016. Honestly, if you're considering it, testing out Server 2022 or even 2025 might save you a lot of headaches in the long run.
Reply to this answer
Iโve read that Server 2016 lacks some necessary security features to support YubiKey properly. I recommend aiming for Server 2022 or higher to avoid these kinds of issues.
Reply to this answer
We use Authlite for YubiKey integration, and it works like a charm for RDP access in our environment. We're on Server 2022, though. Might be worth looking into if youโre set on using YubiKey across your servers.
knock_knock_: Thanks for the tip! Good to know it works across the 2016-2025 range. I may consider switching to Authlite.
Reply to this answer
I had a similar issue! We ended up upgrading our Citrix farm from Server 2016 to a newer version because 2016 couldn't handle WebAuthn natively. Might be worth considering an upgrade if you can.
queue.for.tea: Sorry to hear about the hassle! I figured there might be an alternative method for older versions instead of WebAuthn, but it seems like an upgrade might just be the easiest solution.
Reply to this answer
Add your answer
Answers are reviewed before publication.
knock_knock_: Thatโs disappointing to hear. Iโve got a bunch of 2016 servers, so I guess I'll have to plan for upgrades soon!