We help IT Professionals succeed at work.

New podcast episode! Our very own Community Manager, Rob Jurd, gives his insight on the value of an online community. Listen Now!

x

Windows 10 64bit Mapped drive issue

1,781 Views
Last Modified: 2017-05-01
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?
Comment
Watch Question

JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
What causes them to not connect upon arriving on our network?
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
Drive persistence causes this which is why I suggested the above solution.
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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.

Author

Commented:
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?
Business Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
The drives go away, when they log off and disconnect from the network
J SSenior Systems Administrator
CERTIFIED EXPERT

Commented:
Hi Vince,

What method are you using to map drives? Group Policy or AD logon batch files?

Author

Commented:
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.
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
Did you try resetting TCP , DNS Flush to clear out their home settings?

Author

Commented:
\\metal****.local\share\*fcpub       * are for confidential purposes. This is what our shared drives file path look like

Author

Commented:
Would i have to clear out there home settings everyday?
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
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.
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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?

Author

Commented:
There are 5 drives that are mapped.  They have a docking station they connect to when they arrive to the office.
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
How are they mapped? Do you manually map the drives when a user is first set up?

Author

Commented:
Manually map them when first set up the user
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
And when the user comes into the office, do they turn the computer on or wake it up? (This can make a difference)

Author

Commented:
They turn it on
Shaun VermaakSenior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
How do i get this from coming up on every startup? image001.png
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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.

Author

Commented:
Using a logon script (.bat file) Capture.PNG

Author

Commented:
The first shared drive always disappears and that CMD window pops up at every boot up.
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
If you can, you need to make sure people have disconnected.

Author

Commented:
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
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
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.
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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.

Author

Commented:
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.

Author

Commented:
No other PC is used by user and no files open, i checked the server and the it is still giving prompt. image001.png
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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.
Shaun VermaakSenior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019

Commented:
TL/DR everything. Why not use Preferences to map these drives?
61.png62.png

Author

Commented:
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
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
Thank you for the update and I was happy to help you resolve this
Shaun VermaakSenior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019

Commented:
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
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.