No Elevation on Network Drives for 7/Vista
Windows 7 does not allow permanent elevation on programs running on network drives. This is because the drives are mapped using the standard user account, and the inherent permissions of a standard user take effect upon logon, which is usually when the drives are mapped. One can use the "Run As Administrator" option on a per-use basis, but by default one cannot set the compatibility options to make the program run as admin every time. This is obviously a problem if the program requires admin rights, but exists on a network location.
Luckily, there is a nice work-around, directly from Microsoft:
To work around this problem, configure the EnableLinkedConnections registry value. This value enables Windows Vista or Windows 7 to share network connections between the filtered access token and the full administrator access token for a member of the Administrators group. After you configure this registry value, LSA checks whether there is another access token that is associated with the current user session if a network resource is mapped to an access token. If LSA determines that there is a linked access token, it adds the network share to the linked location.
To configure the EnableLinkedConnections registry value, follow these steps:
ClickStart, typeregeditin theStart Search box, and then press Enter.
Locate and then right-click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Point toNew, and then clickDWORD Value.
TypeEnableLinkedConnections, and then press Enter.
Right-clickEnableLinkedConnections, and then clickModify.
In theValue databox, type 1, and then clickOK.
Exit Registry Editor, and then restart the computer.