[Fix] OneDrive DesktopWindowXamlSource Empty Taskbar Window

Many users are experiencing an issue with the OneDrive app wherein an empty window titled “DesktopWindowXamlSource” appears on the taskbar. Closing the window will terminate OneDrive. This issue seems to occur on Windows 10 and 11 systems, irrespective of the version or build installed.

Hovering over the empty taskbar window shows a blank preview window displaying only the generic icon.

DesktopWindowXamlSource onedrive


Here’s a fix posted by Microsoft Answers user “Andy Bushman,” which resolved the issue for most users. The fix for the empty DesktopWindowXamlSource window is as follows:

  1. Open Settings.
  2. Use the search option to open the “Multitasking” settings.
  3. In the Multitasking page, under the “Virtual Desktops” section, set “On the taskbar, show windows that are open” to “Only the desktop I’m using“.

Here’s another method that you can try.

Enabling the “Get OneDrive Insider preview updates before release” seems to have worked for some users.

DesktopWindowXamlSource onedrive preview builds

I hope one of the above fixes the issue. Let’s know your comments.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

9 thoughts on “[Fix] OneDrive DesktopWindowXamlSource Empty Taskbar Window”

  1. option 1 worked perfectly.
    Just a specification to clarify for those who will read the post after us.

    Means windows settings not onedrive


Leave a Comment