Tuesday, July 26, 2022

Network Mapped Drives are Not Available to Administrators when application launched via Run As Administrator

When User Account Control (UAC) is enabled, if you run a program as Administrator (elevated), you cannot see the network drives that were mapped under the non-admin account.

In order to correct this behavior, you need to Enable Linked Connections in the registry.

Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System, create or set the EnableLinkedConnections value (a DWORD 32-bit number) to 1.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLinkedConnections"=dword:00000001