Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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.

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

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"

![]() |
![]() |
![]() |

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