Results 1 to 3 of 3

Thread: Re-directing files from VirtualStore folder

  1. #1
    Pete@prov Guest

    Re-directing files from VirtualStore folder

    I have a client application that usually stores .log and other files in the
    C:\Program Files\(specific app folder).

    With VISTA, these files are saved in hidden folders such as:
    C:\Users\(USERNAME)\AppData\Local\VirtualStore\Program Files\(specific app
    folder)

    Is there a way to override this so that they are saved in the C:\Program
    Files\(specific app folder)?

    Where can I find information on this VirtualStore folder?

    Regards,

    Pete@prov

  2. #2
    Rick Rogers Guest

    Re: Re-directing files from VirtualStore folder

    Hi,

    By design, the security model of Vista runs programs within the user
    environment, not the system. This is why your files end up in the
    VirtualStore, it's where the application is run. You may be able to override
    this programatically, but it will involve your having the change permissions
    on the Program Files folder. You'd have to check with someone who know the
    language you are writing the application in to see if it's possible.

    --
    Best of Luck,

    Rick Rogers, aka "Nutcase" - Microsoft MVP
    http://mvp.support.microsoft.com/
    Windows help - www.rickrogers.org

    "Pete@prov" <Peteprov@discussions.microsoft.com> wrote in message
    news:84DCB097-A718-4BD3-A0AE-A31042DCB007@microsoft.com...
    >I have a client application that usually stores .log and other files in the
    > C:\Program Files\(specific app folder).
    >
    > With VISTA, these files are saved in hidden folders such as:
    > C:\Users\(USERNAME)\AppData\Local\VirtualStore\Program Files\(specific app
    > folder)
    >
    > Is there a way to override this so that they are saved in the C:\Program
    > Files\(specific app folder)?
    >
    > Where can I find information on this VirtualStore folder?
    >
    > Regards,
    >
    > Pete@prov



  3. #3
    Ronnie Vernon MVP Guest

    Re: Re-directing files from VirtualStore folder

    Pete

    There are a few changes that need to be made for your application. In most
    cases these can be made by including a simple manifest file. The place to
    ask the howto questions is on the MSDN forums. These forums are staffed by
    MS developers who perform this type of programming on a daily basis.

    MSDN Forums: Software Development for Windows Vista
    http://forums.microsoft.com/MSDN/def...ID=24&SiteID=1

    Here are a few more links that will help.

    Developing Applications that Run at Logon on Windows Vista:
    http://msdn2.microsoft.com/en-us/library/bb325654.aspx

    The Windows Vista Developer Story: Windows Vista Application Development
    Requirements for User Account Control (UAC):
    http://msdn2.microsoft.com/en-us/library/aa905330.aspx

    Download details: Windows Vista Application Development Requirements for
    User Account Control Compatibility:
    http://www.microsoft.com/downloads/d...displaylang=en

    Secure It:
    http://msdn2.microsoft.com/en-us/win.../aa904985.aspx

    User Account Control Overview:
    http://technet.microsoft.com/en-us/w...06021.aspx#E2G



    --

    Ronnie Vernon
    Microsoft MVP
    Windows Shell/User


    "Pete@prov" <Peteprov@discussions.microsoft.com> wrote in message
    news:84DCB097-A718-4BD3-A0AE-A31042DCB007@microsoft.com...
    >I have a client application that usually stores .log and other files in the
    > C:\Program Files\(specific app folder).
    >
    > With VISTA, these files are saved in hidden folders such as:
    > C:\Users\(USERNAME)\AppData\Local\VirtualStore\Program Files\(specific app
    > folder)
    >
    > Is there a way to override this so that they are saved in the C:\Program
    > Files\(specific app folder)?
    >
    > Where can I find information on this VirtualStore folder?
    >
    > Regards,
    >
    > Pete@prov



Similar Threads

  1. Windows 7 Storing ISO files within VirtualStore folder
    By Imao in forum Operating Systems
    Replies: 4
    Last Post: 25-02-2011, 04:34 AM
  2. VirtualStore is horrible how do you disable it in Windows7
    By Conqueror in forum Windows Software
    Replies: 6
    Last Post: 05-09-2010, 12:19 AM
  3. Directing to the same page
    By Linux-Us in forum Software Development
    Replies: 3
    Last Post: 08-12-2009, 02:17 PM
  4. Where is my temp files folder & cookies folder?
    By aftab1 in forum Operating Systems
    Replies: 2
    Last Post: 05-11-2008, 12:58 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,389,811.40433 seconds with 16 queries