Correct Red X Problem Following a reboot

How can I resolve/correct the Red X on all my mapped drives after reboot? I'm running Windows 10 with drive mapping to a Synology.
SpaceCoastLifeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

JohnBusiness Consultant (Owner)Commented:
If you can connect just by clicking on the folder, then ignore the red x. Fairly common issue.

If you cannot reconnect, do the following:

Open cmd.exe and then NET USE T: /Delete for All Drives T.

Then map with a batch file, not browsing.

NET USE Z:  /Delete
NET USE Z: \\server\folder

Do this for all drives, save in a .Bat file on your desktop and run it to connect.
0
SpaceCoastLifeAuthor Commented:
It does not reconnect when clicking on it. Could you please give me an example of the exact syntax for the batch file?
The drives I need to map are M, N, O, P.

After I save it, is there a way to have it run automatically with each startup? They should be mapped at all times.
0
JohnBusiness Consultant (Owner)Commented:
Open Notepad and put in the commands as I have shown above . 2 lines as shown for each drive.

Save as "connect.bat" on the desktop.

There is a logon folder on Windows to run on startup. I will check the exact folder when I return to my computer
0
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

JohnBusiness Consultant (Owner)Commented:
You can set Logon Scripts in GPEDIT.MSC as shown below. I do not do this as my laptop moves around. I prefer to have desktop scripts to connect as needed.

Windows-10-Logon-Script-loca
0
SpaceCoastLifeAuthor Commented:
I'm not understanding this last part. How do I insert or reference the bat file here?
0
JohnBusiness Consultant (Owner)Commented:
Once you have opened GPedit and navigated to the scripts as shown, you should now be able to find the folder in System32 to place your batch file.

C:\Windows\System32\GroupPolicy\User\Scripts
0
JohnBusiness Consultant (Owner)Commented:
Correction. I recall the above working, but on my Windows 10 machine, newest build, double click on the logon or logoff script in gpedit.msc and then add the batch file there. This works as I tested it here.
0

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
SpaceCoastLifeAuthor Commented:
This is great. Thanks for the help!
0
JohnBusiness Consultant (Owner)Commented:
You are very welcome and I was happy to help you solve this.
0
SpaceCoastLifeAuthor Commented:
Turns out this isn't working after all, even though I was pretty sure it was. I'm following your instructions exactly (I think) but the drives are not connecting. Any ideas?
0
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 10

From novice to tech pro — start learning today.