I'm looking for a script to keep a mapped network drive active, after logging off.

Trying to locate a startup script that can essentially keep a mapped drive connected, after I log off the server. Any input your may have would be helpful.

Who is Participating?
Not sure if this will help but it worked for me a while back. It's a batch file I created and used in startup.

@echo off
net use E: \\drive /user:DOMAIN\user password /persistent:yes
ThinkPaperIT ConsultantCommented:
Not sure this method may work for you but,
What we have on our network here, is have a simple script to map a network drive (bat) and we use Group Policy and link it to run the script on logon. So the drive is mapped each time a user logs on.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.