Avatar of KenBlessing
KenBlessing
 asked on

mapped network folder won't stay mapped

Hi

I have seen issues similar to mine but none that match exactly and no answer that has solve my problem.

I have a 2003 AD network with XP Pro clients.
I use a member server as a file and printer sharing server.  I share out one folder, named “Y drive”, from this machine and map my clients to it using windows explorer. MAP NETWORK DRIVE.
This has worked for years with no issue.
Now we had a virus/malware that changed the attributes of the files in the folder and throughout the machine.  I have cleaned out the virus/malware from the machine.
I have moved the files to a new folder and fixed the attributes of the files and sub folders within and deleted the old “Y drive “folder.  This had to be done to clean up the virus/malware.
Now when I remap a client to this new folder it works until the client machine is rebooted, then the map is gone and I have to remap the folder again.

I have check the security settings for the fold compared to other folders that are shared and mapped and everything looks proper.
Any help would be great.

Thanks
Microsoft Legacy OSMicrosoft Server OSWindows OS

Avatar of undefined
Last Comment
KenBlessing

8/22/2022 - Mon
BillBondo

We use kixtart and run a script so every logon the drives are mapped.
Sajid Shaik M

to make it shure

try on  a machine  put a windows xp cd in to cd rom

go to command promt

sfc /scannow

it'll repair the system files...

it'll make sure that system files issue couse of that .. mostly.. when we run spyware tools or third party tools these kind of issues are common... and even you can check it by restoring the backup while you virus  removal delete time..

all the best
KenBlessing

ASKER
do you know how long this scan should take?  i need to be sure it can be done while the users are out to lunch or i'll have to wait to do it after hours.

Thank you.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
crash2000

Try mapping via command line with the /p switch (Make permanent)
net use  y: \\computer\sharename /p

Mark
Lionel MM

Are you checking the box that says "reconnect at logon" (using windows explorer)? Best way to deal with this though is to add it to your logon script then it will always be there and you can set your logon script to notify you if the network connection isn't made.
Venugopal N

Is the issue for a single client or for the all the client.
Are you sure you ahve select "reconnect at logon" option as said by Lionelmm.
SFC /Scannow will take few Mins (@ max 5-10mins)
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
KenBlessing

ASKER
I have not had a chance yet to run the SFC /scannow.

The issue is for any client that had the virus/malware problem, not every client was infected.  my machine for example has no problem with the mapping.

yes, the reconnect at logon box is checked.

I do understand that i could write a script to map the drive at logon but that just covers over the problem and leaves what ever is broken still broken, and i really don't like to put bandaids on things.  they always come apart at the worst time.  So i would really like to find out what is broken and fix it properly so it dosn't bite me in the butt later.

Thanks
KenBlessing

ASKER
ok now a new twist.  I went to boot the clients machine into safe mode to run the sfc scan, i get an error that the NTOSKRNL.exe is missing.
Lionel MM

I totally missed that critical point (that its only happening to systems that were infected)--sorry about that. OK so have run boot time scans with a product like AVG rescue disk (this runs before you get into Windows)? As well as products like malwarebytes?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
KenBlessing

ASKER
i have run malwaarebytes and norton endpoint
KenBlessing

ASKER
anyone else have any input on this?
Lionel MM

Did you run boot time scans or scans once logged onto Windows?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
KenBlessing

ASKER
i ran avg boot scan (no infected files) i ran malwarebytes (no issues) symantec endpoint (no viruses Detected)  but it will boot into safe mode now, i don't know what happened there.

so now what?
Lionel MM

It seem to me that at some point the time wasted trying to recover a drive attacked by a virus is best spent re-creating the system. However if you can get in via safe mode what error are you getting now for a normal boot--still the same? In safe mode check the event logs for errors and let us know what those are. I would instead make a clone of one of the systems that are working (instead of a doing a system by system reinstall) and clone the systems, run sysprep and go from there. If you are interested in this let me know, otherwise let me know what you find in safe mode--thanks.
KenBlessing

ASKER
Hi Lionelmum
First, thank you for your help on this issue so far....but I think something has been lost in the post trail.
I am not tring to recover a drive on any machine.
The problem is that I have a shared folder no one of my servers and when I map that folder from a client machine the map does not stay on the client after a reboot.  it is not that the map is in active or can't connect it is just gone from the client and has to be remapped.
Now I understand that a script could be written to remap the drive at login but that does not explain why a map the used to stay now does not.

This only happens on some of the machines that that were on the network at the time of the virus, new machines have no issue.

going back to your last responce I get no Errors on the clients anywhere reguarding this issue.

again thanks for your help
Ken
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Lionel MM

What I was trying to say is that if the only systems that are affected are the ones that were infected by the virus, then it may be best to think of starting new installs on those systems. It is very common for infected systems to be non-recoverable, unable to get them back to functioning normally.
KenBlessing

ASKER
I agree that rebuilding the system is the foolproof easy way out of this and I have rebuilt a few machines but for some systems this is not a viable option for various reasons.

But I am getting the idea that this is something that no one knows how to fix.

So for now I am going to look for a Band-Aid (drive mapping script) to put on this until I can rebuild all the systems that have been affected.
ASKER CERTIFIED SOLUTION
Lionel MM

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Lionel MM

Quick Example

Rem Run "dir" to see if Y is still active or not
dir y:
If Errorlevel 1 goto NetUse
GoTo End

:NetUse
net use y: /d
net use Y: \\servername\sharename /p:y
If Errorlevel 1 goto Error
GoTo End

:Error
Echo There was an error creating a connection to Drive Y on Servername
Pause
(Or Net Send AdminComputerName Problem on %ComputerName% creating connection to drive Y)

:End
Rem Exit Remove REM once you are done testing so script will exit
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
crash2000

As it's XP Pro, you could always boot from CDROM and go to reinstall, but choose repair.
That should fix the DLL's if there damaged.
After that, you would only need to reinstall the updates.
Might be worth trying that on one machine, to see if it works.
You wouldn't need to reinstall all the sofwtare.

Mark
KenBlessing

ASKER
It is (fixed) for now with a script.   I tried the XP repair on an unimportant machine and lost the whole machine.
I will have to rebuild the machines as time allows.

Thanks for your help.
Ken