Login Script Help - TechRepublic
General discussion
January 13, 2002 at 09:10 PM
tboneshep

Login Script Help

by tboneshep . Updated 24 years, 5 months ago

Need some help with the following script. It works fine on W2k Pro and NT 4 WS, however on Win98SE, it chokes! SCRIPT:
REM Microsoft Systems Management Server (start)
REM SMS Build 1493
call %0\..\smsls
REM Microsoft Systems Management Server(end)
@ECHO OFF
@call \\Nuo-XZ491Mcc2\netlogon\virusupd.bat

rem The following call line MUST remain in this logon
script.
call \\Nuo-XZ491Mcc2\netlogon\everyone.bat
REM !—– Clears all Drive
net use l: /delete
net use p: /delete
net use q: /delete
net use s: /delete
REM !—– MAPS required Drive
net use l: “\\DUO-XY491SUPSA\DFS” /YES
net use o: /delete
net use p: /delete
@echo.
@echo Please use:
@echo
http://intranet.Joe.BF.gov/491SPTG/491CS/SCS/SCSP/default.h
tm
@echo for forms and publications.
@echo.
NET USE S: “\\MUO-XF491MCC02\XYZacs” /YES
net use | find “T:” > NUL
if errorlevel 1 goto map_t > NUL
net use t: /delete > NUL
:map_t
net use t: “\\MUO-XY355CPTS\APPS” /YES > NUL
net use v: /delete
3 lines below LOCK the 98 machine up!:
net use l: “\\DUO-XY491SUPSA\DFS” /YES
net use o: /delete
net use p: /delete

The machine locks up completely requiring a power off. The error messages are:
Error 3: The specified path does not exist on that drive. Make sure you are specifying the path correctly, and then try again. If the path includes a network resource that is temporarily unavailable, try again later.

Verified WINS is working, tried adding the Server Name to LMHOST file.
Cannot “NET VIEW \\computername\share or
“Net USE * \\computername\share”
Any Ideas or Tips appreciated!!!!
Wayne.shepherd@mountainhome.af.mil
TIA

This discussion is locked

All Comments