Updating faster when "Run as Administrator" is used?

Hi,

On my test machine, updates appear to be checked more quickly and reliably when my application (just a thin wyUpdate wrapper at the moment) is run with the "Run as Administrator" option. When this function is not used, sometimes the updater stalls indefinitely, other times it nearly reaches completion only to fail with a file in use error. Every now and then, it will work perfectly. Currently, I am executing wyUpdate.exe, but earlier I was using the AutomaticUpdaterBackend class with similar results.

The only software I can think of that could be interfering is Microsoft Security Essentials.

Do you have any suggestions? Worst case scenario, I can adjust my application's security manifest, but I would rather not do so if it isn't absolutely necessary.

If your updates are identical for both your regular user and your admin user (that is, you're not testing 2 separate updates with different files), then there are a few things that can cause a slow update process:

  1. Lots of processes running.
  2. Extremenly agressive anti-virus software that grabs a file that we want to write to before we can write to it. Checks it out, then releases it.

Do you have either of those things? Also, a quick way to debug this is to run wyUpdate using a profiler (get the source code here: wyUpdate @ Google Code)