We help IT Professionals succeed at work.

connecting to a mapped network drive on boot

Last Modified: 2008-04-24
I am trying to set up a network backup server that will automatically pull peoples files from a mapped, password protected network drive on each machine to a local folder. The problem that i am having is that when I reboot my backup server, the drives are not connected when it boots up. Does anyone know how I can set the mapped drives to connect on boot without logging in and manually clicking on the drive?
Watch Question

Ciprian LozonschiOps Team Office 365/Messaging

Try to map the drives with "reconnect at logon" option checked (or /persistent:yes switch from command line) when you map the drive

how do you run the back up? Is there a way for you to create a script that willl re-map the drivers and put it in the task scheduler and run it right before your back up app runs?
This one is on us!
(Get your first solution completely free - no credit card required)


I am using WS-FTP's synchronize utility to synchronize the mapped drive to an offsite backup server. I would ultimately like to have the drive connect on boot and not logon so that it can be totally self sufficient. As I understand it, I would have to logon to have a batch script automatically run. Am I incorrect in this thinking? Any other ideas?

not 100% I'm not at a server here, but I don't think so. I meant to add the script in the Task Scheduler, not startup....

Not sure what OS you're running on your server, but here's for Win2K: http://www.microsoft.com/technet/prodtechnol/windows2000serv/maintain/featusability/tsksched.mspx

You can actually set a time for it to run, and use the proper UserName/Password...


I am just using win. xp computers to do this. The offsite server is running win. server 2003, but is kind of irrelavent to this because the problem lies with the xp file server to connect to the mapped local drives.

you should be able to run a task without loggin in...


ill check it out and get back to you. thanks for your help so far.

no problem... it can run without loggin in because you can set a User Name in the "Run as:" box in the Task Tab... and it works for XP as well...

thanks! glad I could help ;-)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

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


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.