I've managed to add a certificate to windows hello for signin to RDP.
However during testing i've generated a few faulty certificates, i would like to clean them up.
If i use certutil -delkey -csp "Microsoft Base Smart Card Crypto Provider" "ID"
i get the message that the smartcard is read-only.
How can i clean up the certificates on the virtual smartcard provided by windows hello?
I ended up using
certutil -csp NGC -key
to list all credentials stored in windows hello for business. Then I usedcertutil -csp NGC -delkey <name>
to remove the ones that did not havelogin.windows.net
in the name to clean up all other credentials.This was not a 100% fix for me as intune seemed to have restored some of the old certificates, but at least i can manage the situation now.