Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - Subst oddity with UAC

Reply
 
Old 08-04-2007   #1 (permalink)
Keith Hill


 
 

Subst oddity with UAC

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


My System SpecsSystem Spec
Old 08-04-2007   #2 (permalink)
cquirke (MVP Windows shell/user)


 
 

Re: Subst oddity with UAC

On Fri, 3 Aug 2007 23:26:52 -0600, "Keith Hill"

>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)?


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
>--------------- ----- ---- --- -- - - -

My System SpecsSystem Spec
Old 08-13-2007   #3 (permalink)
Keith Hill [MVP]


 
 

Re: Subst oddity with UAC

"cquirke (MVP Windows shell/user)" <cquirkenews@nospam.mvps.org> wrote in
message news:8a79b3lu5cu6o8iko2iriihibna3oisjk2@4ax.com...
> On Fri, 3 Aug 2007 23:26:52 -0600, "Keith Hill"
>
>>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)?

>
> Prolly the setting that takes effect when Subst is applied, is itself
> split between true HKLM and the virtualized version.


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

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
substitute for subst VB Script
Users can't run subst.exe or attrib.exe ?? Vista file management
Problem with SUBST on Vista Vista General
RTM DVD oddity Vista hardware & devices
How do I recognize a subst drive? PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46