Subst oddity with UAC

Discussion in 'Windows Vista File Management' started by Keith Hill, Aug 4, 2007.

  1. Keith Hill

    Keith Hill Guest

    Why is it that I have to subst drives in both a normal cmd prompt and also
    an elevated cmd prompt? You'd think that a single subst in either type of
    cmd prompt would become visible to the other (just as if both prompts were
    running at the same privilege level)?
     
    Keith Hill, Aug 4, 2007
    #1
    1. Advertisements

  2. On Fri, 3 Aug 2007 23:26:52 -0600, "Keith Hill"
    Prolly the setting that takes effect when Subst is applied, is itself
    split between true HKLM and the virtualized version.


    To one who only has a hammer,
    everything looks like a nail
     
    cquirke (MVP Windows shell/user), Aug 4, 2007
    #2
    1. Advertisements

  3. Nope. I tracked this down to the permissions on subst.exe getting changed
    automatically somehow. Most all exes in the system32 dir allow Users to
    execute them. However for subst.exe somehow got removed (along with
    TrustedInstallers). Unfortunately, while I can put Users back in with
    read/execute perms at some point later Users gets removed. This is very
    annoying because I do development on Vista that requires the use of subst
    drives. My build scripts are failing because of this.
     
    Keith Hill [MVP], Aug 13, 2007
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.