Computing.Net > Forums > Windows NT > NT Logon scripts

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

NT Logon scripts

Reply to Message Icon

Name: John K
Date: February 28, 2002 at 01:52:13 Pacific
Comment:

Hi.I have created logon scripts for my users to execute when they logon and these work fine.The problem is that the dialoge box that says "Please wait while your logon script executes..." does not go away once the script finishes,it just sits there and the users desktop does not appear.How do i remedy this please?
Thanks
John K



Sponsored Link
Ads by Google

Response Number 1
Name: Maurice Reed
Date: February 28, 2002 at 04:08:00 Pacific
Reply:

You could add an EXIT statement as the last statement in the file although it shouldn't need one.

Also make sure no sysntax errors exist in the commands used. To trap these do two things:

1 remove the @echo off command from the first line
2 add a PAUSE command as the last entry.
This will give you a chance to read the display contents to see if any systax errors do occur. Ignore Error 85 which is just a warning whan mapping drives that are already mapped on the local PC. If all clear, reinsert the @echo off at the start and remove the pause from the end and stick an Exit there instead.


0

Response Number 2
Name: John K
Date: February 28, 2002 at 04:29:30 Pacific
Reply:

Thanks for trying but i have already tried an exit statement at the end of the script and have also tried the pause statement to read what is going on.There are no syntax errors and the MS-DOS window closes o.k it's the Windows dialoge box that won't go away...
John K


0

Response Number 3
Name: fritz
Date: March 1, 2002 at 06:16:39 Pacific
Reply:

What does your script look like?


0

Response Number 4
Name: moody
Date: April 11, 2002 at 22:18:54 Pacific
Reply:

You can try to run the script in sync.
So if there's a problem in youre script it will still continue.
There's a key in the registry that you'll have to change to make it work.

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Value = 0 "The logon script and Windows Explorer can run simultaneously"

Value = 1 "Windows Explorer does not start until the logon script has finished running"


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: NT Logon scripts

Windows NT Logon Scripts www.computing.net/answers/windows-nt/windows-nt-logon-scripts/280.html

NT Logon Script www.computing.net/answers/windows-nt/nt-logon-script/1645.html

Hiding NT Logon Scripts www.computing.net/answers/windows-nt/hiding-nt-logon-scripts/4931.html