• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 647
  • Last Modified:

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.

1 Solution
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.
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

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now