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 security

Vista - Virtualization of registry and files?

Reply
 
Old 12-27-2007   #1 (permalink)
Norman Diamond


 
 

Virtualization of registry and files?

Windows Task Manager has a column labelled Virtualization. I've read that
this means virtualization of some registry keys and files. For example if a
program tries to write to a registry key where it has no permission or a
file where it has no permission, Vista might create a key or file in a
location owned by the user, and redirect the program's access to the
virtualized location.

I've read that this kind of virtualization is a temporary measure for poorly
written legacy programs and this temporary measure will be removed in a
while.

This kind of virtualization is not needed for programs that were written
with security in mind, right? This kind of virtualization is not needed for
programs that are designed for Windows Vista, right?

Is Windows Mobile Device Centre a poorly written legacy program? It wasn't
designed for Vista? Or am I misunderstanding the meaning of the
Virtualization column?


My System SpecsSystem Spec
Old 12-27-2007   #2 (permalink)
DevilsPGD


 
 

Re: Virtualization of registry and files?

In message <#UMKHtFSIHA.2208@xxxxxx> "Norman Diamond"
<ndiamond@xxxxxx> wrote:
Quote:

>Windows Task Manager has a column labelled Virtualization. I've read that
>this means virtualization of some registry keys and files. For example if a
>program tries to write to a registry key where it has no permission or a
>file where it has no permission, Vista might create a key or file in a
>location owned by the user, and redirect the program's access to the
>virtualized location.
>
>I've read that this kind of virtualization is a temporary measure for poorly
>written legacy programs and this temporary measure will be removed in a
>while.
>
>This kind of virtualization is not needed for programs that were written
>with security in mind, right? This kind of virtualization is not needed for
>programs that are designed for Windows Vista, right?
>
>Is Windows Mobile Device Centre a poorly written legacy program? It wasn't
>designed for Vista? Or am I misunderstanding the meaning of the
>Virtualization column?
Virtualization is enabled for all executables by default, unless the
executable is running elevated or it uses a manifest to indicate
virtualization is not required.

Many applications will show that virtualization is enabled when they
only attempt to write to permitted locations, this is normal behaviour.
My System SpecsSystem Spec
Old 12-27-2007   #3 (permalink)
Norman Diamond


 
 

Re: Virtualization of registry and files?

"DevilsPGD" <spam_narf_spam@xxxxxx> wrote in message
news:jdp6n3dhghh1e33stb9sa9079rp9brq5ep@xxxxxx
Quote:

> In message <#UMKHtFSIHA.2208@xxxxxx> "Norman Diamond"
> <ndiamond@xxxxxx> wrote:
Quote:

>> Windows Task Manager has a column labelled Virtualization. I've read
>> that this means virtualization of some registry keys and files. For
>> example if a program tries to write to a registry key where it has no
>> permission or a file where it has no permission, Vista might create a key
>> or file in a location owned by the user, and redirect the program's
>> access to the virtualized location.
>>
>> This kind of virtualization is not needed for programs that were written
>> with security in mind, right?
>
> Virtualization is enabled for all executables by default, unless the
> executable is running elevated or it uses a manifest to indicate
> virtualization is not required.
OK, I think I understand. If I want my programs to look like well behaved
programs when listed in Task Manager, I have to add something to a manifest.
Quote:

> Many applications will show that virtualization is enabled when they only
> attempt to write to permitted locations, this is normal behaviour.
Isn't this irrelevant? If I really understood about the default, then the
attribute shown in Task Manager only depends on the manifest, right?

My System SpecsSystem Spec
Old 12-28-2007   #4 (permalink)
DevilsPGD


 
 

Re: Virtualization of registry and files?

In message <OGqpz8GSIHA.5160@xxxxxx> "Norman Diamond"
<ndiamond@xxxxxx> wrote:
Quote:

>OK, I think I understand. If I want my programs to look like well behaved
>programs when listed in Task Manager, I have to add something to a manifest.
That's correct.
Quote:
Quote:

>> Many applications will show that virtualization is enabled when they only
>> attempt to write to permitted locations, this is normal behaviour.
>
>Isn't this irrelevant? If I really understood about the default, then the
>attribute shown in Task Manager only depends on the manifest, right?
Yes, but if there is no manifest specifying virtualization, the
assumption is that virtualization might be needed, so it's enabled.

In other words, whether an application is well behaved or not won't
dictate whether it is listed with virtualization being enabled or
disabled, the manifest itself dictates that.

If your application is properly written, there is no explicit need to
turn virtualization off, aside from a *minor* performance boost and the
apperance of not needed virtualization.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Strange Registry Virtualization issue Vista security
Vista registry virtualization Vista General
Vista registry virtualization Vista security
File and registry virtualization doesn't work! Vista General
Vista's registry virtualization Vista General


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