Why won't my mapped drive persist for elevated user after reboot?

I have had a similar issue and these were the steps I conducted across the network and all PCs I did this work on have maintained the mapping after rebooting. (I did not want to use a batch file as this would provide the Administrator's password to the users if they were to find the file.)

  1. On the workstation, after a reboot, double click the disconnected mapped drive. Enter the Administrator's user name and password login to enable the mapping. The drive will be mapped successfully.
  2. Open a command prompt.
  3. Type the following command: net use \computername\sharedfoldername administratorpassword /user:administratorloginname /persistent:yes
  4. There will usually be an error message stating that this cannot be done multiple times; however, disregard the error message.
  5. Restart the computer.
  6. I have found the drive will always be permanently mapped after this procedure irrespective of reboots.

Example syntax:

  • Computer Name: ABCD123-DT
  • Administrator Login Name: Admin
  • Password: 321DCBA!
  • Shared folder name: SharedData

c:>net use \abcd123-dt\SharedData 321DCBA! /user:Admin /persistent:yes

NOTE: If you want confirmation of your success prior to restart, in the command prompt, type in net use and then press enter, you should see the mapped drive listed.


We have been facing similar issue and ended up using the task scheduler in following way:

schtasks /create /tn "my_mount" /tr "net use V: \\hostname\path /persistent:yes" /sc onstart