Results 1 to 3 of 3

Thread: UAC and mapped network drives (FAQ)

  1. #1

    Default UAC and mapped network drives (FAQ)

    This support question comes up very often: "Why are mapped drives not
    visible or accessible to an elevated running application (e.g. SETUP.EXE)?"

    Mapped drives are always associated with a logon session, not a machine! A
    locally unique identifier (LUID) identifies a logon session and a LUID is
    generated for each logon session. Because mapped drives are associated with
    LUID, and elevated applications are using a different LUID generated during
    a separate login event, the elevated application will no longer see any
    mapped drives for this user. The elevated and non-elevated administrator
    accounts have completely different logon tokens and can therefore have
    different drive mappings. That means, a process running non-elevated and
    another process running elevated are a part of two distinct logon sessions.
    As such, if a drive was mapped in a non-elevated context, it will never be
    visible to an elevated context, unless the drive is also mapped in the
    elevated context.

    BTW, please note that this does NOT only happen on UAC-aware (Windows Vista,
    Windows Server 2008, Windows 7, Windows Server 2008 R2) systems.

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder is Windows 7 installation -- "point. click. ship"

    -- Official Comodo Code Signing and SSL Certificate Partner

  2. #2

    Default Re: UAC and mapped network drives (FAQ)

    BTW, if a mapped drive is not available, you can use the "Map/Disconnect
    Network Drive..." script function to map an UNC to a drive letter to a
    specified share name.

    Friedrich

  3. #3

    Default Re: UAC and mapped network drives (FAQ)

    THANKS!!

    I am programming quite some small & easy tools in SB7 - SB7 ias really
    not only an ionstall tool.
    This explained some unexpected behavior.

    Edvard Korsbęk

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •