Table of Contents
Do you want to know how to fix ‘DesktopWindowXamlSource Empty Window’ issue? When you click on this, it opens a blank virtual windows, and when you close it, the OneDrive app is done. Most Windows 11/10 users have this problem, but recently some Windows users have said they have the same problem. DesktopWindowXamlSource Taskbar empty icon doesn’t do anything useful and is annoying because it comes back every time the computer is turned off and on. The way to get rid of this has to do with the Multitasking Settings and the OneDrive app.
“DesktopWindowXamlSource is the UWP XAML hosting API. There is a clear link between this empty window and OneDrive, since users who are affected say that the empty window goes away when they close OneDrive. But when OneDrive is opened again, the same window with nothing in it appears. The thing isn’t bad and won’t make your computer run slower, but it messes up your screen. So, let’s find out what DesktopWindowXamlSource is and how to Fix ‘DesktopWindowXamlSource Empty Window’ issue. If you want to know more information about this issue so you can visit Microsoft Official Website.
What is the “DesktopWindowXamlSource Empty Window” issue?
We’ve seen that some people in the Microsoft forum talk about the DesktopWindowXamlSource error with the taskbar icon. When the user tries to close the empty window, the DesktopWindowXamlSource item on the empty taskbar will force close OneDrive. It’s annoying that a new empty window keeps popping up on the taskbar.
This keeps you from doing other things and slows down your work. Also, this problem has been reported more than 300 times, which shows that it has been happening a lot lately. Then, what is DesktopWindowXamlSource? DesktopWindowXamlSource, also called Windows.UI.Xaml.Hosting, is the main class in the UWP XAML hosting API. It lets non-UWP desktop applications host any Windows-based control.
Causes of the ‘DesktopWindowXamlSource Empty Window’ issue
- System update: A recent system update or installation may have caused conflicts or compatibility issues with the DesktopWindowXamlSource, resulting in an empty window on the desktop.
- Software conflict: Certain applications or software installed on your computer may conflict with the DesktopWindowXamlSource, leading to the appearance of an empty window.
- Corrupted system files: Damage or corruption in system files related to the DesktopWindowXamlSource can trigger the issue.
- Graphics driver: Outdated or incompatible graphics drivers can cause display issues, including the ‘DesktopWindowXamlSource Empty Window’ problem.
- Malware or viruses: Malicious software or viruses can interfere with system components, including the DesktopWindowXamlSource, leading to unexpected behavior.
Fix ‘DesktopWindowXamlSource Empty Window’ issue
Repair Corrupted System Files

- Open the Command Prompt as administrator.
- Use the command below and hit Enter:
- /SCANNOW sfc
- Reboot your system.
- If SFC gave you an error, use the following command lines, pressing Enter after each:
- DISM /Online /Clean-Image /CheckHealth
- DISM /Online /Cleanup-Image /Health
- DISM /Online /Clean-Image /RestoreHealth.
Reset the Taskbar
- On occasion, and at random, the taskbar on your Windows 11/10 PC might stop responding, freeze, hangs or it might stop showing certain icons that you need to interact with.
- If the taskbar isn’t functioning correctly, in this case, the taskbar is displaying an empty window which isn’t specific behavior, you’ll want to get it working again.
- In any case, you will want to double-check the taskbar settings and you can reset the Taskbar to get it working the way it should and how you want it.
Reinstall OneDrive
- Remove OneDrive from your computer.
- To open the Run box, press the Windows key + R.
- Type %userprofile%, and then click OK.
- File Explorer can show hidden files and folders.
- Open the Local folder, then the AppData folder.
- Change the folder’s name.
- Open the Microsoft folder and change the name of the folder inside it called “OneDrive.”
- Click Windows Search, then type Credential Manager.
- Select Windows Credentials after opening the Credential Manager.
- Scroll down and get rid of the SSO_POP_Device and virtualapp/didlogical credentials.
- Restart your computer.
- Get the file to set up OneDrive. Now, run the installation file to add OneDrive to your computer.
Update OneDrive
- Press the Windows key and the letter R to bring up the Run box.
- Type in this command and click OK: onedrive.exe /reset %localappdata%MicrosoftOneDrive
- Then do the same thing with: %localappdata%MicrosoftOneDriveupdate
- Start up your device again and see if the problem is still there.
Install Windows Updates
- From the Start menu, click Settings, then click Update & Security.
- Choose Windows Upgrade from the list on the left, then click the Check for updates button.
- Your computer will then look for updates, download them, and install them.
Restore your system to an earlier point
This is an alternative to removing a new system update that could be causing the problem. This fix also works if you just started seeing the problem and don’t know what system changes might have caused it. In this case, you can use System Restore to take your computer back to a time before you started seeing the empty window on the taskbar.
Questions and Answers
You might see a blank or black screen when starting up your computer, updating software, or using the device. If you have a black screen on Windows 10 or 11, you might be able to fix it by restarting your device. But if the problem is really bad, you might have to do a system restore or reinstall the operating system (OS).
Try unplugging everything from the computer, such as the mouse, external hard drive, speakers, printers, scanners, and so on. Then try again to turn on your computer. If that doesn’t work, you might need to check the computer and monitor’s port connectors for damage.
If the CPU is broken, the computer won’t start up at all. In that sense, yes, you also wouldn’t see anything. But if everything else seems to be working but you don’t see anything on the screen, it’s usually the monitor, the graphics card, or the graphics drivers.
The reset button, which is also called the reset switch, can be used to restart devices like a computer or a peripheral. Most of the time, the button is on the front of the device, near the power button.