Sign in to follow this  
Followers 0
Guest HaiHendriks

STRG+Alt+Del to unlock Screen

2 posts in this topic

Hello,

I've looked in this forum and see this question several times. All the answers with auto logon in registry keys I don't want to use.

The Problem is:

The windows 2003 server is set to lock the screen after 10 minutes (company policy!!!). My (first) compiled AutoIT script starts the program vm-ware workstation version 5. After starting a group (team) of virtual machines start. I compiled the script and it works fine. I configured a task to execute the compiled script. Wenn the windows screen is unlocked the task works fine but when the screen is locked it doesn't. So I must first unlock the screen!

My script:

;

; AutoIt Version: 3.1.1

; Language: Deutsch/Dutch/Englisch

; Platform: WXP/W2K3

; Author: Hai

; Date: 15-Jul-2005

;

; Script Function:

; Startet VMWare Team-1 auf Workstation V5.

;

; Überprüfe ob VM-Ware bereits gestartet

; Wenn Ja, überprüfe ob Fenster aktiv, ansonsten aktiviere dieses Fenster und starte die Gruppe Team-1

; wenn Nein, Starte VMWare und dann die Gruppe-1

If WinExists("Team-1 - VMware Workstation") Then

If WinActive("Team-1 - VMware Workstation") Then

Send("{CTRLDOWN}{SHIFTDOWN}{B}{SHIFTUP}{CTRLUP}")

Else

WinActivate("Team-1 - VMware Workstation")

Send("{CTRLDOWN}{SHIFTDOWN}{B}{SHIFTUP}{CTRLUP}")

EndIf

Else

Run("C:\Program Files\VMware\VMware Workstation\vmware.exe")

; Warte bis Programm geöffnet ist

WinWaitActive("Team-1 - VMware Workstation")

Send("{CTRLDOWN}{SHIFTDOWN}{B}{SHIFTUP}{CTRLUP}")

EndIf

; Ende!

Maybe someone has a hint?????

Regards,

Hai

Share this post


Link to post
Share on other sites



Sorry but Windows does not let emulate CTRL+ALT+DELETE when locked or logged out.

Your best bet is to see if you can use "controlsend" to pass on info to windows behind the locked server.


CheersNobby

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