I've looked into the registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI
as well as the CIM registry:root/CIMv2/Security/MicrosoftVolumeEncryption
But these doesn't reflect the users settings. I have run this on our office 9 computers which I know only 3 have the PIN code activated (the rest have the default alpha numerical password) but all 9 return the same values when polling the above two paths.
Can someone tell me a rock solid way of knowing if a user have a PIN code set? Not a security breach since I only am interested in if the user have the PIN activated, not the PIN itself.