Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Subst oddity with UAC

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 08-04-2007   #1 (permalink)
Keith Hill
Guest


 

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


 

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


 

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

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
substitute for subst dlc VB Script 6 07-01-2008 06:25 AM
Users can't run subst.exe or attrib.exe ?? Keith Hill [MVP] Vista file management 0 09-26-2007 06:51 PM
Problem with SUBST on Vista Dave Vista General 6 02-02-2007 08:04 AM
RTM DVD oddity warder Vista hardware & devices 7 12-21-2006 04:13 PM
How do I recognize a subst drive? Roman Kuzmin PowerShell 1 11-25-2006 06:02 PM


Vistax64.com 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 2005-2008

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 47 48 49 50 51