dwm.exe_什么是桌面窗口管理器(dwm.exe),为什么运行?

dwm.exe

dwm.exe

You are no doubt reading this article because you stumbled across the Desktop Window Manager process and are wondering just what it is. We’ve got the answer.

您无疑会阅读本文,因为您偶然发现了Desktop Window Manager进程,并且想知道它到底是什么。 我们得到了答案。

The Desktop Window Manager process (dwm.exe) composites the display of application windows before drawing it to your screen. This allows Windows to add effects like transparency and live taskbar thumbnails. This process is a vital part of Windows that you cannot prevent from running. 

桌面窗口管理器进程(dwm.exe)在将应用程序窗口显示到屏幕之前对其进行合成。 这使Windows可以添加透明度和实时任务栏缩略图之类的效果。 此过程是Windows无法阻止的重要部分。

This article is part of our ongoing series explaining various processes found in Task Manager, like ctfmon.exemDNSResponder.exe, conhost.exe, rundll32.exeAdobe_Updater.exe, and many others. Don’t know what those services are? Better start reading!

本文是我们正在进行的系列文章的一部分,解释了在任务管理器中发现的各种过程,例如ctfmon.exemDNSResponder.execonhost.exerundll32.exeAdobe_Updater.exe。 不知道这些服务是什么? 最好开始阅读!

那么什么是桌面窗口管理器? (So What Is Desktop Window Manager?)

Desktop Window Manager (dwm.exe) is a compositing window manager that renders all those pretty effects in Windows: transparent windows, live taskbar thumbnails, Flip3D, and even high resolution monitor support.

桌面窗口管理器(dwm.exe)是一个合成窗口管理器,可在Windows中呈现所有这些漂亮的效果:透明窗口,实时任务栏缩略图,Flip3D甚至高分辨率监视器支持。

Instead of applications drawing their displays directly to your screen, applications write the picture of their window to a specific place in memory. Windows then creates one “composite” view of all the windows on the screen before sending it to your monitor. Because Windows is compositing and displaying the contents of each window, it can add effects like transparency and window animations when layering the windows for display.

应用程序无需将应用程序直接将其显示内容绘制到屏幕上,而是将其窗口的图片写到内存中的特定位置。 然后,Windows将屏幕上所有窗口的一个“合成”视图发送到显示器。 因为Windows正在合成并显示每个窗口的内容,所以在对窗口进行分层显示时,它可以添加诸如透明度和窗口动画之类的效果。

我可以关闭桌面窗口管理器吗? (Can I Turn Desktop Window Manager Off?)

No, you can’t. Back in the Vista days, Desktop Window Manager was controlled through a service that you could turn off—and in turn disable all the visual effects. Starting with Windows 7, Desktop Window Manager became a more integral part of Windows, that’s vital to creating the graphical user interface. That integration has deepened even further in Windows 8 and 10.

不,你不能。 在Vista时代,Desktop Window Manager是通过一项可以关闭的服务来控制的,从而禁用了所有视觉效果。 从Windows 7开始,Desktop Window Manager成为Windows不可或缺的一部分,这对于创建图形用户界面至关重要。 Windows 8和10中的集成进一步加深了。

The good news is that Desktop Window Manager has gotten a lot better about how it manages resources, and you shouldn’t really need to turn it off.

令人欣慰的是,Desktop Window Manager在如何管理资源方面已经有了很多进步,您实际上不需要关闭它。

如果内存和CPU用完了怎么办? (What Can I Do If It’s Using Up RAM and CPU?)

Desktop Window Manager should use fairly minimal resources. On my system, for example, I’ve got half a dozen active apps running, including Chrome, which has got more than a dozen tabs open. Even then, Desktop Windows Manager is using a little less than 1% CPU and about 60 MB RAM. That’s a pretty typical load. You should rarely see it creep much higher than that, and even if it does spike higher on occasion, it should settle back down quickly.

桌面窗口管理器应使用相当少的资源。 例如,在我的系统上,我运行了六个活动应用程序,其中包括Chrome,该应用程序打开了十多个选项卡。 即使这样,Desktop Windows Manager仍使用不到1%的CPU和大约60 MB的RAM。 这是一个非常典型的负载。 您很少会看到它的蠕变远高于该蠕动,即使它偶尔出现飙升,它也应该很快回落。

If you do see Desktop Window Manager eating up more RAM or CPU than you think it should, there are a couple of things you can try:

如果您确实看到Desktop Window Manager消耗了过多的RAM或CPU,您可以尝试以下几种方法:

Those are both good places to start.

这些都是开始的好地方。

这个过程可能是病毒吗? (Could this Process Be a Virus?)

The Desktop Window Manager process itself is an official Windows component. While it’s possible that a virus has replaced the real process with an executable of its own, it’s very unlikely. If you’d like to be sure, you can check out the underlying file location of the process. In Task Manager, right-click the Desktop Window Manager process and choose the “Open File Location” option.

Desktop Window Manager进程本身是Windows的正式组件。 尽管病毒可能用自己的可执行文件代替了实际进程,但这种可能性很小。 如果您想确定的话,可以签出该过程的基础文件位置。 在任务管理器中,右键单击“桌面窗口管理器”进程,然后选择“打开文件位置”选项。

If the file is stored in your Windows\System32 folder, then you can be fairly certain you are not dealing with a virus.

如果文件存储在Windows \ System32文件夹中,则可以确定您没有在处理病毒。

That said, if you still want a little more peace of mind, you can always scan for viruses using your preferred virus scanner. Better safe than sorry!

就是说,如果您仍想更加放心,则可以始终使用首选的病毒扫描程序来扫描病毒。 安全胜过遗憾!

翻译自: https://www.howtogeek.com/howto/windows-vista/what-is-dwmexe-and-why-is-it-running/

dwm.exe

  • 2
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: dwm.exeWindows操作系统中的桌面窗口管理器,它负责管理桌面的外观和行为。如果dwm.exe占用内存过大,可能会导致系统运行缓慢或出现其他问题。以下是一些解决办法: 1. 关闭不必要的视觉效果:在Windows 10中,可以通过“系统属性”中的“高级系统设置”来关闭不必要的视觉效果,如动画和透明效果。 2. 更新显卡驱动程序:dwm.exe需要显卡的支持来运行,如果显卡驱动程序过时或损坏,可能会导致dwm.exe占用内存过大。更新显卡驱动程序可能会解决这个问题。 3. 执行系统文件检查:在命令提示符下执行“sfc /scannow”命令可以检查并修复系统文件的损坏,这可能会解决dwm.exe占用内存过大的问题。 4. 禁用桌面窗口管理器:如果以上方法都无效,可以尝试禁用桌面窗口管理器。这将使桌面失去一些视觉效果,但可能会提高系统性能。禁用方法为:在任务管理器中找到dwm.exe进程,右键点击选择“结束进程树”,然后在“服务”中找到“桌面窗口管理器”服务,右键点击选择“停止”。 ### 回答2: Dwm.exeWindows Vista及更高版本中内置的一个组件,它是桌面窗口管理器,负责启用Aero效果、任务栏、桌面等桌面图形化界面的渲染。在使用Windows操作系统时,我们可能会遇到dwm.exe占用内存过大的情况,这时可能会导致电脑运行速度缓慢,甚至无响应的情况。如何解决这个问题呢? 1.更新显卡驱动程序 如果你的电脑的显卡驱动程序已经过时,可能会导致dwm.exe占用内存过高。你需要更新新版本的显卡驱动程序来解决这个问题。更新显卡驱动程序可以提高计算机的性能和稳定性,也可以避免dwm.exe占用内存过高的问题。 2.关闭Windows Aero效果 Aero效果是通过dwm.exe实现的,如果你的计算机配置较低,开启Aero效果可能会导致dwm.exe占用内存过高,使计算机变得缓慢。为了解决这个问题,你可以尝试关闭Aero效果。右键点击桌面,选择个性化,然后在主题选项卡中选择一个基本主题,这将关闭Aero效果。 3.更改桌面背景 如果你的桌面背景图像过大,这也可能导致dwm.exe占用内存过高。你可以更改桌面背景为一张分辨率较低的图片或使用Windows内置的经典主题来尽量减小dwm.exe占用的内存。 4.禁用桌面窗口管理器 如果你不需要Windows Aero效果,或者你的计算机配置较低无法支持Aero效果,你可以禁用dwm.exe,来避免其占用内存过高的问题。按住Win+R组合键,调出运行窗口,输入services.msc,然后在服务列表中,找到Desktop Window Manager Session Manager服务,右键选择停止或禁用。 总之,如果你的电脑遇到了dwm.exe占用内存过大的问题,以上几种方法可以帮助你解决这个问题。你可以根据自己的情况使用其中的一种或多种方法来解决问题。 ### 回答3: dwm.exeWindows操作系统中的一个进程,它负责管理桌面窗口的操作。当dwm.exe的内存占用过大时,会导致系统运行变慢,甚至出现卡顿和崩溃的情况。这个问题的解决方法有以下几种: 1. 更新显卡驱动程序。dwm.exe需要依赖显卡驱动程序才能正常工作。如果驱动程序过旧或存在问题,就会导致dwm.exe的内存占用过大。因此,更新显卡驱动程序可以解决这个问题。 2. 禁用透明效果。Windows 7和更高版本的系统中,dwm.exe默认打开了透明效果,这会占用大量内存。禁用透明效果可以减少dwm.exe的内存占用。具体操作方法:在“个性化”设置中,找到“窗口颜色和外观”选项,取消“启用透明玻璃”选项即可。 3. 关闭Windows Aero主题。Windows Aero主题也会占用大量内存。如果你不需要使用这个主题,可以选择关闭它。具体操作方法:在“个性化”设置中,找到“主题”选项,选择一个不带Aero标志的主题即可。 4. 停止dwm.exe进程。如果以上方法都无法解决dwm.exe的内存占用过大问题,可以尝试停止这个进程。具体操作方法:在任务管理器中,找到dwm.exe进程,右键点击选择“结束任务”即可。不过需要注意的是,停止这个进程会导致桌面窗口失去管理能力,可能会影响系统的正常使用。如果遇到这个问题,最好重启电脑来恢复dwm.exe进程的正常工作。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值