Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. 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 security

UAC and Virtual Store during installation

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 02-25-2007   #1 (permalink)
PeteM
Guest


 

UAC and Virtual Store during installation

Hello,

I understand that the virtual store feature redirects requests to folders
outside key system areas when a user uses a program and doesn't have admin
privileges. So far so good.

QUESTION: What happens in terms of folder redirection to virtual stores
during the setup process of an application? Most setups have to be run as
administrator.... I installed an application of mine and was confused that
this app was able to write files to c:\windows and c:\windows\system32. I saw
it during setup, I verified those files being in these folders after setup -
and they were not redirected.

Does this virtual store thing only work until AFTER the apps are installed?
Wouldn't that mean that some sluggish application's files could still mess up
some key OS files and cause instabilities or the OS to fail altogether?

Thanks.

My System SpecsSystem Spec
Old 02-25-2007   #2 (permalink)
Kerry Brown
Guest


 

Re: UAC and Virtual Store during installation

While running as administrator a program can write to protected system
areas. When installing a program you may need administrator privileges.
Files that all users need to read and/or execute have to be stored somewhere
that all users can read. Where the problem lays is if you store files that a
user needs to modify in these protected areas. When you try to do this is
when the virtual store kicks in. If you use Run as administrator to run the
program then the program can do whatever it wants. If you don't use Run as
administrator then the virtual store may be used. If your program needs to
have files that can modified by all users then you have to find a spot to do
this. Check out the MSDN articles for programming for Vista. Here's a good
starting point.

http://msdn2.microsoft.com/en-us/win.../aa904977.aspx

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca


"PeteM" <PeteM@discussions.microsoft.com> wrote in message
news:C1B2C387-ACED-4C9D-A250-44E36780BE00@microsoft.com...
> Hello,
>
> I understand that the virtual store feature redirects requests to folders
> outside key system areas when a user uses a program and doesn't have admin
> privileges. So far so good.
>
> QUESTION: What happens in terms of folder redirection to virtual stores
> during the setup process of an application? Most setups have to be run as
> administrator.... I installed an application of mine and was confused that
> this app was able to write files to c:\windows and c:\windows\system32. I
> saw
> it during setup, I verified those files being in these folders after
> setup -
> and they were not redirected.
>
> Does this virtual store thing only work until AFTER the apps are
> installed?
> Wouldn't that mean that some sluggish application's files could still mess
> up
> some key OS files and cause instabilities or the OS to fail altogether?
>
> Thanks.


My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Store Don D Vista General 6 07-12-2008 09:14 PM
virtual store folder!!!!! Jackie Lamorie Vista file management 0 10-09-2007 05:42 AM
question about Virtual Store bamahusker Vista file management 2 07-08-2007 05:16 PM
? about Virtual Store usage? Mike Vista General 0 03-13-2007 04:17 PM
Virtual Store DaddyBob Vista file management 1 10-12-2006 09:39 AM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




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