Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Virtual Store

21 Feb 2010   #1
r22hawk

Windows 7 Home Premium
 
 
Virtual Store

Hi all - first time posting, thanks in advance for your assistance. I'm having difficulty where an IDE i'm using (Eclipse), which is located in c:/Program Files, is not saving files to this location, which I need updated real time since that is the location I have my local environment set to use for hosting local websites via Apache. Everytime I save a file, it goes to C:\Users\<user>\AppData\Local\VirtualStore\Program Files\<program> and doesn't appear to replicate back to c:/program files. Can someone give me more insight into this 'feature' and how I can combat it in order to have my files updated on c:/program files? Is this an application setting or at the OS level? Is this storage technique limited to Program Files only ?

Thank you for the education, I sincerely appreciate it.
Ryan


My System SpecsSystem Spec
.
21 Feb 2010   #2
r22hawk

Windows 7 Home Premium
 
 

Hi - possibly not very clear in my issue. Instead, can someone explain to me how virtual store works and what the MS methodology is? To re-mediate my situation, I'm likely going to move my App Data off of c: or c:/Program Files to avoid some of the restrictions.

Thanks in advance for taking the time.
My System SpecsSystem Spec
21 Feb 2010   #3
Tepid

Win 7 Ultimate 32bit
 
 

Know that this is by design. And you are still trying to work from an XP mentality.

Win 7 is NOT XP. There are reasons for the way things are done, and the largest majority of them are for very good reasons.

Step away from XP thinking and start learning the 7 way.

This article will go into more depth about the Virtual Store and what it is used for.
My System SpecsSystem Spec
.

21 Feb 2010   #4
Dzomlija

Windows 7 Ultimate x64
 
 

What you can also do is to install your IDE into an unprotected user-created folder, such as "C:\Eclipse", thereby avoiding the entire protected nature of "C:\Program Files" and "C:\Program Files (x86)".

This works especially well with programs that do not adapt well to the virtual store and protected system folders. In other words, programs that incorrectly assume that you are running with 100% administrative rights. It'll be awhile yet for developers to adapt.
My System SpecsSystem Spec
22 Feb 2010   #5
r22hawk

Windows 7 Home Premium
 
 

Thank you for the suggestions and feedback. I'll do my due diligence and let you know if I have anything come up.

Ryan
My System SpecsSystem Spec
24 Apr 2010   #6
rksolution

win 7
 
 

Thanks to Microsoft sophisticated innovations, the life is far from being boring . For example - since Vista, you cannot autostart process that requires administrative rights. Hmm. Superb brains in Microsoft argue, that such processes shoud be written as services. Sounds quite reasonable. Except that service managers require administrative rights, must run in user interactive context, and people are used to autostart them. No solution.
But "Virtual store" is the most amazing thing ever. For decades, when the programmer told the code to "save the file to THIS location", the OS either raised an exception, or the file was there. Not now. The actual location of the file depends on whether you launched the program by using left or right mouse button. Fantastic! I konw that I am probably used to think "the old XP way", but I just can't help myself . What comes next?
My System SpecsSystem Spec
24 Jun 2010   #7
MS Paranoia

windows 7
 
 
beyond virtual belief

I missed Vista entirely (thankfully) and had W7 installed on my office PC earlier this year. I spent all day yesterday trying to get changes in an apache conf file to have some effect.
I was in apache's bin directory typing the following command:
htpasswd.exe -cb "C:\Program Files\Apache Software Foundation\Apache2.2\htpasswd\passwords" username password
Of course the file never appeared where I asked for it to go, but there was no error.
So after searching the c drive I found it - you know where - C:\Users\user\AppData\Local\VirtualStore\Program Files\Apache Software Foundation\Apache2.2\passwd.

SO I asked a program to create a file somewhere and the OS decided to put it somewhere else?
Really - what's MS up to? Is their OS security is so bad, that they have to come up with this sort of bullshit? I just don't get it.
As another poster pointed out if you don't install your software in the Program Files folder (like python) none of this happens. What a waste of time.
My System SpecsSystem Spec
25 Jun 2010   #8
Dzomlija

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by MS Paranoia View Post
I missed Vista entirely (thankfully) and had W7 installed on my office PC earlier this year. I spent all day yesterday trying to get changes in an apache conf file to have some effect.
I was in apache's bin directory typing the following command:
htpasswd.exe -cb "C:\Program Files\Apache Software Foundation\Apache2.2\htpasswd\passwords" username password
Of course the file never appeared where I asked for it to go, but there was no error.
So after searching the c drive I found it - you know where - C:\Users\user\AppData\Local\VirtualStore\Program Files\Apache Software Foundation\Apache2.2\passwd.

SO I asked a program to create a file somewhere and the OS decided to put it somewhere else?
Really - what's MS up to? Is their OS security is so bad, that they have to come up with this sort of bullshit? I just don't get it.
As another poster pointed out if you don't install your software in the Program Files folder (like python) none of this happens. What a waste of time.
Actually, all this means is that the software you have installed (in this case, Apache) does not adhere to accepted programming standards, and incorrectly assumes that it is running with full admin rights and is attempting to write files to a system protected location.

That is hardly the fault of Microsoft...
My System SpecsSystem Spec
26 Jun 2010   #9
rksolution

win 7
 
 

Quote   Quote: Originally Posted by Dzomlija View Post
Actually, all this means is that the software you have installed (in this case, Apache) does not adhere to accepted programming standards, and incorrectly assumes that it is running with full admin rights and is attempting to write files to a system protected location.

That is hardly the fault of Microsoft...
Actually, all this means OS did not properly return an error code after
the illegal request. Not that there were a law enforcing this , but decent
programs should provide sort of feedback when something goes wrong.
My System SpecsSystem Spec
Reply

 Virtual Store




Thread Tools




Similar help and support threads
Thread Forum
Windows Virtual PC - Connect Virtual Machine to Network
How to Connect Windows Virtual PC to the Network This will show you how to connect Windows Virtual PC to your network so that your created virtual machine or XP Mode will be able to access the internet. For more information, see: Networking in Windows Virtual PC - Windows Virtual PC -...
Tutorials
what is virtual store folder
What is this folder and why do things get saved in it? Seems it happens by itself for some programs but I don't know why it happens Almost drove me crazy today What is this thing anyway?
General Discussion
Uninstalling modified files getting moved to virtual store
I am having an issue with a modified file being moved to 'C:\Users\\AppData\Local\VirtualStore\Program Files\' directory during an uninstall. I do not understand why this is happening and would appreciate anyone being able to enlighten me. The *actual* issue is that when I install my app again,...
Software
How do I stop W7 from saving files in the Virtual Store?
Hi Everyone, I've read a lot about the "virtues" of the W7 Virtual Store methodology, etc. However, I have a key application that cannot work if files are not saved in its native folder. So W7 saving everything in the virtual store is a non-viable state of affairs for me. Does anyone know how...
General Discussion
Can I load up my linux partition in Virtual Box or any Virtual Machine
Hi, I am new to virtual machine. I have Windows 7 and Ubuntu dual boot on my single harddisk right now. Windows 7 on sda1, ubuntu on sda2. Just wondering, could I use any virtual machine software, virtualbox or virtual PC or vmware, to run my ubuntu on sda2 under windows 7 or to run my...
Virtualization
Disk access to Virtual Store folder for no reason?
Hi everyone. I've just got a quick question that's been bothering me for a while. Recently I've noticed some bizarre activity in Win 7 Professional. I run ESET NOD32 v4, and it shows a 'current activity' readout that displays whatever file is being scanned, and thus currently being accessed by the...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:52.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App