UAC and Virtual Store during installation

Posted: 02-25-2007, 07:51 AM
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.
Reply With Quote

Responses to "UAC and Virtual Store during installation"

Kerry Brown
Guest
Posts: n/a
 
Re: UAC and Virtual Store during installation
Posted: 02-25-2007, 07:22 PM
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.
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hidden Files (Virtual Store ???) Jackie Lamorie Windows Vista File Management 1 11-10-2007 12:25 AM
virtual store folder!!!!! Jackie Lamorie Windows Vista File Management 0 10-09-2007 10:42 AM
how can I prevent windows to write my files at virtual store folde Isaac Windows Vista File Management 3 09-28-2007 06:05 AM
question about Virtual Store bamahusker Windows Vista File Management 2 07-08-2007 10:16 PM
Virtual Store DaddyBob Windows Vista File Management 1 10-12-2006 02:39 PM