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.
Login Script Fun
Name: Doug Date: April 23, 2002 at 08:03:03 Pacific
Comment:
I have created a login script for my 95/98 users so that they can map drives to their network resources. Problem is....I get the Please wait while your login script executes text box...and it won't close. Have to hit cancel to close. Script has following lines... net use h: \\servername\share goto end :end exit I have also tried going to the Program tab and hitting close on exit in the properties of the batch file. Question is this...has anyone else had this problem and what did you try to close your batch file.
Name: tom Date: April 23, 2002 at 08:39:01 Pacific
Reply:
Not sure this is the answer - but - look in the properties of the batch file and under "Misc" try taking the checkmark out of "warn if still active"
Tom
0
Response Number 2
Name: Geek Date: April 23, 2002 at 09:10:52 Pacific
Reply:
Try this:
@echo off net use h: /delete net use h: \\server\share cls exit
The @echo off will prevent anything from being shown in the dos window. The first net use will disconnect any drive that the user might have mapped. Then the second net use will remap the drive you want. Finally the cls and exit will clear and close the dos window. It all should happen very quickely, unless you have a very slow network.
0
Response Number 3
Name: Dave C Date: April 23, 2002 at 16:18:52 Pacific
Reply:
I agree with Geek, except for the echo and the cls.. I like to see it up there if the logon script fails to close, I might be able to find out why.
Try just getting rid of the goto end / :end part, you don't need it in there.
Summary: I'm thinking about implementing polices and login scripts at my company. Looking for any feedback (positive or negative) from anyone who has tried. My network consist of 2 nt servers (pdc & bdc), 5 ...
Summary: I cannot get my login script to run on WIN98 clients. They run on NT clients and 200 clients just fine... Windows NT Server or Windows 2000 server...Doesn't matter...HELP ...
Summary: Hi evry bady, I need to make a login script to install network printer into win98 machines from samba server Thinks (and I m sory about my bad English) ...