Mapped drives on xp

I have a client with Server 2008 r2 and 10 workstarions with Win 7 and XP. 2 of the xp machises will not hold the mapped drives. These are simple maps to a fileserver supporting dental practice applications. One of the machines will hold 1 of 2 maps and the other will not hold either on reboot.
I do not have scripts on the local or server yet. As stated, 8 of the machines work fine, does not seem to be server issue.
There is a domain, maps are lost on reboot but are not auto disconnected while logged on.
IT2DrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kruno DžoićSystem EngineerCommented:
try command line:

net use z: \\share /persitent:yes
Hendrik WieseInformation Security ManagerCommented:
As it is only 2 machines you could always add the following script into their startup to ensure that the drives does get mapped:
Option Explicit
Dim objNetwork, objShell 
Dim strDriveLetter, strRemotePath, strUserName

strDriveLetter = "U:" 
strRemotePath = "\\YOURSERVERNAME\YOURNETWORKDIRECTORY\" 

Set objNetwork = WScript.CreateObject("WScript.Network") 

On Error Resume Next

strUserName = objNetwork.UserName 
objNetwork.MapNetworkDrive strDriveLetter, strRemotePath & strUserName
objNetwork.MapNetworkDrive "S:" , "\\scends01\IEMASDfs\Centurion Public Data"

WScript.Quit

Sub ShowExplorer()
Set objShell = CreateObject("WScript.Shell") 
objShell.run ("Explorer" & " " & strDriveLetter & "\" )
End Sub

Open in new window


Hope this helps!!!
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Hendrik WieseInformation Security ManagerCommented:
You can save my example script as FILENAME.vbs

Cheers!!
IT2DrAuthor Commented:
will net use need logon script?
Kruno DžoićSystem EngineerCommented:
no, open command promt and enter command

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IT2DrAuthor Commented:
Thanks,
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.