#101641 - 2003-05-29 01:57 PM
Script execution --> Desktop
|
BriGuy
Fresh Scripter
Registered: 2003-04-17
Posts: 19
Loc: Canada
|
Is there anyway to ensure that my script has finished running before the desktop icons, taskbar, etc. load on the desktop?
Currently, users are able to start apps and open files locally before the script has finished executing. This is no good as sometimes we have important info to display.
I would like to have my script complete executing and then continue to load the desktop, etc.
Any ideas?
|
|
Top
|
|
|
|
#101642 - 2003-05-29 02:06 PM
Re: Script execution --> Desktop
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
code:
$RegKey="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\winlogon" If $OS="WinNT" $RC=WriteValue($RegKey,"RunLogonScriptSync","1","REG_DWORD") Endif
[ 29. May 2003, 14:07: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#101644 - 2003-05-29 03:13 PM
Re: Script execution --> Desktop
|
BriGuy
Fresh Scripter
Registered: 2003-04-17
Posts: 19
Loc: Canada
|
Howard... this only works with W2k/XP? Any ideas if i have a mix mode network? Ranging from Windows 95 to Windows XP.
Essentially i want to pause the workstation from booting, until the script is finished running.
|
|
Top
|
|
|
|
#101646 - 2003-05-29 09:08 PM
Re: Script execution --> Desktop
|
BriGuy
Fresh Scripter
Registered: 2003-04-17
Posts: 19
Loc: Canada
|
is this "RunLoginSync=1" acommand that i just type at the top of my script... cause it causes an error and the scropt does not continue running.
HELP !!!!
|
|
Top
|
|
|
|
#101647 - 2003-05-29 09:13 PM
Re: Script execution --> Desktop
|
BriGuy
Fresh Scripter
Registered: 2003-04-17
Posts: 19
Loc: Canada
|
forget it... just figured it out i think... i'll let you know
Thanks!
|
|
Top
|
|
|
|
#101648 - 2003-06-02 07:36 PM
Re: Script execution --> Desktop
|
BriGuy
Fresh Scripter
Registered: 2003-04-17
Posts: 19
Loc: Canada
|
Works great.
THANKS!
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 1046 anonymous users online.
|
|
|