NPLogonNotify is not called to login to smart card (Windows 7)

I have code that acts like a network provider and can intercept both traditional logins and smart card accounts via the NPLogonNotify callback. This works on XP (32 bit).

I am porting to Windows 7 (64 bit). NPLogonNotify is still supported according to MSDN and indeed my code is successfully grabbing traditional logins. The problem occurs when a smart card logon occurs. Unlike XP, there is no callback in NPLogonNotify on Windows 7.

This begs the question: Has this mechanism changed in Vista / Windows 7 to explicitly disallow writing to smart card accounts in this way? I've searched MSDN to no avail.

Any help is gratefully received. Many thanks!

+2


source to share


1 answer


A registry entry called SmartCardLogonNotify should be created as DWORD and set to 1 under HKEY_LOCAL_MACHINE \ Software \ Microsoft \ WindowsNT \ CurrentVersion \ Winlogon \ Notify



This should fix the problem

0


source







All Articles