Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where have my drive mappings gone?

Status
Not open for further replies.

benbeneke

IS-IT--Management
Dec 5, 2002
46
AU
I have a Win98 machine (fully updated) logging into a NW4.11 box using the latest client.
Pc got a worm virus - no idea where from - and after the E-trust fixed it (scrnsvr.exe and brasil.pif) when the user now logs in she gets none of the drive mappings from here container login script. At login it doesn't even look like the correct login script is running as F is mapped to AB\sys: instead of AB\vol2:Homedrive. Is this an errant thing left by the worm or is there a hidden login script on the 98 box? I'm pulling my hair out here.

I have even tried copying the login script into her user object and it still doesnt work!
This user can login on any other machine, no problem and all mappings appear ok.

Here is the login script for reference:

Break Off
Map Display Off

IF "%OS" = "WIN95" THEN
@\\AB\SYS\PUBLIC\NALEXPLD.EXE
END

IF "%OS" = "WINNT" THEN
IF OS_VERSION = "V4.00" THEN
@\\AB\SYS\PUBLIC\NALEXPLD.EXE
END
END

Write
Write
Write "Good %GREETING_TIME, %FULL_NAME."
Write
Write "You Have Logged Into The ************ Cadd Network."
Write
Write "From Station %STATION."
Write
Write "The Time Now is %HOUR:%MINUTE %AM_PM."
Write
Write "********************************************************************************"
Write "This System is Restricted to Authorised Users Only!."
write " "
Write "********************************************************************************"
Write

pause


map root ins s4:=ab/sys:public
map root ins s5:=ab/sys:public\bat
map root ins s6:=ab/sys:public\bin
map root ins s16:=ab/sys:public\nls

map root *1:=ab/vol2:users\%LOGIN_NAME
; if LOGIN_NAME = "Training" then
; MAP ROOT *2:=ab/vol1:data
; end
if OS = "WINNT" goto skip1

map *2:=ab/vol1:data\cadd

map root *3:=ab/vol1:data\cadd

map root i:=ab/vol1:data

goto skip2

skip1:
rem Windows NT mappings here
map *2:=ab/vol1:
map root *3:=ab/vol1:data\cadd
map root i:=ab/vol1:data


skip2:

rem ***********************************************************
rem Takes care of virus software updates etc.
#command /c update.bat
rem ***********************************************************

write " "
write " "
dos set ctxt="Cadd.Bris"
dos set id="%LOGIN_NAME"
dos set os="%OS"
dos set ACADSERVER="AB"

Write "********************************************************************************"
Write " Please Note Your Drive Letters"
Write " "
Write "********************************************************************************"

rem BEGIN Machine Name RECORDING SCRIPT
#command /c idme.bat
rem FINISH Machine Name RECORDING SCRIPT

rem BEGIN IP ADDRESS RECORDING SCRIPT
rem IF "%PLATFORM"="W95" THEN @C:\WINDOWS\WINIPCFG /BATCH \\ab\VOL2\users\iplist\%LOGIN_NAME.txt
rem END
rem FINISH IP ADDRESS RECORDING SCRIPT

Rem *****************************************************************

Rem Temporary Client update files

REM ***** Windows 95/98 *****
IF (OS = &quot;WIN95&quot;) OR (OS = &quot;WIN98&quot; AND OS_VERSION <> &quot;V4.90&quot;) THEN
WRITE &quot;Updating Novell Client for Windows 95/98.&quot;
#\\AB\sys\public\client\win95\ibm_enu\acu.exe
IF &quot;%ERROR_LEVEL&quot; = &quot;1&quot; THEN BEGIN
EXIT
END
END

REM ***** Windows NT/2000/XP *****
IF OS = &quot;WINNT&quot;
WRITE &quot;Updating Novell Client for Windows NT/2000/XP.&quot;
#\\AB\sys\public\client\winnt\i386\acu.exe
IF &quot;%ERROR_LEVEL&quot; = &quot;1&quot; THEN
EXIT
END
END

Rem *********************************************************************


NO_DEFAULT


Any help appreciatted. By the way When logging into the pc as myself the same thing happens and 8 search drive mappings seem to occur.
 
Problem solved!

Our normal anti-virus would spot the virus but not remove it. I installed E-trust AV7 trial cd and it removed it but also wrecked the login script - don't ask me how but as soon as I removed E-trust we could login normally again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top