#171212 - 2006-12-08 01:01 AM
Getting a logon script to "restore"
|
hornet
Lurker
Registered: 2006-12-07
Posts: 1
|
Hi all,
New to KiXtart scripts here. I've done a bit of research, and managed to put together a basic login script.
However since its nice and graphical, I would like it to be displayed when the user logs in. By default the login script is minimised. I've found the SetConsole(Maximize) command, but that will make it maximised (it too big, compared to just restoring it).
Is there anyway I can make the script run in "restored" mode, so its the standard size?
Thanks in advance. Adrian
|
Top
|
|
|
|
#171231 - 2006-12-08 01:43 PM
Re: Getting a logon script to "restore"
[Re: Lonkero]
|
Glenn Barnas
KiX Supporter
Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
|
Hmm..
Login scripts imply a domain. Default domain settings currently define login scripts to be run minimized. I have a GPO defined to make them visible, with no Kix commands whatsoever to change the console settings. GPO settings:
Administrative Templates
System/Scripts
Policy Setting
Run legacy logon scripts hidden Disabled
Run logon scripts synchronously Enabled
Run logon scripts visible Enabled
The first setting causes traditional login scripts to not run hidden, while the third setting runs all, including GPO scripts, in a normal window. I use the second setting to insure that the login script completes before the desktop is presented - that's just my preference here.
The login script I use (latest* version will be available on my web site on 12/09/2006) is designed to run visible, but runs and disappears so fast is is unobtrusive - unless there is a problem. If a problem occurs, the resource in error is displayed in red, and the system waits several seconds so the user can identify the problem and present that info to the help desk. The script also displays system outage messages with a short delay only when messages are present.
Glenn
* - current version is available now, new version improves the documentation, and adds Map by OU, including OU-based Path-Rewriting.
_________________________
Actually I am a Rocket Scientist!
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 248 anonymous users online.
|
|
|