{"id":2874,"date":"2017-04-05T18:00:12","date_gmt":"2017-04-06T01:00:12","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=2874"},"modified":"2024-05-28T05:52:08","modified_gmt":"2024-05-28T12:52:08","slug":"disable-onedrive-automatic-updates","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/miscellaneous\/disable-onedrive-automatic-updates\/","title":{"rendered":"How to Turn Off OneDrive Automatic Updates"},"content":{"rendered":"<div align=\"center\"><a href=\"\/blog\/images\/onedrive-will-automatically-install-updates.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"OneDrive Installation\" target=\"_blank\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"\/blog\/images\/onedrive-will-automatically-install-updates-500x420.webp\" title=\"OneDrive Installation (click to enlarge)\" alt=\"OneDrive Installation\" border=\"0\" width=\"500\" height=\"420\"><\/a><\/div>\n<p><\/p>\n<p style=\"margin-top:30px\">Automatic software updates are usually very welcome. You get bug fixes, security enhancements and the latest and greatest features, all without lifting a finger!<\/p>\n<p>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 &#8220;bad&#8221; time and interrupts the application when it is busy with an important task? Or worse &#8212; 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&#215;7 environment serious pause when weighing the pros and cons of automatic updates!<\/p>\n<p>Such is the dilemma facing our customers running <a href=\"\/products\/AlwaysUp\/Apps\/RunOneDriveAsAService.html\">OneDrive 24&#215;7 as a Windows Service with AlwaysUp<\/a>. As seen in the screenshot of the OneDrive installation procedure above, <b>OneDrive is free to download and install updates whenever it likes<\/b>. But perhaps we can do something about that&#8230;<\/p>\n<h2><b>OneDrive is Auto Updated by a Scheduled Task<\/b><\/h2>\n<p>A little detective work using <a href=\"https:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb963902.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft&#8217;s excellent autoruns utility<\/a> led us to realize that OneDrive installs a scheduled task called <b>OneDrive Standalone Update Task v2<\/b> to perform its updates. Here it is in the Task Scheduler &#8212; configured to run &#8220;OneDriveStandaloneUpdater.exe&#8221; once daily when the Administrator is logged on:<br \/>\n<a href=\"\/blog\/images\/onedrive-scheduled-task.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"OneDrive Standalone Update Task\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/onedrive-scheduled-task.png\" class=\"image-padding\" title=\"OneDrive Standalone Update Task (click to enlarge)\" alt=\"OneDrive Standalone Update Task\" width=\"520\" border=\"0\"><\/a>\n<\/p>\n<p>The task&#8217;s history confirms that the update check is indeed firing at a random time each day:<br \/>\n<a href=\"\/blog\/images\/onedrive-scheduled-task-history.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"OneDrive Scheduled Task - History\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/onedrive-scheduled-task-history.png\" class=\"image-padding\" title=\"OneDrive Scheduled Task - History (click to enlarge)\" alt=\"OneDrive Scheduled Task - History\" width=\"520\" border=\"0\"><\/a>\n<\/p>\n<p>This is how OneDrive updates itself!<\/p>\n<h2><b>Disable the Scheduled Task to Prevent OneDrive Auto Updates<\/b><\/h2>\n<p>To prevent OneDrive from automatically updating itself, simply disable the scheduled task. Right-click on the entry in the Task Scheduler and select <b>Disable<\/b> from the context menu to do the trick:<br \/>\n<a href=\"\/blog\/images\/disable-onedrive-scheduled-task.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Disable OneDrive Scheduled Task\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/disable-onedrive-scheduled-task.png\" class=\"image-padding\" title=\"Disable OneDrive Scheduled Task (click to enlarge)\" alt=\"Disable OneDrive Scheduled Task\" width=\"520\" border=\"0\"><\/a>\n<\/p>\n<p>With the task disabled, the auto-update will no longer run and you will be stuck with the version of OneDrive currently installed. Great!<\/p>\n<p><\/p>\n<p>Now please don&#8217;t forget to update OneDrive occasionally &mdash; 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.<\/p>\n<p><a name=\"program-update-checks\"><\/a><\/p>\n<div class=\"highlight-box-green\" style=\"margin-top:32px;margin-bottom:32px\">\n<h3 style=\"text-align:center\">May 2024 Update<\/h3>\n<p style=\"margin-top:24px\">\nThe current version of OneDrive still installs a scheduled task to automatically update OneDrive. But, as described in the <a href=\"https:\/\/learn.microsoft.com\/en-us\/sharepoint\/sync-client-update-process\" target=\"_blank\" rel=\"noopener\">documentation from Microsoft<\/a>, <b>the OneDrive executable now downloads and installs updates automatically<\/b>:\n<\/p>\n<p style=\"margin-top:24px;margin-bottom:24px;\">\n<img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"https:\/\/cdn.coretechnologies.com\/images\/quotes-transparent-21x21.webp\" width=\"21\" height=\"21\" \/>&nbsp;<i>The OneDrive sync app checks for available updates every 24 hours when it&#8217;s running. If it stops and doesn&#8217;t check for updates in more than 24 hours, the sync app checks for updates as soon as it starts.<\/i>\n<\/p>\n<p>As a result, disabling the scheduled task will only prevent automatic updates when OneDrive isn&#8217;t running.\n<\/p><\/div>\n<div align=\"center\">\n<div class=\"cta-button-1\">\n<table role=\"presentation\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"left\">\n<tbody>\n<tr>\n<td align=\"center\"><a href=\"\/blog\/tag\/onedrive\/\" title=\"More about running OneDrive as a Windows Service\"><span><nobr>Read more articles about OneDrive&#8230;<\/nobr><\/span><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>You may also like...<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 3;--relposth-columns_t: 2; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/cartasense-java-applications\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Customer Spotlight\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/cusomer-spotlight-150x150.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">&quot;Running our Commercial Java Applications as Windows Services is Easy with AlwaysUp&quot;<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/capture-console-output-feature\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"AlwaysUp Feature Spotlight: Capture Console Output\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/save-console-output-to-log-file-150x150-1.webp\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">AlwaysUp Feature Spotlight: Capture Console Output<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/software\/4-affordable-web-monitoring-tools\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"4 Affordable Tools to Monitor &amp; Bulletproof your Web Application\/Server\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/monitor-web-application-150x150-1-150x150.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">4 Affordable Tools to Monitor &amp; Bulletproof your Web Application\/Server<\/h2><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/miscellaneous\/disable-onedrive-automatic-updates\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3090,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[26,33,110,164],"class_list":["post-2874","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-miscellaneous","tag-alwaysup-tag","tag-auto-update","tag-onedrive","tag-task-scheduler"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/2874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=2874"}],"version-history":[{"count":6,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/2874\/revisions"}],"predecessor-version":[{"id":12539,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/2874\/revisions\/12539"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/3090"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=2874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=2874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=2874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}