Link to home
Start Free TrialLog in
Avatar of VInce Ortiz
VInce Ortiz

asked on

Windows 10 64bit Mapped drive issue

Have a user whose drives will not stay mapped, no matter what i do. I map them then when they leave the network and return they are gone. How do i force them to stay mapped?
SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of VInce Ortiz
VInce Ortiz

ASKER

What causes them to not connect upon arriving on our network?
Drive persistence causes this which is why I suggested the above solution.
Avatar of McKnife
Vince, you need to describe the problem a little more. Drives that show an "X" are not unmapped but wait for the connection to become available. So if you see "X's", that could mean that when starting your computer, the network is not initialized at the point in time when the OS tries to restore the drive mapping. Clicking on those "X'd" drives just a few seconds after logon will succeed though.
They can connect to the drives when they are on the network. Then they go home for the day and come back the next day and they are not mapped. I tried the solution above but get an error "system error 67"
What happens if the user logs on (after you have mapped the drives and logged off) with the machine disconnected from the network?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The drives go away, when they log off and disconnect from the network
Hi Vince,

What method are you using to map drives? Group Policy or AD logon batch files?
Am using active directory, we have 100 users with laptops.  But this one user seems to be having this issue all the time. Driving me nuts.
Did you try resetting TCP , DNS Flush to clear out their home settings?
\\metal****.local\share\*fcpub       * are for confidential purposes. This is what our shared drives file path look like
Would i have to clear out there home settings everyday?
You should not have to, but I am suggesting this to reset the network status. Also make sure the user is not trying to use static IP at home.
So i assume you have had the user restart the computer after they get to the office. Have you checked to see whether there is a delay in the computer establishing a network connection? Have you tried while the laptop is using a wired connection in the office?

You also need to let us exactly how the drives are being mapped. Or maybe you don't have drives being mapped at all by Active Directory. But the most common approaches are batch files or group policy. I have also seen people use scripts but less commonly.

John pointed a good point with checking for static IP, which I doubt is in use. But have you checked for static DNS settings?
There are 5 drives that are mapped.  They have a docking station they connect to when they arrive to the office.
How are they mapped? Do you manually map the drives when a user is first set up?
Manually map them when first set up the user
And when the user comes into the office, do they turn the computer on or wake it up? (This can make a difference)
They turn it on
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
How do i get this from coming up on every startup? User generated image
How exactly are you mapping the drives? Batch file, login script.... could you please post the contents? (You can redact sensitive details)

However, I'd still tell you the most ideal approach would be GPO.
Using a logon script (.bat file) User generated image
The first shared drive always disappears and that CMD window pops up at every boot up.
Because you're running commands, the CMD window would've popped up anyway. Do you have any folder redirection going on that involves any of those drives? That's the one reason that would make sense to why you're getting prompted
If you can, you need to make sure people have disconnected.
There is folder redirection on some of the drives. Why would all but one drive disconnect? How do i stop the CMD prompt form appearing? No other user see's this prompt
This can happen if the Windows Explorer tool used has this folder active even if no file is open. Now this would only happen if the user is logged in. So make sure the script is a login script and then the user would not have any folder in use.

Make sure the use is not using another computer holding a file open.
That's why I asked about folder redirection. That user may have something that's dependent on that folder. Check on the server to see whether any files are showing as open by that user. If you reboot the user's machine, does that error still come up?

The command window comes up for everyone, but it tends to open and close quickly when no errors come up.
The error comes up after every reboot. The user also has no folders/ files open from that drive. I will have access to the users laptop at noon so i may try some of the suggestions listed in this discussion.
No other PC is used by user and no files open, i checked the server and the it is still giving prompt. User generated image
Since you're confident that redirection isn't going on for that user on that computer... Does that computer have any applications on it that open files on the N drive that open automatically?

You could add "/y" to the end of your delete commands (i.e. net use n: /delete /y) to automatically answer yes to that question without user interaction, but you have to be very careful, because if something really is open, you may end up corrupting that file.
TL/DR everything. Why not use Preferences to map these drives?
User generated imageUser generated image
Thank you all for your help and suggestions. Doing this fixed it: net use n: /delete /y. As far as mapping drives through policy i will begin working on it. When i started here they had a lot of old habits in place. Am working on improving
Thank you for the update and I was happy to help you resolve this
Glad we could help.

@OP, experts and future visitors:
Please remember to endorse my, or any other expert's comments that you found helpful by clicking on the "Thumb's Up" button

Read more on endorsements
https://www.experts-exchange.com/discussions/218503/What-are-Endorsements.html