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: multi users, multi ini files

11 Feb 2011   #1

Windows 7 ultimate 32
 
 
multi users, multi ini files

Hi,

I have a series of applications that depend on an INI file being in the Windows directory.

Also, many diffeent users are allowed to log on and change the INI file.

But Windows 7 places changed INI files in USER directories for the logged-on users.

So my Apps never get to see the changes!

How do I get Windows 7 to place my INI file in Windows directory where I need it?

My System SpecsSystem Spec
11 Feb 2011   #2

Windows 7 x64 (SP1)
 
 

Uhhh...An application storing its configuration in the Windows directory is foolish, what are these broken applications you are using?
My System SpecsSystem Spec
11 Feb 2011   #3

Windows 7 ultimate 32
 
 

Well I have several thousand installations across North America and I am not about to send someone ( unless you are volunteering ) to change where these files are stored. Nor am I prepared to change thousands of lines of code ( unless you are volunteering ).

So how do I get rid of this bug!
My System SpecsSystem Spec
.


11 Feb 2011   #4

Windows 7 x64 (SP1)
 
 

Quote   Quote: Originally Posted by BoydMills View Post
So how do I get rid of this bug!
The bug is in the application itself.
My System SpecsSystem Spec
11 Feb 2011   #5

Windows 7 ultimate 32
 
 

If by "application" you mean windows 7 then yes.

My application runs just fine, started on Windows 3.1, migrated to NT 4.0, Windows 2000, XP, Vista.

Not so much on Windows 7.

What has changed? answer: Windows 7.

So how do I disable this bug?
My System SpecsSystem Spec
11 Feb 2011   #6

Windows 7 x64 (SP1)
 
 

You fix the application not to use the Windows directory. It is as simple as that.
Otherwise when Windows 8, 9, 10, 11 comes out, you are going to have the same problem.
You would have also faced the same problem in Vista, but I suspect you punched a hole in the security there.

Fix the application now or later, either way you are going to have to fix it.
Delaying won't help you in the long run.
My System SpecsSystem Spec
11 Feb 2011   #7

W7 Professional x64
 
 

Quote   Quote: Originally Posted by BoydMills View Post
How do I get Windows 7 to place my INI file in Windows directory where I need it?
I may be wrong, and if so I apologize, but even if you do get this to work, you're going to have problems with file permissions, since each user is going to need more administrative privledges on the files and the windows directory than is given to them by default (assuming they're just users). It'll be cheaper and more efficient in the long run to just fix the way it functions now.


p.s: Speaking as someone who supports .ini based software in the windows directory (our company uses a piece of software that does that), it's a terrible design scheme. It requires us to give full control of the windows directory to a lot of users who really we'd prefer didn't have that level of control.
My System SpecsSystem Spec
11 Feb 2011   #8

Windows 7 ultimate 32
 
 

What we have done in previous flavours of Windows is, during installation as administrator, grant 'everyone' 'all' access to just the ini files. That leaves the rest of Windows protect as the OS sees fit.
But not good enough for Windows 7!
Boyd
My System SpecsSystem Spec
Reply

 multi users, multi ini files





Thread Tools




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 03:00 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