WIndows 11 Mapped Network Drive Changes The Target Folder "Randomly"

chrisk 0 Reputation points
2025-04-17T11:45:33.34+00:00

Hi

I have an odd drive mapping issue (and apparently random though I suspect its down to a cause and set of circumstances I havent figured out yet)

I have a NAS.

I have mapped a root folder on that NAS to be my Z drive (e.g Z:\Level 1)

Works perfectly.

However sometimes when I start/bring back the laptop from a sleep/restart after updates/some other action as yet unidentified, whilst the Z drive still exists in Windows Explorer, it is not the folder I originally mapped - it points to a sub folder down the tree from the root. e.g. Z:\Level1\Level2\Level3

I seem to recall a long time ago I had mapped the level 3 subfolder specifically as the Z drive in its own right (i.e. the network path was \nas\Level 1\Level 2\Level 3), then disconnected it, and then remapped the root folder level 1 as the Z drive. But sometimes my laptop seems to "remember" that Z: used to be mapped to Level 3 and reconnects to it (Level 3 still exists)

The only way that consistently works for me to re-map it is to go into safe mode, disconnect the wrong Z drive folder, re-map the folder I want to be on my Z drive and then reboot as normal.

Trying to disconnect the wrong Z drive folder with WIndows 11 not in safe mode generally doesnt work for me. Nor does disconnecting and rebooting, or disconnecting and restarting windows explorer. Windows explorer still shows the Z drive (wrong folder) but sometimes with a red X, and you can sometimes still browse to it and it works, other times it says it doesn't exist (even though it does)

I think that maybe an app somewhere must be trying to reconnect the wrong folder but for the life of me I cant see what it is, I have tried various permutations of elevated NET USE commands, messed around in the registry with mountpoints2.

ANy help/further things to research gratefully received. Whilst the workaround to fix it works, its a pain. Id rather have a stable mapping whenever whatever is causing this happens.

THanks

Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
862 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Joseph Tran 0 Reputation points
    2025-05-01T17:30:26.74+00:00

    Try this simple test.

    In one of the computer where the issue was reported. Conduct a full C drive search for “SYSVOL”

    Open the script in there using Notepad and see if any of them point to a network drive mapping script. If so ,. And you feel confident, Change the mapping path to the new servers (or which ever new path it is supposed to point to)

    If you do not find the script there.

    Run this simple command.

    Start Menu > RUN > CMD

    GPRESULT

    This should give you a quick understanding of what is happening upon login.

    If you see that the script is being set this way. Log on to Active Directory and go to the user profile. See if this is where the script is being force from. (most likely is)

    REMOVE THE SCRIPT.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.