Hi ,
I'm trying to set a Password Filter using passwdhk, but avoiding using the install package. I've built passwdhk.dll using Visual Studio Community Edition 2017 and tested it on a fresh standalone Win10 VM (at that moment this VM was not part of any domain, see below). I've configured the sandbox as described in README file and consulted this ticket - https://sourceforge.net/p/passwdhk/support-requests/2/. It succeded, being able to handle pre and post password changing events.
After, I've deployed a fresh Windows Server 2012 VM as a DC and added previously disscussed Win10 VM to than domain. I've deployed passwdhk.dll in DC server following the same recommendations, but the library isn't loaded:
The password notification DLL passwdhk failed to load with error 126. Please verify that the notification DLL path defined in the registry, HKLM\System\CurrentControlSet\Control\Lsa\Notification Packages, refers to a correct and absolute path (<drive>:\<path>\<filename>.<ext>) and not a relative or invalid path. If the DLL path is correct, please validate that any supporting files are located in the same directory, and that the system account has read access to both the DLL path and any supporting files. Contact the provider of the notification DLL for additional support. Further details can be found on the web at http://go.microsoft.com/fwlink/?LinkId=245898.</ext></drive>
Could you please advice a way to solution the issue?
Thank you.
Hi,
I've installed the latest Visual C++ 2017 Redistributable package which solved the issue.
Thank you.