Page 1 of 1 1
Topic Options
#17328 - 2002-02-11 11:44 AM Size of DOS screen with Windows 2000
Anonymous
Unregistered


Hi everyone

can anyone help? we use kixtart to run our login scripts, which was fine with windows 95. we are now moving to windows 2000 and the dos screen automatically runs minimised with windows 2000 and we need to make it full screen so that people see the messages that come up.

Any ideas how to make it view able by default and how to stop it auto exiting. is it a windows 2000 issue or a scripting issue

many thanks

Top
#17329 - 2002-02-12 12:58 AM Re: Size of DOS screen with Windows 2000
Auke Offline
Fresh Scripter

Registered: 2002-01-31
Posts: 33
Loc: Purmerend, The Netherlands
Hi Marcush,

Try to use the SETCONSOLE satement as discribed in the documentation.

Greetz AukeB

_________________________
Greetz AukeB

Top
#17330 - 2002-02-11 01:18 PM Re: Size of DOS screen with Windows 2000
Breaker Offline
Hey THIS is FUN
*****

Registered: 2001-06-15
Posts: 268
Loc: Yorkshire, England
Marcus,

Everyone seems to have had this problem at one time or another. The solution is to add a value to the registry. Under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon, you need to add a value called RunLogonScriptSync, of type REG_DWORD, with a value of 1.

This will prevent Win2K initialising the desktop before the script completes, and also ensure that users see the script window as it runs. Once this is inplace, you can alo play with the various options of the SETCONSOLE() command.

As far as preventing the auto exit from Kix, how about something like:

code:
 ? "Press any key to complete logon process..."
Get $x

That should do the trick. Or you could use a Sleep() to pause the script so that messages could be read. Depends what you're trying to do.

HTH

[ 11 February 2002: Message edited by: Breaker ]

[ 11 February 2002: Message edited by: Breaker ]

_________________________
================================================
Breaker


Top
#17331 - 2002-02-11 02:19 PM Re: Size of DOS screen with Windows 2000
Alex.H Offline
Seasoned Scripter

Registered: 2001-04-10
Posts: 406
Loc: France
On a W2k domain (active directory), it can also be set using policies
_________________________
? getobject(Kixtart.org.Signature)

Top
#17332 - 2002-02-13 01:19 AM Re: Size of DOS screen with Windows 2000
amsie Offline
Lurker

Registered: 2002-02-13
Posts: 2
or you can set policy local on the client machines to run the script normal
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 492 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.054 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org