mapping) network drives allows University members to access files stored on University servers. You’re my hero! I’ve created a looped version instead for my users to make it easier to add/remove drives that they use, and to attempt each drive a few times because our servers are slow.Įcho %current_drive% Drive not connected.Connecting to (a.k.a. Net use X: \\192.168.1.120\TST Tracker Demo Data /USER:TST\devinw /PERSISTENT:YES Net use X: \\tst02s\Support /USER:TST\devinw /PERSISTENT:YES Net use X: \\tst02s\TSTracker /USER:TST\devinw /PERSISTENT:YES Net use X: \\tst02s\Shared /USER:TST\devinw /PERSISTENT:YES Net use X: \\tst02s\Apps /USER:TST\devinw /PERSISTENT:YES Net use X: \\tst02s\Corporate /USER:TST\devinw /PERSISTENT:YES Here is the contents of the file I created, perhaps I did something off
Net use Z: \\server\share\MYUSERNAME /PERSISTENT:YESĪll the drives show as connected in the file explorer, but the cmd window remains open. Net use Z: \\server\share /USER:domainname\username /PERSISTENT:YES
WIN 10 DISK MAP HOW TO
I’m currently on Windows 10 Pro, Version1809, Build 17763.503.įar as I can tell I’m NOT connected to nor affiliated to a “Domain” so I’m wondering how to modify your Code to accommodate the lack of a “Domain”… As a result, I’m looking at your solution. Until one of the recent updates to Windows 10 these mapped network drives reconnected at startup…now they refuse to do so and I have to reconnect them manually. I have six (6) such scheduled backups and, accordingly, six (6) mapped networked drives on the WD external hard drive. I use the WD to run scheduled backups of specific Acer data files during the nighttime hours. I have a Western Digital “M圜loud” external hard drive networked with my Acer laptop. Many thanks to our reader "Jezze" for sharing this tip. Move the reconnect.cmd file there and you are done.This will open your Startup folder in File Explorer. In short, press Win + R shortcut keys together and type the following into the Run box: shell:Startup Refer to the following article: How to add or remove startup apps in Windows 10. Move the *.cmd file you created to the Startup folder.You can save the file to any desired location. Double quotes are important to ensure that the file will get the "*.cmd" extension and not *.cmd.txt. There, type or copy-paste the name "reconnect.cmd" including quotes. In Notepad, press Ctrl + S or execute the File - Save item from the File menu.Replace the domainname\username portion with the appropriate values. Net use X: \\server\share /USER:domainname\username /PERSISTENT:YES Paste the following text inside Notepad and save as a *.cmd file.To fix the issue Windows 10 Does Not Reconnect Mapped Network Drives, you need to do the following.
If you press Refresh in Windows Explorer or double click the drive, they instantly become available. This results in them being unavailable sometimes. The problem: When Windows 10 logs on, there is a timing issue which causes it to attempt to map the network drives before the network is available. If you check 'Connect using different credentials', then you can specify a different user name and password. When you create a mapped network drive, there is an option 'Reconnect at logon' which you can check so that every time Windows logs on, they are automatically mounted using the current user's logon credentials. If a mapped network drive wasn't reconnected, any program that tries to access resources on the mapped network drive fails.