Enabled Linked Connections for Vista

Topics Internet, Windows Vista on June 29th, 2007

On Vista when you map a drive under your account you will find that your mapped drive is not available after you switch to your full token via a RunAs or Consent dialog. This is by design because there are actually two tokens in play here. What happens is the recognized that you are at logon and creates two . The first with a “filtered” token or non- which is used to render your desktop and the other containing your full token to be available after consent dialogs.

Because there are two separate there are separate logon ID’s. When network shares are mapped they are linked to the current logon session for the current process token. Meaning you don’t have access to the network drive from the alternate logon. This can come into play with logon scripts and a number of other areas where you may require access to a network share from both tokens.

If you set the following key it will change how SMB shares are mapped. They will be mapped to a token, which means that will check to see if there is a linked token associated with the user session and add the network share to that location as well. Basically all of this means that after setting this drives will be accessible from both tokens no matter which they are mapped under.

Disclaimer: This is not supported by and was never tested. Use at your own risk.

HKEY_LOCAL_MACHINE\\\\CurrentVersion\Policies\System
EnableLinkedConnections = 1 (DWord)

Share and Enjoy:
  • del.icio.us
  • StumbleUpon
  • Facebook
  • Google
  • Furl
  • Live
  • MisterWong.DE
  • NewsVine
  • Reddit
  • Slashdot
  • Technorati
  • YahooMyWeb
  • BlinkList
  • description
  • Fark
  • Netvouz
  • Spurl
  • MisterWong
  • Webnews.de
  • E-mail this story to a friend!
  • Print this article!

Tags:, , , , , , , , , , , , , ,

Related posts

2 Responses to “Enabled Linked Connections for Vista”

  1. 1
    Problem mapping Documents to network drive Says:

    [...] Dear Dave, Did you try adding EnableLinkedConnections to your Windows registry? Please see http://www.pctipsbox.com/enabled-lin…ons-for-vista/ for details. HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurr entVersionPolicies System [...]

  2. 2
    Tutorials-Win.com >> Vista >> Problem mapping Documents to network drive - Microsoft Windows Forum Says:

    [...] Dear Dave, Did you try adding EnableLinkedConnections to your Windows registry? Please see http://www.pctipsbox.com/enabled-linked-connections-for-vista/ for details. HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPolicies System [...]

Leave a Reply