DesktopWindowXamlSource helps applications on your computer host XAML controls. Therefore, 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 taskbar. It seems that OneDrive is the real reason behind this issue. You can apply some simple fixes to fix it.
This is a well-known bug that Windows fixed in a recent update. So if you haven't updated your system in a while, install them and restart your computer.
Step 1 –Open the windowSettings. You can use the Win key and the I key at the same time to do this.
Step 2 –Now, go to the “Windows Update” menu.
Step 3 – After that, on the right page, check if Windows is already downloading updates. If this is not the case, click "Check for Updates".
You can wait for Windows to download and install the update. However, depending on the size of the update, it may take a while.
Step 4 – After installing the update, Windows will prompt you to restart your computer. Therefore, click on "Restart Now" to restart the system.
After you restart your computer and install all updates, you will not encounter this problem again.
You will not encounter the DesktopWindowXAMLSource error again.
OneDrive functionality has been integrated into File Explorer. However, you should keep OneDrive updated if you are using the app.
You can reset and update the OneDrive app locally.
Step 1 –Open the “Run” panel. You can do this by using the Win key and the R key at the same time.
Step 2 – Now, enter this code and press Enter .
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
th Step 3 –After executing the reset code, open another instance of the Run box.
Step 4 – Finally, copy and paste this code and press Enter to update OneDrive.
%localappdata%\Microsoft\OneDrive\update
Close all open windows and restart the computer.
Restarting the system should resolve the issue.
Step 1 – Open Microsoft Store.
Step 2 – Once opens, select “Library” from the left pane.
Step 3 –After that, click on “Get Updates” to get all the updates in one place.
The App Store will register all updates in list format. If you can see app updates for the OneDrive app, Update the app.
You will no longer see the desktop window XAMLSource on the taskbar window.
One of the easiest and fastest solutions is to quit and restart the OneDrive app. This will definitely solve the problem.
Step 1 –Close the OneDrive app if it is open.
Step 2 – When OneDrive syncs your data, you will see the OneDrive icon on the taskbar. If you can't see it, click the arrow icon in the lower left corner.
Step 3 –Now, right-click on the OneDrive icon.
Step 4 – Now, click on the “Exit OneDrive” option to exit OneDrive.
#After closing OneDrive, check if the desktop window XAMLSource appears on the taskbar window.
Step 1 – Launch WindowSettings.
Step 2 – On the left, click “Apps”.
Step 3 – Now, click on “Installed Applications” on the other side of the utility.
Step 4 – Now, scroll down on the right side to find the “Microsoft OneDrive” application.
步骤 5 – 然后,点击应用程序旁边的三点菜单,然后单击“高级选项”打开高级说明。
在这里,您可以轻松找到“重置”和“修复”选项。
步骤 6 – 首先,您应该尝试“修复”来修复OneDrive。
最小化设置并检查桌面XAMLSource是否显示为一个新窗口。
步骤 7 – 如果桌面XAMLSource窗口仍出现在任务栏上,请单击“重置”以重置系统上的应用程序。
步骤 8 – 您可以通过点击“重置”选项进行确认。
如果这没有帮助,那么OneDrive就是这里问题的根源。因此,您可以保留它,也可以卸载并在下一个修复程序后重新安装它。
如果 OneDrive 导致此问题,请从系统中卸载它并重新安装。
步骤 1 – 首先,右键单击 Windows 图标。
步骤 2 –然后,点击上下文菜单上的“已安装的应用程序”。
您将直接登陆“已安装的应用程序”页面。
第 3 步 –现在,在列表中标识Microsoft OneDrive。
第 4 步 –完成后,单击三点按钮,然后点击“卸载”。
第 4 步 –Windows肯定会抛出警告消息。因此,单击“卸载”。
等到Windows从您的系统中卸载OneDrive。
然后,关闭“设置”并重新启动计算机一次。
步骤 1 –打开微软商店。
步骤 2 –然后,在搜索栏中键入“onedrive”。
第 3 步 –之后,单击上下文中的“OneDrive”将其打开。
第 4 步 – 现在,单击“安装”以在您的计算机上安装该应用程序。
等待Windows安装OneDrive。完成此操作后,OneDrive应该可以正常工作。
您希望再次使用桌面XAMLSource窗口。
运行系统文件检查器扫描应识别并修复系统上损坏的文件。
步骤 1 –您可以非常轻松地打开CMD终端。只需同时使用 Win 键 + S 键并在框中写“cmd”。
步骤 2 –然后,右键单击“命令提示符”并单击“以管理员身份运行”以打开终端。
第 3 步 –只需将其复制粘贴到终端中并按 输入.
sfc /scannow
允许 Windows 扫描所有文件。扫描完成后,关闭终端并重新启动系统。
错误现在应该消失了。
The above is the detailed content of DesktopWindowXamlSource appears on taskbar in Windows 11/10. For more information, please follow other related articles on the PHP Chinese website!