Login script not running right 
Author Message
 Login script not running right

A posibility would be that the win 98 machine has not yet installed the WBEM component from the setup cd, therefore not enabling WMI object creation (control panel, add/remove, windows 98 setup tab, Internet Tools, Details button)

Another would depend on which default is used for scripts, CScript.exe, or WScript.exe (echo sends to the console with cscript)

Mark L. Ferguson  Please reply in newsgroup
marfer's notes for OE 5 > http://www.*-*-*.com/
Login script not running rightHi,

My domain is Windows 2000 based and my clients are still using for the most part Win95 and Win98.  Now  I have a login script that works great and opens up a Gui windows (wscript.echo) to inform the user of his/her login... practice stuff.

Now on the Windows 2000 professional machine it runs fine.  On windows 98 with wsh 5.1 it opens a dos looking black box and moves so fast I can't even see it.  Then closes and continues.  Not sure how to make the script open like it does properly for win 2000 prof.

any ideas...

-matt chapman

Sat, 14 Sep 2002 03:00:00 GMT  
 Login script not running right
WScript.Echo maps to different means of output, depending which
script-engine runs your script. If your script is called by wscript,
WScript.Echo maps to the MsgBox-command and displays as a dialog. If your
script is run by cscript, WScript.Echo maps to a simple textline printed on

You have to use MsgBox instead of WScript.Echo in your scripts to garantee a

Sat, 14 Sep 2002 03:00:00 GMT  
 [ 2 post ] 

 Relevant Pages 

1. vb login script not running sbsclnt.exe - MS Small Business Server

2. FYI: Win2k Login Script Not Running

3. Login script - Script running before user logs on.

4. Login script - Script running before user logs on.

5. Running a vb script with admin rights

6. access denied to wscript at login but runs after login

7. login script wont run

8. "run as" in login script

9. Login script for running assoc command in Win98

10. WshNetwork.UserName not present in Win9x Login Script

11. Can't get Login Script to run before Desktop is loaded

12. Running Login Scripts


Powered by phpBB® Forum Software