A
Aviv
Hello,
I am trying to apply a password filter to my computer.
I am following the instructions in the MSDN.
http://msdn.microsoft.com/library/d...ing_and_registering_a_password_filter_dll.asp
What I did was use the pwdfilt.c file provided with the platform sdk
and added code to write to a log file whenever the PasswordChangeNotify
function runs and the InitializeChangeNotify runs.
Then I enabled the password complexity option in the local security
policy, copied the dll to the system32 directory and edited the
NotifyPackages registry entry to include that dll.
However, when I later restarted my PC and tried to change password, the
log file was not written.
Moreover, I decided to try something drastic such as returning FALSE in
the PasswordFilter function to disallow all passwords.
I recompiled the modified code and registered it and yet I was able to
change passwords.
It seems to me like the OS didn't even run my code.
Does anyone have any experience with this and can tell me what exactly
needs to be done?
Thanks,
Aviv.
I am trying to apply a password filter to my computer.
I am following the instructions in the MSDN.
http://msdn.microsoft.com/library/d...ing_and_registering_a_password_filter_dll.asp
What I did was use the pwdfilt.c file provided with the platform sdk
and added code to write to a log file whenever the PasswordChangeNotify
function runs and the InitializeChangeNotify runs.
Then I enabled the password complexity option in the local security
policy, copied the dll to the system32 directory and edited the
NotifyPackages registry entry to include that dll.
However, when I later restarted my PC and tried to change password, the
log file was not written.
Moreover, I decided to try something drastic such as returning FALSE in
the PasswordFilter function to disallow all passwords.
I recompiled the modified code and registered it and yet I was able to
change passwords.
It seems to me like the OS didn't even run my code.
Does anyone have any experience with this and can tell me what exactly
needs to be done?
Thanks,
Aviv.