Slightly OT: Windows Vista does not allow me to change any (ini)files in Program Files folders

Jacob Schäffer js at grafikhuset.dk
Wed Feb 13 06:36:30 PST 2008


You should study how User Account Control (UAC) works on Vista.

Please see http://msdn2.microsoft.com/en-us/library/aa511445.aspx and perhaps also http://support.microsoft.com/kb/946932.

Best regards
Jacob Schäffer
Chief Developer
Paradis Allé 22, Ramløse
DK-3200 Helsinge, Denmark
Phone: +45 4439 4400
Email: js at grafikhuset.dk
Web: www.grafikhuset.net



> -----Oprindelig meddelelse-----
> Fra: framers-bounces at lists.frameusers.com 
> [mailto:framers-bounces at lists.frameusers.com] På vegne af Yves Barbion
> Sendt: 13. februar 2008 10:50
> Til: Framers
> Emne: Slightly OT: Windows Vista does not allow me to change 
> any (ini)files in Program Files folders
> 
> 
> Hi Framers,
> 
> this is slightly OT, but I think relevant for all Windows Vista users.
> 
> Sometimes, we change an ini file in the FrameMaker 
> installation folder, for
> example:
> 
> C:\Program Files\Adobe\FrameMaker7.2\maker.ini
> 
> No problem in Windows XP, but, in Windows Vista, we get error 
> messages saying that only the Administrator can do this. 
> However, we only have one user account in Vista and this user 
> does have admin rights!
> 
> I have already checked the Microsoft support site, but the 
> "workarounds" suggested by the Microsoft MVP don't make any 
> sense (see below): saving the
> (ini) file elsewhere and then copying it back to the Program 
> Files folder is a definite no-no.
> 
> Any suggestions for a better workaround/hack? And if anyone 
> knows how we can get rid of all those other annoying Vista 
> confirmation messages ("Are you sure you want to...?"), 
> please share it with the community.
> 
> Thanks in advance.
> 
> 
> -- 
> Yves Barbion
> 
> 
> 
> _________________________
> 
> Answer from Microsoft MVP:
> 
> "Hello,
> 
> In Windows Vista, even though you are an administrator, the 
> programs that run on your computer are not allowed to use 
> your administrator power unless:
> 
> 
> 1- They prompt you for permission
> 2- You explicitly give them permission (right-click, run as 
> administrator)
> 
> The files in Program Files and your root C drive are not 
> writiable by non-administrative programs because the files in 
> these areas affect every user and the entire system.
> 
> Allowing unpriviliged programs write access to these areas 
> would allow them to overwrite/replace well-known programs or 
> system-wide configuration data used by windows or well-known 
> programs, which is unacceptable for a program that does not prompt.
> 
> The easiest way to accomplish what you are doing is to save 
> the file to some
> 
> place in your user profile (such as documents), and then 
> using windows explorer, move that file to program files. This 
> will end up prompting you for permission and then allowing 
> things to work.
> 
> Alternatively, you can run the program that is doing the 
> downloading "as administrator" by right-clicking it and 
> clicking Run As Administrator, and this will allow it to save 
> to this area, but the solution above is better.
> 
> -- 
> 
> Microsoft MVP "
> _______________________________________________
> 
> 
> You are currently subscribed to Framers as js at grafikhuset.dk.
> 
> Send list messages to framers at lists.frameusers.com.
> 
> To unsubscribe send a blank email to 
> framers-unsubscribe at lists.frameusers.com
> or visit 
> http://lists.frameusers.com/mailman/options/framers/js%40grafi
khuset.dk

Send administrative questions to listadmin at frameusers.com. Visit http://www.frameusers.com/ for more resources and info.



More information about the framers mailing list