I have automatic updates enabled in Firefox. For my day-to-day work, I run as a non-administrator user in Windows XP. I need to log in as an administrator whenever I want to install new software - including updates for Firefox.
The problem is that Firefox is not content to just update all necessary files when you are logged in as the administrator. When you return to your non-admin account and launch Firefox, you may be greeted with the following message:
"One or more files could not be updated. Please make sure all other applications are closed and that you have permission to modify files, and then restart Firefox to try again."
You can click through the message, and Firefox will launch anyway. Okay, I guess the updates weren't that important and I can ignore the message. However, the next time I launch Firefox, and am again prompted and again click through it. It seems I am doomed to launching Firefox with two clicks for all eternity.
Of course I searched the internet for the error message, but nothing very fruitful came of it. Apparently the error has a number of different causes. I did find some others reporting the problem when run as a non-administrator, but the solution was always "just run as administrator" or "elevate your rights".
I finally solved the problem without changing any rights for my user account, and am now posting it here in hopes that others will find it useful.
UPDATE: Based on suggestions in the comments, I've started using a much simpler method. If you have an administrator password, you can run the following command in a Command Prompt:
runas /user:Administrator /noprofile /env "C:\Program Files\Mozilla Firefox\firefox.exe"
The rest of this article is unnecessary if you want to follow this "delete the updates folder" approach.
Note: you must be able to log in as an administrator on the computer, but your primary user account does not have to be an administrator.
Pre-requisite: As an administrator, download and install Process Monitor from Sysinternals/Microsoft.
I'm not sure if the command-line from step 8 is always the same (the "3824" is the only part I can imagine would vary). If it is always the same, you can save a lot of steps on subsequent updates by just creating a batch file with that command and running it as administrator. If anyone has any insight to the parameters of this command, let me know.
Remember Me
Powered by: newtelligence dasBlog 1.9.7170.677
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
Site theme based on the essence design by Jelle Druyts