Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Updated files are now in my c:\Users folder. What is going on here ?

Posted on 2007-12-06
10
Medium Priority
?
195 Views
Last Modified: 2010-04-21
I have an application that, under XP, NT or 2000 updates an .iini file in the following folder. (Just an example)
C:\Program Files\Rays's folder\Settings\Ray.ini.

I run this application on a Vista Enterprise box
But when I look at C:\Program Files\Rays's folder\Settings\Ray.ini, the changes that the aplication made to the Ray.ini file are not there.

Rather,  I find a file named Ray.ini in the "C:\Users\RKode\AppData\Romaning,  folder.
And the changes that the application made are in THIS copy of the file.

And when I run the application a second time,  it actually reads the Ray.ini file from the C:\Users\RKode\AppData\Roaming folder.

I didn't expect this behavior.
I didn't expect this behavior at all.
What kind of Microsoft trickery and wizardry is at play here ?
Is there any way for my changes to be written back to the C:\Program Files\Rays's folder\Settings\Ray.ini version of the file as I have a routine that backs up the Ray.ini file from the C:\Program Files\Rays's folder\Settings folder.

Any help, insight or explaniation would be greatly appreciated.

Thanks in advance for all responses.

Ray in Wisconsin

0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +3
10 Comments
 
LVL 7

Expert Comment

by:killbrad
ID: 20422884
oh i feel your pain.  I believe the solution is to disable UAC, but just be aware this may cause more issues than it will solve.  For example, Lotus Notes does the same thing, and if you disable UAC, it goes to the right spot.. however then you lose connection to your old data and its a SOAB to get it linked back up.
0
 
LVL 8

Accepted Solution

by:
YGregersen earned 400 total points
ID: 20423088
Likely, the program is coded to write to a pointer called something like %User_Home%.
On th old XP box it would automatically go to c:\Documents and Settings\user\....
On Vista it will go to C:\Users\....

Vista changed the location of where it stores the user profiles.
0
 
LVL 56

Assisted Solution

by:McKnife
McKnife earned 400 total points
ID: 20423105
To support killbrad: this program is not compatible to vista/the uac feature of vista that uses folder redirection. Either turn off uac or run the application as administrator (rightclick it - run as administrator - this is different from using an admin account!).
Read about uac and folder virtualization/redirection in MS technet or wikipedia.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 7

Assisted Solution

by:killbrad
killbrad earned 400 total points
ID: 20423273
Thnx McKnife... yeah, Notes isn't "Vista Compatible" but had a client that did it anyways.. Just throwing out an example of issues that older/legacy apps can and likely will have with Vista..  Thanks for the post though!  :-)
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 400 total points
ID: 20423376
That's actually the way software should have run all the time. When you change settings of an installed software, those settings should never be mad in the program files folder, but rather per user in his profile. If the changes are made in the program files folder everyone would require admin rights, and that isn't how things are supposed to work.
0
 
LVL 59

Assisted Solution

by:LeeTutor
LeeTutor earned 400 total points
ID: 20424188
It's all part of Vista's "new and improved" system security concepts.  See this page for an explanation:

http://juice.altiris.com/article/2665/folder-virtualization-concepts-windows-vista

Programs are no longer allowed free access to folders in the Program Files folder.  Microsoft has said that the virtualization concept is a "temporary" measure until they can figure out how to do it right...  (Of course that last comment following the word "until they..." is MY evaluation, not the way they put it themselves...)
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 20433887
rkode, any feedback?
0
 
LVL 1
ID: 20457305
Good morning (from a snowy Wisconsin),

Sorry for the tardy response but since reading the article via the link that LeeTutor provided, I have been working on my test VISTA box non-stop.

I can now state that I finally understand how things work with VISTA (redirection wise) as opposed to how they work in prior OS's.

And I also now understand as McKnife stated that running the application as administrator is different from using an admin account).
(I tested it.)

I actually received a piece of what I was looking for,  from each response that was penned to my question.
And for that, I thank each of you.

I NEVER (well at least not for a long time) would have figured this out on my own.

Thanks again to everyone.

Ray in Wisconsin
0
 
LVL 1

Author Closing Comment

by:Accidental Hyper-V Administrator
ID: 31413246
I NEVER, EVER would have got this on my own.
Your the greatest.
0
 
LVL 88

Expert Comment

by:rindi
ID: 20457780
Your welcome
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

596 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question