{"id":11936,"date":"2023-03-22T23:36:20","date_gmt":"2023-03-23T06:36:20","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=11936"},"modified":"2023-05-28T16:29:38","modified_gmt":"2023-05-28T23:29:38","slug":"onedrive-version-23-48-problem","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/onedrive-version-23-48-problem\/","title":{"rendered":"OneDrive Version 23.48: Trouble Running in Session 0 [RESOLVED]"},"content":{"rendered":"<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"\/blog\/images\/onedrive-error.webp\" style=\"margin-bottom:20px;\" title=\"OneDrive Version 23.48: Trouble Running in Session 0\" alt=\"OneDrive Version 23.48: Trouble Running in Session 0\" border=\"0\" width=\"250\" height=\"143\" \/><\/div>\n<p>This week, several <a href=\"\/products\/AlwaysUp\/\">AlwaysUp<\/a> customers reported that OneDrive suddenly stopped copying their files. It seems that the trouble began after OneDrive automatically updated itself to <a href=\"https:\/\/hansbrender.com\/2023\/03\/13\/the-onedrive-version-23-048-0305-0002\/\" target=\"_blank\" rel=\"noopener\">version 23.048.0305.0002<\/a>, which Microsoft started pushing to everyone on March 21st.<\/p>\n<p>Needless to say, we&#8217;re actively investigating. Here&#8217;s what we&#8217;ve learned so far:<\/p>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>For some customers, OneDrive fails to synchronize any files when AlwaysUp runs it <b>in the background in Session 0<\/b>. The OneDrive executable actually starts normally and keeps running &mdash; it just doesn&#8217;t do its job.<\/p>\n<\/li>\n<li>\n<p><b>Not all customers are impacted.<\/b> Many AlwaysUp installations continue to sync files happily, with the latest version of OneDrive starting at boot in Session 0.<\/p>\n<\/li>\n<li>\n<p>OneDrive is <b>completely fine when it&#8217;s started in the interactive session<\/b> from AlwaysUp &mdash; by selecting &#8220;Start OneDrive in this session&#8221; from the &#8220;Application&#8221; menu. The fault only appears in Session 0.<\/p>\n<\/li>\n<li>\n<p>Our development team <b>hasn&#8217;t been able to reproduce the problem<\/b>. OneDrive 23.048 works flawlessly on all our Windows 10, 11 and Windows server 2022 computers.<\/p>\n<p>For example, here is a look at OneDrive passing all our file synchronization tests:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/onedrive-23-48-working-windows-server-2022.png\" class=\"zoomPopup\" title=\"OneDrive 23.48 working in Session 0 on Windows Server 2022\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/onedrive-23-48-working-windows-server-2022.png\" title=\"OneDrive 23.48 working in Session 0 on Windows Server 2022 (click to enlarge)\" alt=\"OneDrive 23.48 working in Session 0 on Windows Server 2022\" border=\"0\" width=\"500\" \/><\/a><\/div>\n<\/li>\n<\/ol>\n<h2 class=\"blog-caption\">Temporary solutions<\/h2>\n<p>Until we get to the bottom of the problem, please run OneDrive normally on the desktop. Of course, you will have to stay logged in to your computer (which we know is less than ideal).<\/p>\n<p>Another option is to roll back to a previous version of OneDrive that works in Session 0. You can download old versions from the <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/onedrive-release-notes-845dcf18-f921-435e-bf28-4e24b95e5fc0\" target=\"_blank\" rel=\"noopener\">release notes page<\/a>. If you go that route, you will probably have to uninstall your current OneDrive before installing the old version. Also, you will need to <a href=\"\/blog\/miscellaneous\/disable-onedrive-automatic-updates\/\">disable automatic updates<\/a> or else OneDrive will soon reinstall the faulty version.<\/p>\n<h2 class=\"blog-caption\">Trouble running OneDrive with AlwaysUp?<\/h2>\n<p>If you&#8217;re suddenly having problems running OneDrive with AlwaysUp, be sure to <a href=\"\/support\/\">get in touch<\/a>. Please let us know:<\/p>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>The version of Windows your computer&#8217;s running<\/p>\n<\/li>\n<li>\n<p>The version of OneDrive installed (click the OneDrive tray icon; select the gear in the upper left; choose &#8220;Settings&#8221;; go to the &#8220;About&#8221; tab)<\/p>\n<\/li>\n<li>\n<p>When you think your problems started<\/p>\n<\/li>\n<\/ol>\n<p>We&#8217;ll review your situation and do our best to help.<\/p>\n<p style=\"margin-top: 30px\">\nHopefully Microsoft will soon fix the problem that surfaced in OneDrive version 23.048.0305.0002. In any case, we&#8217;ll keep pushing for our own solution too. Fingers crossed!\n<\/p>\n<hr>\n<h2 class=\"blog-caption\">March 25 2023: Update<\/h2>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>The problem seems to occur on Windows Server 2019 and 2022. All the reports we&#8217;ve received have been from customers running those operating systems. However, some customers running 2019 and 2022 are fine! Perhaps it&#8217;s related to recent Windows updates?<\/p>\n<p>In any case, <b>if you&#8217;re seeing the problem on Windows 10 or 11, please let us know<\/b>.<\/p>\n<\/li>\n<li>\n<p>We&#8217;ve confirmed that the issue is not unique to AlwaysUp &mdash; it&#8217;s a problem running OneDrive in the context of a Windows Service in Session 0.<\/p>\n<p>Indeed, we tried many similar tools (including <a href=\"https:\/\/learn.microsoft.com\/en-us\/sysinternals\/downloads\/psexec\" target=\"_blank\" rel=\"noopener\">Microsoft&#8217;s PsExec<\/a>) and none were able to launch OneDrive in the background. Most times OneDrive quickly crashed with a strange exception hinting that user interface elements may be involved in the drama:<\/p>\n<div class=\"code-box\" style=\"font-size:12px;\">\nFaulting application name: OneDrive.exe, version: 23.48.305.2, time stamp: 0x454d6e69<br \/>\nFaulting module name: Windows.UI.Xaml.dll, version: 10.0.22621.1344, time stamp: 0x95ad35df<br \/>\nException code: 0xc000027b<br \/>\nFault offset: 0x00000000008704e0<br \/>\nFaulting process id: 0x0x23D0<br \/>\nFaulting application start time: 0x0x1D95F784F0ABAC4<br \/>\nFaulting application path: C:\\Program Files\\Microsoft OneDrive\\OneDrive.exe<br \/>\nFaulting module path: C:\\Windows\\System32\\Windows.UI.Xaml.dll<br \/>\nReport Id: a47c6cb6-66fc-4244-81b5-94df6437460c<br \/>\nFaulting package full name:<br \/>\nFaulting package-relative application ID:\n<\/div>\n<\/li>\n<li>\n<p>Since the trouble is in Session 0, one solution is to setup automatic logon and have AlwaysUp launch OneDrive in the auto-logon session. That way OneDrive will start automatically after a reboot.<\/p>\n<p>The autologon approach is <a href=\"\/products\/AlwaysUp\/AlwaysUp_FAQ.html#AvoidSession0\">described here in our FAQ<\/a>. Again, it&#8217;s less than ideal to have a user logged on but it may be OK for a while. Note that you can <a href=\"https:\/\/www.howtogeek.com\/684639\/how-to-lock-your-windows-pc-after-signing-in-automatically\/\" target=\"_blank\" rel=\"noopener\">lock the screen automatically after login<\/a> if that helps.<\/p>\n<\/li>\n<li>\n<p>Special thanks to <b>Perry Nelson<\/b> for providing us with a Server 2022 machine that exhibits the issue. That has been super helpful as we&#8217;ve still not been able to reproduce the failure on our 2019 and 2022 test servers.<\/p>\n<\/li>\n<\/ol>\n<hr>\n<h2 class=\"blog-caption\">April 2 2023: Update<\/h2>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>Unfortunately the latest pre-release version of OneDrive (<a href=\"https:\/\/hansbrender.com\/versionen\/\" target=\"_blank\" rel=\"noopener\">23.066.0326.0005<\/a>, released on April 1) still fails to copy files when run in Session 0. With an abundance of optimism, we&#8217;ll continue to test <a href=\"https:\/\/insider.windows.com\/\" target=\"_blank\" rel=\"noopener\">Insider builds<\/a> as they become available. The best fix will come from the OneDrive developers themselves.<\/p>\n<\/li>\n<li>\n<p>So far we&#8217;ve only had one report of trouble on Windows 11 &mdash; but that turned out to be a false alarm. All other reports have been on Windows Server.<\/p>\n<p>Curiously, our Windows Server 2019 and 2022 machines (with all required &amp; recommended patches applied) continue to work flawlessly. We have no idea why.<\/p>\n<\/li>\n<li>\n<p>We&#8217;ve <a href=\"https:\/\/answers.microsoft.com\/en-us\/msoffice\/forum\/all\/onedrive-fails-to-run-as-a-windows-service-in\/15a780f6-872f-490f-aeb6-a1e858617985\" target=\"_blank\" rel=\"noopener\">asked for help on Microsoft&#8217;s OneDrive forum<\/a>. Hopefully some kind and knowledgeable soul will provide insight soon.<\/p>\n<\/li>\n<li>\n<p>Do you have a support contract with Microsoft? If so, can you please try to get them to look into what changed in OneDrive? Perhaps they will move quickly for a paying customer.<\/p>\n<\/li>\n<\/ol>\n<hr>\n<h2 class=\"blog-caption\">April 12 2023: Update<\/h2>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>We&#8217;ve heard from several customers that the latest <a href=\"https:\/\/hansbrender.com\/versionen\/\" target=\"_blank\" rel=\"noopener\">Insider\/pre-release builds of OneDrive<\/a> work properly in Session 0. Most folks reported success after version 23.071.0402.0001, which was released on April 7.<\/p>\n<\/li>\n<li>\n<p>Indeed, our team was able to confirm OneDrive version 23.073.0404.0001 (April 10) working in Session 0 &#8220;with our own eyes&#8221;. Thanks again to Perry Nelson for his generosity in making a system available for testing.<\/p>\n<\/li>\n<li>\n<p>Unfortunately we have no idea how long it will take for Microsoft to move the fix through the delivery pipeline and into a production release. Until then, <b>we recommend that you manually install OneDrive version 23.073.0404.0001 or later<\/b>.<\/p>\n<\/li>\n<\/ol>\n<p>\nThanks to everyone for their patience and support throughout this drama! Apparently our little solution to the real-world problem of running OneDrive unattended lives to fight another day. \ud83d\ude42\n<\/p>\n<div align=\"center\" style=\"margin-top: 30px\">\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\/recycle-leaky-program\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: Can AlwaysUp Auto-Start and Recycle my Leaky Program Once per Day?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/restart-app-on-schedule-150x150-1.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\">Q&amp;A: Can AlwaysUp Auto-Start and Recycle my Leaky Program Once per Day?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/interactive-services-removed-windows-10\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Interactive Services Detection Service Removed in Windows 10 (so no more Switching to Session 0)\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/session-0-off-limits-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\">Interactive Services Detection Service Removed in Windows 10 (so no more Switching to Session 0)<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/miscellaneous\/artwork-from-our-web-site\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Artwork from our Web Site\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/alwaysup-boxshot-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\">Artwork from our Web Site<\/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>This week, several AlwaysUp customers reported that OneDrive suddenly stopped copying their files. It seems that the trouble began after OneDrive automatically updated itself to version 23.048.0305.0002, which Microsoft started pushing to everyone on March 21st. Needless to say, we&#8217;re &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/onedrive-version-23-48-problem\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":11945,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[26,34,110,153],"class_list":["post-11936","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-alwaysup-tag","tag-auto-updates","tag-onedrive","tag-session-0-isolation"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11936","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=11936"}],"version-history":[{"count":33,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11936\/revisions"}],"predecessor-version":[{"id":12054,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11936\/revisions\/12054"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/11945"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=11936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=11936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=11936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}