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

  1. Press Windows Key + R to open the Run dialog.
  2. Type regedit and press Enter.
  3. 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

  1. With the System key selected in the left pane, look at the right pane.
  2. Check if a value named EnableLinkedConnections already exists.
  3. 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.
  4. If it exists (or after creating it):
    • Double-click EnableLinkedConnections.
    • Set the Base to Hexadecimal.
    • Change the Value data field from 0 to 1.
    • Click OK.

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:

  1. In the Registry Editor, navigate to: HKEY_CURRENT_USER\Network
  2. Locate the subkey corresponding to the mapped drive letter (e.g., Z).
  3. In the right pane, double-click the ProviderFlags DWORD (create it as a DWORD (32-bit) Value if it does not exist).
  4. Set the Value data to 1.
  5. Click OK.

Step 5: Restart the Computer

  1. Close the Registry Editor.
  2. Restart your computer to apply the changes.
  3. Open File Explorer and verify that your mapped network drives reconnect automatically without errors.