Can I simulate in C#/C++ code Control+Alt+Delete sequence in Vista? When UAC enabled/disabled? How it is done in XP?
Can you provide a code sample that works in Vista?
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 [email protected].
There is a similar library available with the following features:
Please note that this library is not free. Meanwhile you can contact [email protected] if you are interested in it.
Please use below information, "[email protected]" is deprecated and less likely to get any responses. Below information is sufficient.
Beginning with the public availability of the Windows 7 Operating System and accompanying Software Development Kit (SDK), SAS functionality for Vista applications will only be available through the Windows SDK. The release support through email of the SASLIB package, and the saslib will be discontinued.
Information on how to download the platform SDK can be found on the Microsoft Download Center page for the “Windows SDK for Windows 7 and .Net Framework 3.5 SP1” at the following link: http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en.
After you install this SDK you will find the redistributable sas.dll in the redist directory:
\Program Files\Microsoft SDKs\Windows\v7.0\redist\x86\sas.dll
\Program Files\Microsoft SDKs\Windows\v7.0\redist\amd64\sas.dll
\Program Files\Microsoft SDKs\Windows\v7.0\redist\ia64\sas.dll
I had bookmarked this URL, hope it help. http://softltd.wordpress.com/simulate-ctrl-alt-del-in-windows-vista-7-and-server-2008/
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