Sign in to follow this  
Followers 0
Leon1981

Disabling Ctrl+Alt+Del during startup

5 posts in this topic

Hello people,

I need to disable Ctrl + Alt + Del during startup of Windows XP. This is only during some minutes (5 min) aprox, while one application starts.

One friend already gave me code:

Opt("TrayIconHide", 1)

BlockInput(1) ;Block mouse and keyboard

Sleep(300 *1000) ;Wait until your application start

BlockInput(0) ;Unblock mouse and keyboard

And this works very fine for all the inputs from the keyboard and also from the mouse. But I also need to block Ctrl+Alt+Del, which is still possible using the shown code.

Can anybody please help me?

I'm not an advanced Autoit user, actually it's the first time that I'm using this powerful tool.

Thank you very much in advance.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hello Leon1981

I dont think it is poss as windows reserves the rights for Ctrl+Alt+Del for security reasons.

Read more:

http://www.autoitscript.com/autoit3/docs/functions/Send.htm

And

http://www.autoitscript.com/autoit3/docs/functions/BlockInput.htm

Read the pages through fully and you will see:

however, pressing Ctrl+Alt+Del on any platform will re-enable input due to a Windows API feature.

--

James

Edited by Scriptmaster

shutdown(1)

Share this post


Link to post
Share on other sites

Hi, thanks for the reply!

Actually I thought the same, that it's not possible to block Ctrl+Alt+Del, but some applications do, so, that means it's possible.

Share this post


Link to post
Share on other sites

There is an option to block the CTRL+ALT+DEL until we complete our task. Have you ever came over the concept of Autologon? you can search for some VBScript which will help to do that task. i am not an expert of doing it... but just i can enable a thought which will help you out :bye: . if you get any script for autologon please let me know too.. :doh:

i have searched in google but i m not sure some link may help you out. All the best :oops: . LINK


Thank you,Regards,[font="Garamond"][size="4"]K.Syed Ibrahim.[/size][/font]

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Ctrl-Alt-Delete is a secure attention key(SAK) which is part of the secure attention sequence(SAS). It is managed directly by the OS Kernel in order to make login spoofing impossible.

So in order to disable it on the logon screen, the kernel would have to be compromised. I am don't know about when you are logged in, but it should be possible.

For more information click on the blue text

Edited by subzerostig

There are 10 types of people in this world. Those that understand binary, and those that do not

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0