Sentinel Premium Member join:2001-02-07 Florida |
Sentinel
Premium Member
2014-Oct-29 4:03 pm
[WIN7] How to keep ini in program folder?I have an old program (very old) that I need to use in Win7 for a while and by default it used to keep its ini file and other user folders in the program folder itself. Of course when you install it in Windows 7 it saves in the users profile folder.
On another PC I have I got it to save in the programs folder under Program Files but that was a way long time ago and, for the life of me, I can not remember how I did it. Does anyone know how to force Win7 to allow a program to keep its settings and user folders in Program Files rather than the user section where user data is usually stored in Win7? |
|
aguen Premium Member join:2003-07-16 Grants Pass, OR |
aguen
Premium Member
2014-Oct-29 5:07 pm
Maybe this is what you used previously, or may help anyway. » windows.microsoft.com/en ··· indows-7 |
|
rfnut Premium Member join:2002-04-27 Fisher, IL |
to Sentinel
Change advanced permissions on the program's folder under "program files". Remember to un check "include inheritable permissions..." Since this results in a "reduced security" of the system, you'll have to decide which permissions you want to allow there. |
|
norwegian Premium Member join:2005-02-15 Outback |
to Sentinel
Would right-clicking the program icon and selecting "running in compatible mode for XP" work?
|
|
Sentinel Premium Member join:2001-02-07 Florida |
to aguen
I don't think it was the "run in XP mode" thing because I am running Win7 Home edition and that article seems to say that you have to have Professional to do that.
I think it is a permissions thing. Some programs give you the option during install to keep the programs settings in the user folder which is Win7 default, or the programs folder which is the default old way. What happens when that setting is chosen is probably what I did. But I don't know what Windows does differently during install that allows that behavior or denies it.
Probably some registry entry or permissions setting for that programs folder. |
|
Sentinel |
Sentinel
Premium Member
2014-Oct-30 11:30 am
OK, here's the interesting thing. I have 2 PCs here both running Win7 HE. I Installed an old program called Popcorn on both of them. On one of them the program runs fine and saves sent email in a folder called "sent" in the programs folder under Program Files. On the other PC it does not. It saves the sent email in a folder under the user name in C:/Users. In this case the user name is MAIN.
Now here's the odd thing. I set these 2 PCs up identically. Or so I thought. Yet, on the PC where it works the way I want there seems to be an extra entry under advanced permissions, as you can see in my attached image. I have other PCs running Win7 and none of them have this extra entry; only this one. All my other PCs have the typical Trusted Installer, System, Administrators (user name\Administrators), Users (user name\Users) and finally Creator Owner. But only on this machine does it have the added entry of MAIN which the user name.
There are no additional user accounts on this machine. There is only 1 account and that is MAIN and it is admin account. |
|
Sentinel |
Sentinel
Premium Member
2014-Oct-30 12:58 pm
OK, figured it out. All I had to do was to change the permissions. I had to add a user for the folder in question and give it full permissions. So I took ownership of the folder and gave full permissions to user MAIN and now it works. Odd though. I would have thought that since MAIN is an administrator and admin has full permissions to begin with I would have thought that the permissions would have applied. But they didn't.
So is this fix a security issue in any way? |
|
|