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: Problem with ini files and VirtualStore


12 Jan 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
.

12 Jan 2012   #2

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

This has to do with UAC and permissions program was started -As administrator or not.
My System SpecsSystem Spec
13 Jan 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
.


13 Jan 2012   #4

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

Have to look at your program. PM me the link, if you want.
My System SpecsSystem Spec
13 Jan 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
13 Jan 2012   #6

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

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
15 Jan 2012   #7

Windows 7 Pro 32bit
 
 

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

 Problem with ini files and VirtualStore




Thread Tools



Similar help and support threads for2: Problem with ini files and VirtualStore
Thread Forum
Solved Problem playing mp4 files and to transport txt and srt files General Discussion
Downloaded stuff to Appdata Virtualstore --> internet apps don't work! General Discussion
Solved Problem with bat files General Discussion
VirtualStore missing/does not work Software
UAC VirtualStore doesn't work System Security
Writing to the registry and VirtualStore Software
Little problem with *.exe files 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 07:58 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 31 32 33