Creating a network drive with credentials and option set to reconnect on login, may still be in a disconnected state. Selecting the network drives in Explorer connects them.

To make this behavior automatic,

  • Press Windows + R, type gpedit.msc, and then click Ok.
  • Double click Computer Configuration\Administrative Templates\System\Logon\Always wait for the network at computer startup and logon
  • Set to Enabled.
  • Click Ok.
  • Press Windows + R, type regedit, and then click Ok.
  • Locate and right click the following registry subkey:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\NetCache
  • Click Edit, point to New, and then click DWORD Value.
  • Type SilentForcedAutoReconnect, and then press enter to name the value.
  • Double-click SilentForcedAutoReconnect .
  • In the Value data box, type 1, and then click Ok.
  • Restart the PC.