Existing code to simulate the Secure Attention Sequence (SAS),which most people refer to as control alt delete or ctrl-alt-del, no longer works in Windows Vista. It seems that Microsoft offers a library that exports a function called SimulateSAS(). It is not public and one is supposed to request it by sending a mail to saslib@microsoft.com. Mails to this address remain unanswered though.
I researched how other people (including Microsoft) have solved this task and was unhappy with the results: some solutions work only with (or without) UAC, most solutions work only for the current or console Terminal Server sessions or need a kernel mode driver.
So I decided to create my own Saslib with the following goals:
- Should work both with and without User Account Control (UAC)
- Should support current, console and any Terminal Server session
- Does not need a driver
- The calling application does not need to be signed or have a special manifest
- Support multiple programming languages
In the future I will place SasLibEx on it’s own website. Meanwhile you can contact me if you are interested in it at the following mail address: ![]()
Please note that I have spend lots of time into this project and therefore I cannot give it away for free
Update: I have added new features to SasLibEx, see here: /2009/04/07/saslibex-updates/
Excellent work Remko, Microsoft so send it eventually but took them two months to send ours. Turns out the package contains a MS compiled C .lib, extracting the .obj and linking to Delphi would have been bum.
[...] I have found and tested some new functionalities which I will add to SasLibEx: [...]
I made a donation to you and would like to use your SasLibEx.
Just wondering what sort of donation is acceptable or whether there's a set price or antyhing. Thinking of following in Johns footsteps and attempting to build UltraVNC with SasLibEx to get around the C-A-D issues.
Hello friend! I made a little donation too and would like to receive your SasLibEx. Thank you very much.
Hello Remko. How long does it take to receive the SasLibEx after making the donation? Thank you.