I would like to know how to invoke the Windows Security Dialog (press ctrl+alt+del on a windows workstation NOTE: I don't want the task manager!) programmatically.
ON AN XP WORKSTATION, don't worry about Win7 or Vista
Ideally with a quick example in C# (or VB.NET if you must)
Ive searched many of the DLL's such as msgina.dll
and I can't find it anywhere!
Alternatively just invoking the change password screen would be nice!
Use this dialog box to determine the level of security used when opening documents, or to remove a certificate from the list of trusted sources.
Right-click on the account that inflicts Windows Security prompt and select Change. Select More settings. Under the Security tab, uncheck the ”Always prompt for login credentials” box and confirm changes. Click OK and save changes.
You can try call WlxLoggedOnSAS function from GINA or WlxSasNotify from WinLogon. But, I afraid it won't work. But, maybe it will lead you to working method. And it definitely will not work in Vista/W7.
In other side, it might be that Windows Security Dialog can be called only by secure attention sequence ( ctrl+alt+del) by securytt reasons.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With