File Virtualization Check

Discussion in 'Microsoft Dot NET' started by wilkinsonr@gmail.com, Aug 14, 2007.

  1. Guest

    Hi All,
    This is the situation. I have a porgram that is in a sub-dir of
    program files that has an auto-updater. This updater needs to over
    write both exe's and data files. If the user is not an admin I can
    prompt for a elevation of rights, however, this may not be required as
    the user may have write permission on the directory. However, if I
    just try writing to the directory, file virtualization kick in and
    fakes it for me.

    So the question is.. Is there any way to find out if file
    virtualization would be or was needed on a file operation, or is there
    a way of telling vista not to virtualize a particular process? I am
    using dotnet 2.0.

    The reason for this odd request is that the application will be put
    onto laptops where the users may not know the admin account details,
    but instead, if they are not admin's, they will be given write access
    to the folder.

    thanks,
    Richard
     
    , Aug 14, 2007
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page