none
How to achieve the secure sign-in function

    General discussion

  • I need to achieve secure sign-in function .The flow is roughly as below:

    1.press "windows + r" to get the run window.

       type the "netplwiz" to enter User Accounts interface.

       Select the item "requie user to press "ctrl+alt+delete""

    2. press the "windows +l"to lock the PC

    3.It will prompt that " Press Ctrl+Alt+Delete or use the windows Security button to unlock "

    I need to achieve the function which will unlock by windows security button.But what button is windows security button and how to achieve it.

    On another PC.I find the prompt information is "Press and hold the power button,and then press the volume down button to unlock.(Or you can unlock by press Ctrl+Alt+Delete.)" Why it show different?



    Tuesday, February 28, 2017 3:16 AM

All replies

  • I'd ask for help over here.

    https://answers.microsoft.com/en-us/windows

     

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Tuesday, February 28, 2017 3:18 AM
    Moderator
  • Good day,

    It is not clear from your question what technologies and languages you want to use.

    Basically, I am guessing that the solution for "power button" is in device driver level, which mean you can develop your driver.

    I would look for solution in C++ forums (they might help you in there), but if you are using Dot.Net, then the only thing I found (and I am just guessing by the function name) is the function CancelShutdown(), in the user32.dll, which you can execute using pinvoke. You can check this link for more information: http://www.pinvoke.net/default.aspx/user32.CancelShutdown

    You can control the power off when user press "windows +l", but I controlling the "power button" is diffrent case. If you give more information regarding the development languages you familiar with, we might find you the best forum. A simple solution might (I did not try to catch this specific key) be to create service that listen to the event of clicking "windows +l" using the SendInput AI as you can see here.


    signature   Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]    [Linkedin]



    Wednesday, March 1, 2017 5:58 AM
    Moderator
  • Hi pituach,

    Very Sorry for confusing you.

    I  corrected the issue afresh.Please help to check it.

    Alix

    Wednesday, March 1, 2017 2:18 PM
  • From console or programming? If the latter I'd try them over here.

    https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?category=windowsdesktopdev

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Wednesday, March 1, 2017 2:21 PM
    Moderator
  • Thank you for All.I have a idear for this function.
    Thursday, March 2, 2017 3:55 AM