Hi all,
I'd like to convert the following wkix32 script to vbs, but my vb
scripting skills are pretty non-existent. Can someone please assist?
I'd be most thankful...
=========================================================
SetConsole ("HIDE")
If @LOGONMODE = 1
Quit
EndIf
While ReadValue("HKEY_LOCAL_MACHINE\Software\Cisco Systems\VPN
Client","TunnelEstablished") = 0
Sleep 2
Loop
SetConsole ("SHOW")
SetConsole ("FOREGROUND")
SetConsole ("ALWAYSONTOP")
Use X: "\\mydomain.com\netlogon" /Persistent
SHELL "%COMSPEC% /C X:\mylogonscript.cmd"
Use X: /DEL /Persistent
SetConsole ("HIDE")
===============================================================