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
mnd017

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
Neutron16

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
mnd017

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 win7 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
Neutron16

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
mnd017

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
Neutron16

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
-access_denied.png  
My System SpecsSystem Spec
15 Jan 2012   #7
mnd017

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
Thread Forum
Problem playing mp4 files and to transport txt and srt files
Hello people. I have problem with the fonts. Unfortunatelly I don't know what brought the problem so what informations would help you to understand it. I'll give some, but I don't know if they are involved or not. I clean installed W7 x64 prem. before some months. Not any codecs. Now I...
General Discussion
Downloaded stuff to Appdata Virtualstore --> internet apps don't work!
Yeah writing this with a mobile phone. I have been downloading some music and movies and by default they are saved to Appdata Virtualstore folder instead of program files. Suddenly internet apps (firefox, chrome, msn messenger, yahoo messenger, steam) stop working due to a connection error even...
General Discussion
VirtualStore missing/does not work
Moved From: http://www.sevenforums.com/system-security/212587-uac-virtualstore-doesnt-work.html I was playing Worms 4 Mayhem, when my saves disappear, then i saw the virtualstore folder is missing My thread in MS Answers, basically the same things, but since i don't play portal 2 again, and...
Software
UAC VirtualStore doesn't work
yes, the title says, especially the file virtualization. I was playing Worms 4 Mayhem, when my saves disappear, then i saw the virtualstore folder is missing My thread in MS Answers, basically the same things, but since i don't play portal 2 again, and guys at MS doesn't give me good answer, so...
System Security
Problem with files.001
Hello friend, I'm really appreciate if anyone could solve my problem.. I have downloaded video files.001 & files.002 from mediafire. As you know this file type should be combined before you can open it. Yeah, I've succesful joined the files using FFSJ & HJsplitter as recommended. But I still...
Music, Pictures & Video
Writing to the registry and VirtualStore
Hi I have an application that needs to move to Windows 7. The issue is that it writes to the registry (HKLM > Software => <Application Name>). The issue is with VirtualStore it redirects the registry write to the VirtualStore for each user. This would be fine but different users log into the...
Software

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 06:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App