Come on you intelligent lot, help me out here
Was at one of my sites this morning, investigating a few users complaining about really long login times.
Had a look, lo and behold, the users are correct
Anyway, the cause turns out to be a line in the script which performs an xcopy from a hidden share on the server to the local c: on the PC(and I should mention this wasn't setup by me). *Why* this line is causing the problem I can't figure out.
Login, the script will run through and execute as per normal, the DOS box disappears when its finished, and then you are left with the NT "please wait while your login script executes" dialog just sitting there, the computer seemingly at a halt. One user said she logged in and went to do something else, came back an hour and a half later and it was still at that dialog. If I REM the line out of the script, login is normal. You can also, of course, hit the cancel button and continue like that, but that isn't a great solution.
Now why on earth would this simple copy function be causing these delays? The MS knowledge base unfortunately has nothing on this... the copy operation needs to be there as it updates some important files locally.
Off the top of my head the script looks something like this, nothing fancy:
@echo off
net use g: etc
net use h: etc
net use p: etc
net time etc
c:
cd\
cd somefolder
xcopy p:\*.* c:\somefolder /v
If I use copy instead of xcopy, the same thing happens. The files aren't exactly huge either, there are about 10-15 of them, about 50kb each. They do copy over fine, the script itself finishes, but the computer won't "finish" logging in unless you hit the cancel button.
The site in question is a small finance company (specifically property), a single NT4 Server SP6a domain controller, Pentium III with 256mb RAM, sits mostly idle. It does have WAN connectivity but this should be irrelevant, its only used for mail and occasionally pcAnywhere. Network is 10/100, most, if not all network cards are D-Link DFE-530TX. 10 client PCs, Win98SE.
Anyone have any ideas? This has got me stumped.