Software can’t access mapped network drives when run with elevated privileges

Issue

Certain in-house developed software update package fails to run properly on Windows 7 machines with UAC (User Account Control) enabled. The updater was run under administrator account with elevated privileges.

After some investigation we concluded that issue was caused by the update package trying to access user’s mapped network drives that were unavailable because package was run under full administrator access token. You can read more about the issue here.

Resolution

As suggested by the above article issue was resolved by adding following registry entry to affected machines:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
EnableLinkedConnections = 1

This can also be done via group policy – Preferences > Windows Settings > Registry 

New Registry Entry

Windows 7


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *