In recent years, I've had a lot of problems with SCardSrv. Across several laptops running both Windows 10 and 11, across multiple models of Yubikeys, I've had all kinds of issues. I feel like it used to be more reliable. Not sure what changed.