Hi Guys,

Thanks for the suggestions.
I figured it out after. I always find the answer right after I post a question. [Big Grin]

Anyway this is what I did:
code:
 
$enable = "1"
$key = "'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"

; This setting defines whether the system should wait for the logon scripts to complete before
; starting the users shell or whether the scripts should run asynchronously.
If (ExistKey($key) = 0)
$err = WriteValue($key,"RunLogonScriptSync",$enable,"REG_DWORD")
Else
EndIf

$err = SetConsole("ALWAYSONTOP")
$err = SetConsole("FOREGROUND"); SPELLING MISTAKE BEFORE
$err = SetConsole("SHOW")

Thanks again,
_________________________
Regards, -Rick.