Fix Network Drive Persistence on Reboot via Regedit
Mapped network drives in Windows can fail to reconnect automatically
after a system restart, frequently displaying a red “X” or showing as
disconnected. This issue commonly occurs due to User Account Control
(UAC) token filtering or the network stack initializing after user
logon. This guide explains how to use the Windows Registry Editor
(regedit) to configure the
EnableLinkedConnections entry, forcing Windows to share
network connections across elevated and standard security tokens and
ensuring drives persist across reboots.
Step 1: Open the Registry Editor
- Press
Windows Key + Rto open the Run dialog. - Type
regeditand press Enter. - If prompted by User Account Control (UAC), click Yes to grant administrative permissions.
Step 2: Navigate to the System Policies Key
In the Registry Editor, use the left navigation pane or paste the following path into the address bar at the top:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Step
3: Create or Modify the EnableLinkedConnections Value
- With the System key selected in the left pane, look at the right pane.
- Check if a value named
EnableLinkedConnectionsalready exists. - If it does not exist:
- Right-click an empty space in the right pane.
- Select New > DWORD (32-bit) Value.
- Name the new value
EnableLinkedConnections.
- If it exists (or after creating it):
- Double-click
EnableLinkedConnections. - Set the Base to Hexadecimal.
- Change the Value data field from
0to1. - Click OK.
- Double-click
Step 4: Configure ProviderFlags (Optional for Network Latency Issues)
If the drive still fails to reconnect due to slow network initialization, modify the network provider settings:
- In the Registry Editor, navigate to:
HKEY_CURRENT_USER\Network - Locate the subkey corresponding to the mapped drive letter (e.g.,
Z). - In the right pane, double-click the ProviderFlags DWORD (create it as a DWORD (32-bit) Value if it does not exist).
- Set the Value data to
1. - Click OK.
Step 5: Restart the Computer
- Close the Registry Editor.
- Restart your computer to apply the changes.
- Open File Explorer and verify that your mapped network drives reconnect automatically without errors.