Virtualization of registry and files?

N

Norman Diamond

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

DevilsPGD

In message <#[email protected]> "Norman Diamond"
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.
 
N

Norman Diamond

DevilsPGD said:
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.
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?
 
D

DevilsPGD

In message <[email protected]> "Norman Diamond"
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.
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top