Re: Repost: Using SetTokenInformation to control file system virtualization on Vista?



Hi Jordan,

Just to make sure, I have everything right. In your test executable,
you're performing file operations on a files that does not exist in the
global namespace (non-virtualized) but instead getting the virtual file?

¡¤ with an app manifest + valid requestedExecutionLevel
¡¤ file access are done in the global namespaces: %PROGRAMFILES%,
%ProgramData% or %SYSTEMROOT% but getting virtualized file redirection
(%LOCALAPPDATA%\VirtualStore)
¡¤ the virtualization bit was manually enabled via SetTokenInformation

The scenario listed above here is a scenario officially _not_ supported.
This is embedding specific knowledge about virtualization in your
application, which is not intended or expected.

However, I believe what you seeing are can be repro'd if you:
1) open TaskMgr.exe, [Processes] ->Select Columns->[Check]
Virtualization
2) launch notepad.exe, note that it launches with virtualization
disabled,
3) right click that process, and check virtualization menu item,
virtualization will be enabled for that process.

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: Repost: Using SetTokenInformation to control file system virtualization on Vista?
    ... SetTokenInformationis already a high-level API:) ... what's supported when you tinker with a process's virtualization state. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.platformsdk.security)
  • Re: Repost: Using SetTokenInformation to control file system virtualization on Vista?
    ... Would separating the user data migration functionality into a separate ... those user files that it has access while virtualization is enabled. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.platformsdk.security)
  • Re: Virtual PC 2007
    ... (31,138KB 32 bit download) ... In terms of VT-x support (hardware virtualization in the processor), ... so running Linux is a "second class experience". ...
    (microsoft.public.windowsxp.general)
  • Re: Need Expert Opinions - VMware & Active Directory
    ... They can't tell them they can't do it but by the same token those companies can't tell MSFT that they have to support it. ... The very best support on non-MSFT virtualization is best effort and you have to duplicate the issue on physical hardware if they so decide. ... Simply put, if you blow your physical host, you aren't just restoring the host and restarting VMs from the restored host's disk... ...
    (microsoft.public.windows.server.active_directory)
  • RE: Exchange 2003 installation on VMWARE virtual machine.
    ... Running Microsoft Exchange Server in a Virtual Machine Using VMware ESX ... Microsoft Support Policies and Recommendations for Exchange Servers in ... Hardware Virtualization Environments ...
    (microsoft.public.exchange.setup)