The Core Technologies Blog

Our Software // Windows Services // 24×7 Operation


How to Turn Off OneDrive Automatic Updates


Automatic software updates are usually very welcome. You get bug fixes, security enhancements and the latest and greatest features, all without lifting a finger!

But automatic updates have a dark side as well. What happens if an update, which usually involves shutting down the software, takes place at a “bad” time and interrupts the application when it is busy with an important task? Or worse — what if a newly updated version introduces a defect that causes the software to fail in the wee hours of the morning when no one is there to fix it? The potential for problems like these should give anyone operating a 24×7 environment serious pause when weighing the pros and cons of automatic updates!

Such is the dilemma facing our customers running OneDrive 24×7 as a Windows Service with AlwaysUp. As seen in the screenshot of the OneDrive installation procedure above, OneDrive is free to download and install updates whenever it likes. But perhaps we can do something about that…

OneDrive is Auto Updated by a Scheduled Task

A little detective work using Microsoft’s excellent autoruns utility led us to realize that OneDrive installs a scheduled task called OneDrive Standalone Update Task v2 to perform its updates. Here it is in the Task Scheduler — configured to run “OneDriveStandaloneUpdater.exe” once daily when the Administrator is logged on:

OneDrive Standalone Update Task

The task’s history confirms that the update check is indeed firing at a random time each day:

OneDrive Scheduled Task - History

This is how OneDrive updates itself!

Disable the Scheduled Task to Prevent OneDrive Auto Updates

To prevent OneDrive from automatically updating itself, simply disable the scheduled task. Right-click on the entry in the Task Scheduler and select Disable from the context menu to do the trick:

Disable OneDrive Scheduled Task

With the task disabled, the auto-update will no longer run and you will be stuck with the version of OneDrive currently installed. Great!


Now please don’t forget to update OneDrive occasionally — to get those important bug fixes, security enhancements and exciting new features. But do so in a safe, controlled environment at a time of your choosing, when you can perform the necessary testing and avoid unwelcome surprises.

Posted in Miscellaneous | Tagged , , , | 5 Comments

5 Responses to How to Turn Off OneDrive Automatic Updates

  1. MV says:

    Thank you for the article!

    I was wondering what this task was, a windows optimization
    app that I ise reccommended to delete the startup task for this, “OneDrive Standalone Update Task v2″ except it also listed “(Invalid)” as part of the name right after “v2″ in parentheses. Not sure if that is the actual full name of the task or if the optimization program added that. Either way I’ve decided to leave it alone as I am not running an uptime-sensitive or always-necessary-to-be-stable environment.

    Regards!

  2. Gianluca says:

    The OneDrive Standalone Update was putting a big workload on my CPU causing a noisy fan.
    I hope that this procedure has fixed the problem.
    Thanks for your guide!

  3. ctcadmin says:

    Good luck Gianluca!

  4. LCole says:

    This does not work for me. I have disabled it multiple times and it re-appears as a new task ready to go. I am thinking of renaming the executable so it can no longer find the file, like adding an $ at the end of the filename.

  5. ctcadmin says:

    That sounds like a good idea @LCole. Please let us know if it does the trick!

Leave a Reply to ctcadmin Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>