Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to detect if logged in via Windows Hello for Business with Detect-WindowsHelloEnrollment.ps1 #6

Open
plambrechtsen opened this issue Nov 1, 2022 · 0 comments

Comments

@plambrechtsen
Copy link

If I am enrolled with Windows Hello for Business but I login with Username and Password and then I try and request a certificate using the template that enforces using the Microsoft Passport Key Storage Provider CSP.

Using

Get-Certificate -Template 'WHFB Template' -CertStoreLocation cert:\CurrentUser\My SubjectName 'cn=test'

Then I get a UAC prompt to unlock the TPM using Face / Fingerprint / Pin.

Do you know if there is a way to determine if I have unlocked the TPM / Logged in with Windows Hello for Business in Powershell to prevent the prompt from happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant