Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Problem with ini files and VirtualStore

 
01-12-2012   #1


Windows 7 Pro 32bit
 
 

Problem with ini files and VirtualStore

Hey,
I have a problem with this magical tool. My program is supposed to save and read data from ini file from c:/windows. But, Windows created the same file in VirtualStore and now sometimes it reads from that directory. Could you explain my why? And in what cases?

Thx in advance,
Regards,

My System SpecsSystem Spec
01-12-2012   #2


Windows 7 x86 since December 2008
 
 


This has to do with UAC and permissions program was started -As administrator or not.
My System SpecsSystem Spec
01-13-2012   #3


Windows 7 Pro 32bit
 
 


Thanks, I understand now how VS works, but.. I still have a problem.
As administrator: I can save and read ini file from c:/windows
Than I created a simple default Windows 7 user (not an admin). As user: I can read ini file from c:/windows, but I can't make any changes. Manually - no chance. So I created a program that changes ini file and still can't change! (no error message appeared).

So I checked my VirtualStore dir.. but my new user don't have that directory in ..\AppData\Local. Also I search by windows tool for that file and found only one file - in c:/windows.

Any ideas what happened ?
My System SpecsSystem Spec
.


01-13-2012   #4


Windows 7 x86 since December 2008
 
 


Have to look at your program. PM me the link, if you want.
My System SpecsSystem Spec
01-13-2012   #5


Windows 7 Pro 32bit
 
 


ok.. well, I think I can't sand PM: "mnd017, you do not have permission to access this page. This could be due to one of several reasons:" or I don't know how to do that :/

Anyway.. My test program is here: http://www.sendspace.com/file/puh59p , thx for help
My System SpecsSystem Spec
01-13-2012   #6


Windows 7 x86 since December 2008
 
 


When you open this program as a Standard user you won't be able to modify those files ("Access denied", see screenshot attached). This has to do with file permissions for non-admin user. I dot not know why virtualstore does not kick in. But I you have to run it as admin to work or ini file has to have a permission to be modified by a regular user (which is not good for files in Windows folder).
Attached Thumbnails
Problem with ini files and VirtualStore-access_denied.png  
My System SpecsSystem Spec
01-15-2012   #7


Windows 7 Pro 32bit
 
 


Ok. Thank you for your time
My System SpecsSystem Spec
Reply

 Problem with ini files and VirtualStore problems?



Thread Tools



Similar Threads for: Problem with ini files and VirtualStore
Thread Forum
VirtualStore missing/does not work Software
UAC VirtualStore doesn't work System Security
Writing to the registry and VirtualStore Software
Wab files problem General Discussion
exe files problem General Discussion


All times are GMT -5. The time now is 11:53 PM.



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
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30