Hello, All!
We have a problem with the default Vista security settings. We need a place to save our ini file with setting and we want to allow any user to write to this file. Previously we could use "C:\Documents and Settings\All Users\Application Data" folder for this purpose but now even an Administrator cannot even open this folder and folder "C:\Users\Default\AppData" is read only for regular user. Could you give us advice for any place where we can store our settings on Vista sysem?
With best regards, Andrey Smolev. E-mail: Andrey.Smolev@Mail.ru

A place for shared ini-file
I'm just a developer and not from MS. I'm wondering why you couldn't just put the ini file in the program folder?
Hello, Bernie!
The point is to provide read/write access to a user without any additional rights. A regular user doesn't have write permission to the "Program Files" folder
With best regards, Andrey Smolev. E-mail: Andrey.Smolev@Mail.ru
Sorry. I understood the point but didn't know about write permissions to program files. Would it be acceptable for each user to have their own ini file? I've a few apps of my own that look like they would be broken by this too.
Hello, Bernie!
It's posible to put some of the settings to separate files for every user (for example in the folder "c:\users\<current user name>\AppData"), but we still need a major file for general settings that would be accessable for everyone.
With best regards, Andrey Smolev. E-mail: Andrey.Smolev@Mail.ru
Hello, All!
We have a problem with the default Vista security settings. We need a place to save our ini file with setting and we want to allow any user to write to this file. Previously we could use "C:\Documents and Settings\All Users\Application Data" folder for this purpose but now even an Administrator cannot even open this folder and folder "C:\Users\Default\AppData" is read only for regular user. Could you give us advice for any place where we can store our settings on Vista sysem?
Thanks.
With best regards, Andrey Smolev. E-mail: Andrey.Smolev@Mail.ru
Hello, All!
We have a problem with the default Vista security settings. We need a place to save our ini file with setting and we want to allow any user to write to this file. Previously we could use "C:\Documents and Settings\All Users\Application Data" folder for this purpose but now even an Administrator cannot even open this folder and folder "C:\Users\Default\AppData" is read only for regular user. Could you give us advice for any place where we can store our settings on Vista sysem?
Thanks.
With best regards, Andrey Smolev. E-mail: Andrey.Smolev@Mail.ru
C:\ProgramData\
I believe this is what you are looking for ... at first glance at the security settings it doesn't appear to allow normal users write access, but if you try it out or look in the advanced screens it works fine.
- JB
Jimmy Brush wrote:
C:\ProgramData\
I believe this is what you are looking for ... at first glance at the security settings it doesn't appear to allow normal users write access, but if you try it out or look in the advanced screens it works fine.
Don't hardcode it though... non-US versions probably won't call it that (I asumme the 'All Users' path wasn't hardcoded...).
You get it by querying for CSIDL_COMMON_APPDATA with SHGetFolderPath.
OTOH looking at it you should *already* be using that since it corresponds directly to the All Users\Application Data directory that exists on XP.
I really hope the OP wasn't hardcoding that path...
Tony
Thanks, guys!!! This information is very useful for us!
With best regards, Andrey Smolev. E-mail: Andrey.Smolev@Mail.ru
Windows Vista
User login
Related topics
- Windows Vista download issues
- Problems installing Beta 2
- Windows Mobile Device Center
- Parental Controls
- Internet slooooooooooooooooooooow
- 4 color sheild?
- Printing System
- Print Server Problem
- Installing second copy of Beta2
- Driver for 3com 3C940 for Vista 32 bit
- ok and cancel no work?
- Creating Vista Image in VM Ware
- Availability?
- Sysprep Failure
- Installation of Vista failed !!!
- Vista Speech
- Directory tree?
- call of duty 2
- is it fair to be asked to pay for upgade in a year?
- Windows Vista Setup Upgrade Disabled
- devices cannot be placed in the map HELP
- Media Center Full Screen issue with mouse
- 5456: Mail freezing on Newsgroup retrevial
- Tablet version
- Monitor not shutting off after 15 minutes
- UAC suggestion...PLEASE VOTE!
- Syncing mail,contacts, calander
- What info is sent to MS from bug reporting and feedback?
- Read only on my user's folder -> Firefox can't save history
- explorer not responing with vista
- WMP11 skips?
- ISO Tool for Vista 5384
- Reverting to XP/Outlook Express. Taking mail archive back
- Page file question
- Error installing Visual C# 2005 Express
- Battlefield 2 running on vista beta 2?
- Installed Vista Beta 2
- installing Vista 64bit With XP 32bit