Fix DesktopWindowXamlSource Appearing on Taskbar in Windows 11/10

DesktopWindowXamlSource helps apps on the computer host XAML controls. So, if an app is trying to use this API, but is unable to use it correctly, you will notice that the DesktopWindowXAMLSource appears in a transparent, unresponsive window above the Windows 11/10de taskbar. The cause of the problem is OneDrive. Next, this article will introduce some methods to fix the problem.

How to Fix DesktopWindowXamlSource Appearing on Taskbar?

There are several ways to fix DesktopWindowXamlSource appearing on taskbar. Now, we will introduce you the details.

Method 1: Update your computer to the latest version

Windows fixed this in a recent update. So updating the system and restarting the computer will resolve the issue with DesktopWindowXamlSource.

Step 1: Press and hold the Win key + I key at the same time to open the window settings.

Step 2: Go to the “Windows Update” menu.

Step 3: On the right page, check if Windows is already downloading updates. If not, click Check for Updates.

Step 4: After the update is installed, Windows will prompt you to restart your computer. Therefore, click “Restart Now” to restart your system.

After restarting the computer and installing all updates, check to see if the DesktopWindowXAMLSource still appears on the taskbar in Windows 11.

Method 2: Update OneDrive

OneDrive functionality is integrated into File Explorer. However, if you’re using the app, you should keep OneDrive updated.

Step 1: Press Win key + R key to open the Run panel.

Step 2: Enter the code below and press Enter.

%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Step 3: After executing the reset code, open another instance of the Run box.

Step 4: Copy paste the code below and press Enter to update OneDrive.


Then restart the computer. You will no longer see the desktop window XAMLSource on the taskbar window.

Method 3: Quit and restart OneDrive

One of the easiest and quickest solutions is to quit and restart the OneDrive app. This will definitely solve the problem.

Step 1: Close the OneDrive app.

Step 2: You will see the OneDrive icon on the taskbar while OneDrive is syncing your data. If you can’t see it, click the arrow icon in the lower left corner.

Step 3: Right click on the OneDrive icon.
Step 4: Click on the “Exit OneDrive” option to exit OneDrive.

After closing OneDrive, check once that the desktop window XAMLSource appears on the taskbar window.

Method 4: Repair or reset the OneDrive app

Step 1: Launch Window Setup.
Step 2: On the left side, click on “Apps”.
Step 3: Click “Installed Apps” on the other side of Utilities.

Step 4: Scroll down on the right to find the “Microsoft OneDrive” app.
Step 5: Tap the three-dot menu next to the app, then click “Advanced Options” to open advanced instructions. Find the “Reset” and “Repair” options.

Step 6: Click “Repair” to repair OneDrive, check if the desktop XAMLSource appears as a new window.

Step 7: If the desktop XAMLSource window still appears on the taskbar, click Reset to reset the application on the system.

Step 8: Tap on the “Reset” option to confirm.

Method 5: Uninstall and reinstall OneDrive

If OneDrive is causing this issue, please uninstall it from your system and install it again.

Step 1: Right click on the Windows icon.

Step 2: Click “Installed Apps” on the context menu.
Step 3: Identify Microsoft OneDrive in the list.

Step 4: Click on the three-dot button and then click on Uninstall.

Step 5: Windows will surely throw a warning message. So, click Uninstall.

Wait until Windows uninstalls OneDrive from your system. Close “Settings” and restart the computer once.

Step 6: Open Microsoft Store.

Step 7: Type “onedrive” in the search bar.

Step 8: Click on “OneDrive” in context to open it.
Step 9: Click Install to install the application on your computer.

Wait for Windows to install OneDrive. After doing this, OneDrive should work normally.

Method 6: Repair Corrupted System Files

Running a System File Checker scan should identify and repair corrupt files on your system.

Step 1: Use Win key + S key together and write “cmd” in the box.

Step 2: Right-click Command Prompt and click Run as administrator to open Terminal.
Step 3: Just copy-paste it into Terminal and press Enter.

sfc /scannow

Allow Windows to scan all files. After the scan is complete, close the terminal and restart the system. The DesktopWindowXamlSource will not appear on taskbar in Windows 11/10.


This article tells you 6 ways to fix DesktopWindowXamlSource appearing on taskbar. Now, you can solve this issue easily and quickly.


Leave a Reply