. , env, , , .
( 2 ), , .
, env vars, APPDATA, LOCALAPPDATA .. , Win7 2k8. , - . , , , , ,% USERPROFILE%, . % ProgramData%.
- cmd.exe, set, , , , env vars . cmd.exe 32- . Process Explorer 32- 64- .
Switching the application to a 64-bit build will solve most of the virtualization problems, but not the env var extension. Also, if your application deals with system folders, you need to request increased mileage from the code, or even better to make a manifest and declare it there. Then the OS will scream at the user if his UAC is turned on, and your application will avoid this second virtualization. BTW, virtualization is managed through group policies so that it can be present on some mailboxes and absent on others.
source
share