How to disable Win10 constantly retrying offline network drives

mappeddrivewindows 10

I have a storage machine that is usually offline. When I want to use it, I WOL it and then access its drives.
A drive from that machine is mapped to Windows 10.

When that machine is offline, Windows 10 will keep trying to access that drive and freeze up explorer (and other applications when a file chooser needs to be drawn) for a minute or so until it realises the drive is offline.

I would prefer it to completely give up on that drive until I manually double click on that drive or something.

Is it possible?

I don't want to Windows to cache any of the remote machine's content, so offline files feature probably isn't going to cut it.

Best Answer

You should disconnect the drive in Windows Explorer (right-click on it) so Windows will not try to map the drive at logon.

Then, use a batch file to add the drive when you need it, with persistent:no to prevent Windows from remembering it:

net use x \\server.domain.net\share /persistent:no
explorer x:
Related Topic