Sign in to follow this  
Followers 0
xl0ap

CTRL - ALT -DEL do unlock

12 posts in this topic

Hi all

I have Windows XP installed ... and a server modification from microsoft .. so everytime if i want to work with my computer i must press CTRL- ALT - DEL and enter my password ... but in the background .. all programms are working ( so its possible that the computer is locked but it is still downloading in the background ) thats why:

is it possible to run a script in the background which sends automatically CTRL-ALT-DEL ? If yes which is the command for CTRL-ALT-DEL ??

If no is there maybe another solution?

THX ( really )

Share this post


Link to post
Share on other sites



Nope. There may be another solution, but you can't send Ctrl+Alt+Del, says so right in the help for Send().

Windows does not allow the simulation of the "CTRL-ALT-DEL" combination!

Share this post


Link to post
Share on other sites

Nope. There may be another solution, but you can't send Ctrl+Alt+Del, says so right in the help for Send().

argh ... and there is no other way how i could send the buttons CTRL ALT DEL ? I mean i dont need the TASK Manager or somethike like that ... just this combination ... ??

thx

Share this post


Link to post
Share on other sites

argh ... and there is no other way how i could send the buttons CTRL ALT DEL ? I mean i dont need the TASK Manager or somethike like that ... just this combination ... ??

thx

you could edit your settings so that it doesn't auto lock...

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

argh ... and there is no other way how i could send the buttons CTRL ALT DEL ? I mean i dont need the TASK Manager or somethike like that ... just this combination ... ??

thx

No, windows is locked up tight. This is impossible.

Share this post


Link to post
Share on other sites

No, windows is locked up tight. This is impossible.

is this a work computer that you're not allowed to change things on?

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

you could edit your settings so that it doesn't auto lock...

hmm how could i do that?

yes its a workstation but fortunately i have administrator rights :-) so i can change things in registry and system etc.

thx for your help

Share this post


Link to post
Share on other sites

So how does Dameware and SMS (System management Server) do it? They are able to simulate the ctrl-alt-del sequence. This sounds like a fun project...


Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007

Share this post


Link to post
Share on other sites

but probably there is a way to disable in windows this locking thing ...

otherwise i dont know how to simulate CTRL-ALT-DELETE

Share this post


Link to post
Share on other sites

but probably there is a way to disable in windows this locking thing ...

otherwise i dont know how to simulate CTRL-ALT-DELETE

Try toying around with SENDKEYS command in autoit.


Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007

Share this post


Link to post
Share on other sites

Hi,

maybe you can block the pc with another script, so you needn't windows doing that.

#include <GuiConstants.au3>
#include <File.au3>
#include <misc.au3>
#notrayicon
$version = "2.0"
Opt("WinTitleMatchMode", 4)
Global $blockingKey = "111"
Global $codeGiven = False, $inputCode, $splash = 0

code()

HotKeySet("!{TAB}", "doNothing")
HotKeySet("{TAB}", "doNothing")
HotKeySet("{ESC}", "doNothing")
HotKeySet("{F9}", "code")
HotKeySet("!^{F9}", "OnAutoItExit") ; STRG+ALT+F9 Sofort-Exit

$safeGUI = GUICreate('')
GUISetState($WS_EX_TRANSPARENT, $safeGUI)
$blockGUI = GUICreate(" *Mega*", @DesktopWidth, @DesktopHeight, -1, -1, -1, -1, $safeGUI)
GUISetState()

WinMinimizeAll()
WinSetTrans(" *Mega*", "", 1)
$dll = DllOpen("user32.dll")
WinSetOnTop(" *Mega*", "", 1)

; The scriptyou want to run
$startPath = "c:\Downloads\AutoIt-Skripte\Entwicklung\ForumTests\MegaBlock\NotePadTut.exe"

While 1
    For $i = 1 To 91
        If _IsPressed($i, $dll) Or _IsPressed("0D", $dll) Then
            doNothing()
        EndIf
        ToolTip("Protected by,     *Mega*   v" & $version & " | " & @HOUR & ":" & @MIN & ":" & @SEC, 5, 5)
    Next
    _MouseTrap(95, 18, 140, 22)
    WinSetOnTop(" *Mega*", "", 1)
    Sleep(1) ; save CPU
WEnd

Func code()
    $inputCode = InputBox(" *Mega*", "The code please: ", "", "*10", 150, 120, 50, 50, 10)
    
    If $codeGiven = False Then
        If $inputCode = $blockingKey Then
            secure()
            $codeGiven = True
            Return
        Else
            MsgBox(64, " *Mega*", "Wrong code for blocking!", 3)
            Exit
        EndIf
    Else
        If $inputCode = $blockingKey Then
            DllClose($dll)
            SplashOff()
            MsgBox(64, "Info - Administrator", "This PC has been unlocked!" & @LF & @LF & _
                    "Tel.: XXXX" & @LF & _
                    "Email: Mega@xxx.com" & @LF & _
                    @LF & _
                    "Mega", 3)
            _MouseTrap()
            Sleep(2000)
            Exit
        Else
            WinSetOnTop(" *Mega*", "", 1)
            Return
        EndIf
    EndIf
EndFunc   ;==>code


Func secure()
    WinMinimizeAll()
    ;Hide Taskbar
    DllCall("WinLockDll.dll", "Int", "Taskbar_Show_Hide", "Int", "0")
    ;Disable CrtlAltDel
    $splash = SplashTextOn("", "Administrator : This PC is locked!" & @LF & @LF & _
            "Tel.: XXXX" & @LF & @LF & _
            "Email: Mega@xxx.com" & @LF & _
            @LF & @LF & _
            "Mega", _
            550, @DesktopHeight / 2, 1, 500, 1, 5, 16, 600)
    DllCall("WinLockDll.dll", "Int", "CtrlAltDel_Enable_Disable", "Int", "0")
    DllCall("WinLockDll.dll", "Int", "Desktop_Show_Hide", "Int", "0")
EndFunc   ;==>secure

;DllCall("WinLockDll.dll", "Int", "Process_Desktop", "str", "MyDesktop2", "str", "cmd.exe")

Func OnAutoItExit()
    WinMinimizeAllUndo()
    _MouseTrap()
    DllCall("WinLockDll.dll", "Int", "Desktop_Show_Hide", "Int", "1")
    DllCall("WinLockDll.dll", "Int", "CtrlAltDel_Enable_Disable", "Int", "1")
    DllCall("WinLockDll.dll", "Int", "Taskbar_Show_Hide", "Int", "1")
    SplashOff()
    Exit (0)
EndFunc   ;==>OnAutoItExit

Func doNothing()
    _MouseTrap(95, 18, 140, 22)
    WinSetState("Windows Task-Manager", "", @SW_HIDE)
    WinSetOnTop(" *Mega*", "", 1)
EndFunc   ;==>doNothing

So long,

Mega

P.S.: Just a quick start ...


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

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