桌面窗口管理器(Desktop Window Manager)( DWM ) 是一个合成窗口管理器,它可以在(DWM)Windows中呈现所有这些漂亮的效果,包括透明窗口、实时任务栏缩略图、Windows Flip、Flip3D,甚至是高分辨率监视器支持。在Windows 11/10中,它是一个系统应用程序文件,位于System32文件夹中——您不会在Windows 服务管理器中找到任何相关的(Windows Services Manager)服务——但您可以在(Service)任务管理器(Task Manager)中看到该进程。
一些用户在他们的Windows系统上看到一条错误消息,指出 -桌面窗口管理器停止工作并已关闭(Desktop window manager stopped working and was closed)。据用户称,在执行特定任务(如播放视频)或运行程序时,甚至在执行与Windows Explorer相关的任何任务时都会出现此问题。
常见的原因包括:
- 软件安装或卸载不正确/失败,可能导致 Windows 注册表中的条目无效
- 病毒或恶意软件攻击的后果
- (Improper)由于电源故障导致系统关闭不当
- 损坏的系统文件。
桌面窗口管理器(Desktop Window Manager)停止工作并关闭
尝试其中一种解决方案:
- 运行 SFC 扫描
- 运行防病毒扫描
- 运行检查磁盘
- 尝试旋转第二个屏幕
- 更新或回滚(Rollback)显卡驱动
- 运行硬件(Run Hardware)和设备(Devices)疑难解答
- 在干净启动状态下进行故障排除
- 重置 Windows 10。
让我们更详细地了解这些解决方案。
1]运行SFC扫描
可能是系统文件损坏了。您可以通过运行系统文件检查器工具来修复损坏的文件。要运行完整的SFC扫描,请执行以下步骤:
1]单击Windows“开始”(Start’)并键入“ cmd”
2]现在,右键单击“命令提示符(Command Prompt)”并点击“以管理员身份运行(Run as Administrator)”
3] 在“命令提示符”(Command Prompt’)窗口中,键入“ sfc/scannow ”
4]点击“输入”(Enter’)
等待(Wait)系统文件检查器(System File Checker)工具完成该过程。
2]运行防病毒扫描
有时,问题也可能是由于恶意攻击引起的。在这种情况下,使用可靠的防病毒软件进行彻底的防病毒扫描可以找到并解决问题。
3]运行ChkDsk
每隔一段时间检查一次硬盘上的错误——通常是由于不正确或突然关机、软件损坏、元数据损坏等引起的——在Windows中始终是一个好习惯,因为这可以帮助解决一些计算机问题并改进Windows计算机的性能。有时,硬盘中的坏扇区可能会阻止桌面 Windows 管理器(Desktop Windows Manager)正常工作。
4]尝试旋转第二个屏幕
一些用户报告说,当他们将第二个屏幕旋转更改为纵向模式时会出现此问题。因此(Hence),如果您使用 2 台显示器并尝试更改图形卡中的某些设置,即旋转第二个屏幕,请尝试将屏幕恢复为横向模式。将显示器恢复到正常模式后,重新启动系统并检查问题是否仍然存在。
5]更新(Update)或回滚显卡(Rollback Graphics)驱动程序
更新您的图形驱动程序(Update your Graphics driver),看看它是否有帮助。如果您最近更新了显卡(Graphics)驱动程序,然后开始出现此问题,那么我们建议您回滚驱动程序。
要更新驱动程序:
1] 按“ Win + R’键打开“运行”(Run’)对话框。
2] 在“运行”(Run’)对话框中,键入“ devmgmt.msc”
3]点击“输入”(Enter’)
4]在“设备管理器”(Device Manager’)窗口中找到“显示适配器”(Display adapters’)并单击箭头(arrow)并展开它。
5]双击(Double-click)您的显卡以启动其“属性”(Properties’)窗口。
6] 在显卡的“属性”(Properties’)窗口中,单击“驱动程序”(Driver’)选项卡。
7] 在驱动程序选项卡下,点击“更新驱动程序”(Update Driver’)。
8] 系统将提示您选择“您要如何搜索驱动程序?(How do you want to search for drivers?)'点击'自动搜索驱动程序'。(Search automatically for drivers’.)
Windows 现在将搜索可用于您的显卡驱动程序的任何新更新并安装它们。一旦过程完成。检查您的问题是否已解决。
要回滚驱动程序:
1] 按“ Win + R’键打开“运行”(Run’)对话框。
2] 在“运行”(Run’)对话框中,键入“ devmgmt.msc”
3]点击“输入”(Enter’)
4]在“设备管理器”(Device Manager’)窗口中找到“显示适配器”(Display adapters’)并单击箭头(arrow)并展开它。
5]双击(Double-click)您的显卡(graphics card)以启动其“属性”(Properties’)窗口。
6] 在显卡的“属性”(Properties’)窗口中,单击“驱动程序”(Driver’)选项卡。
7] 在“驱动程序”(Driver’)选项卡上会有一个名为“回滚驱动程序(Roll Back Driver)”的按钮。如果安装了任何最近的更新,则此按钮将处于活动状态。单击(Click)“回滚驱动程序”(Roll Back Driver’)按钮。
等待(Wait)更新回滚,然后重新启动系统并检查问题是否仍然存在。如果按钮未激活,请转到下一个方法。
6]运行硬件(Run Hardware)和设备(Devices)疑难解答
运行硬件和设备疑难解答,看看它是否有帮助。
7]在干净启动状态下进行故障排除
干净启动(Boot)用于诊断和解决高级Windows问题。如果您的计算机无法正常启动,或者您在启动计算机时收到无法识别的错误,您可以考虑执行干净启动(performing a Clean Boot)。干净启动(Boot)提供使用驱动程序/应用程序服务启动您的 Windows;因此,如果桌面 Windows 管理器(Desktop Windows Manager)和另一个应用程序之间存在冲突,它会迂回地消除。
8]重置Windows 10
如果您的 Windows 10 操作系统运行不正常并且实际上给您带来问题,您可能需要考虑使用 Windows 10 中提供的重置此 PC 功能(using the Reset this PC feature)。
相关阅读(Related read):桌面窗口管理器 dwm.exe 消耗 CPU 或内存较高(Desktop Window Manager dwm.exe consumes high CPU or Memory)。
我们希望您可以通过本指南解决桌面窗口管理器(Desktop Window Manager)错误。
Desktop Window Manager stopped working and was closed in Windows
Desktop Window Manager (DWM) is a compositing window manager that renders all those pretty effects in Windows including transparent windows, live taskbar thumbnails, Windows Flip, Flip3D, and even high-resolution monitor support. In Windows 11/10 it is a system application file that is located in the System32 folder – and you will not find any related Service in the Windows Services Manager – but you can see the process in the Task Manager.
Some users have seen an error message on their Windows system stating – Desktop window manager stopped working and was closed. According to the users, this issue arises while performing specific tasks like playing a video, or while running a program, or even while doing any task related to Windows Explorer.
The common reasons include:
- Incorrect/failed installation or uninstallation of software that can lead to invalid entries in your Windows registry
- Consequences of a virus or malware attack
- Improper system shutdown due to a power failure
- Corrupted system files.
Desktop Window Manager stopped working and was closed
Try one of the solutions:
- Run an SFC scan
- Run an Antivirus Scan
- Run Check Disk
- Try rotating the second screen
- Update or Rollback graphics card driver
- Run Hardware and Devices troubleshooter
- Troubleshoot in Clean Boot State
- Reset Windows 10.
Let us look at these solutions in more detail.
1] Run an SFC scan
Maybe the system file has become damaged. You can repair the damaged files by running the System File Checker tool. To run a complete SFC scan, follow these steps:
1] Click on Windows ‘Start’ and type ‘cmd’
2] Now, right-click on ‘Command Prompt’ and hit ‘Run as Administrator’
3] In the ‘Command Prompt’ window, type ‘sfc/scannow’
4] Hit ‘Enter’
Wait for the System File Checker tool to complete the process.
2] Run an Antivirus Scan
Occasionally the problem could be caused because of a malicious attack as well. In such a case, a thorough antivirus scan using reliable antivirus software can find and fix the problem.
3] Run ChkDsk
Checking your hard disk, every once in a while, for errors – usually caused due to improper or sudden shutdowns, corrupted software, metadata corruption, etc., – in Windows is always a good practice as this can help solve some computer problems and improve the performance of your Windows computer. Sometimes bad sectors in your hard disks can stop Desktop Windows Manager from working properly.
4] Try rotating the second screen
A few users reported that this issue occurred when they changed the second screen rotation to portrait mode. Hence if you are using 2 monitors and you attempted to change some settings in your graphics card i.e., rotating the 2nd screen, then try putting the screen back to the landscape mode. Once you’ve put the monitor back to the normal mode, restart the system and check if the issue persists.
5] Update or Rollback Graphics card driver
Update your Graphics driver and see if it helps. If you recently updated your Graphics driver and then this problem started, then we suggest that you rollback the driver.
To update the driver:
1] Press ‘Win + R’ keys to open the ‘Run’ dialog box.
2] In the ‘Run’ dialog, type ‘devmgmt.msc’
3] Hit ‘Enter’
4] In the ‘Device Manager’ windows locate ‘Display adapters’ and click on the arrow and expand it.
5] Double-click on your graphics card to launch its ‘Properties’ window.
6] In the graphic card ‘Properties’ window, click the ‘Driver’ tab.
7] Under the Driver tab, hit on ‘Update Driver’.
8] You will be prompted for options on ‘How do you want to search for drivers?’ click on ‘Search automatically for drivers’.
Windows will now search for any new updates available for your graphics card driver and install them. Once the process is completed. check if your issue is resolved.
To rollback the driver:
1] Press ‘Win + R’ keys to open the ‘Run’ dialog box.
2] In the ‘Run’ dialog, type ‘devmgmt.msc’
3] Hit ‘Enter’
4] In the ‘Device Manager’ windows locate ‘Display adapters’ and click on the arrow and expand it.
5] Double-click on your graphics card to launch its ‘Properties’ window.
6] In the graphic card ‘Properties’ window, click the ‘Driver’ tab.
7] On the ‘Driver’ tab there would be a button named ‘Roll Back Driver’. If there are any recent updates installed, then this button would be active. Click on the ‘Roll Back Driver’ button.
Wait for the update to be rolled back, and restart the system and check if the issue persists. If the button is not active, please move on to the next method.
6] Run Hardware and Devices troubleshooter
Run the Hardware and Devices troubleshooter and see if it helps.
7] Troubleshoot in Clean Boot State
Clean Boot is used to diagnose and troubleshoot advanced Windows problems. If your computer is not starting normally, or if you receive errors when you start the computer that you cannot identify, you could consider performing a Clean Boot. A Clean Boot provides booting your Windows with driver/application services; hence it will eliminate deviously if there is a conflict between Desktop Windows Manager and another application.
8] Reset Windows 10
In case your Windows 10 operating system is not performing properly and is, in fact, giving you problems, you may want to consider using the Reset this PC feature that is available in Windows 10.
Related read: Desktop Window Manager dwm.exe consumes high CPU or Memory.
We hope you could resolve the Desktop Window Manager error with this guide.