NTOSKRNL.exe文件是一个内核映像,负责许多基于系统的进程,如硬件虚拟化(Hardware Virtualization)、进程(Process)和内存(Memory)。其中,它还负责压缩旧的内存页面,从而减少使用的内存总量。如果您的计算机运行缓慢并且您发现 NTOSKRNL.exe 占用了您的资源(如CPU 使用率(CPU Usage)、磁盘使用率(Disk Usage)和内存使用率(Memory Usage)),那么您可能需要查看几件事情。通常,此过程使用不到 30% 的CPU,但如果不断上升,那么这篇文章将对您有所帮助。
NTOSKRNL.exe高CPU、内存(Memory)和磁盘(Disk)使用率
NTOSKRNL 代表NT 操作系统内核(NT Operating System Kernel)。因此,为了修复它,我们需要进行以下修复之一,
- 扫描您的计算机以查找潜在的恶意软件
- 删除不兼容的程序
- 运行 DISM 修复系统映像
- 停止运行时代理进程
- 更新您的驱动程序
- 运行性能疑难解答
- 在干净启动状态下进行故障排除
- 使用 Windows Performance Toolkit(Use Windows Performance Toolkit)查找根本原因。
1]扫描(Scan)您的计算机以查找潜在的恶意软件
您的计算机很有可能感染了恶意软件。该恶意软件可能与NTOSKRNL.exe文件相关联,因此会消耗大量系统资源。因此,我真的建议您确保您的防病毒软件是最新的,然后使用它专门扫描您的计算机 C:WindowsSystem32 文件夹,因为这是NTOSKRNL.exe文件所在的位置。
2]删除不兼容的程序
安装和运行不兼容的程序也可能会触发系统文件的这种异常行为。可能存在在主要任务中执行特定子任务的情况。因此(Hence),可能会陷入某种循环并最终占用系统资源。因此(Hence),建议卸载此类软件并检查问题是否已解决。
3]运行DISM命令
4]停止运行时代理进程
RuntimeBroker.exe监控对Windows API 的访问,并确保应用程序不会违反Windows的核心安全性。RuntimeBroker.exe通常会留下非常小的占用空间。在某些情况下,RuntimeBroker.exe可能会消耗更多资源,但在工作完成后不会释放内存,从而导致内存泄漏(memory leak)。这会影响 NTOSKRNL.exe。
按Ctrl+Shift+Esc打开任务管理器。在进程(Processes)选项卡下找到运行时代理(Runtime Broker)。如果它使用超过 15% 的内存,则您的 PC 上的应用程序可能存在问题。在这种情况下,您需要停止运行时代理(Runtime Broker)进程。选择它,右键单击它,然后单击End Task。
看看这是否有帮助。
5]更新您的驱动程序
操作系统(Operating System)和驱动程序(Driver)之间的不兼容也可能导致这样的问题。因此,您可以尝试更新驱动程序。 您也可以尝试更新您的 Windows 10 副本。这将帮助您修复由计算机上任何有意或无意执行的任务创建的任何坏扇区。因此(Hence),强烈建议始终保持 Windows 10 为最新版本,因为它可以修复大量错误的可能性。
6]运行性能疑难解答
打开运行(Run)框,键入以下内容并按 Enter:
msdt.exe /id PerformanceDiagnostic
这将启动性能疑难解答(Performance Troubleshooter)。运行它,看看它是否有任何问题需要解决。
您还可以调整 Windows 以获得最佳性能,看看是否适合您。
7]在干净启动状态下进行故障排除
您可以通过执行干净启动(performing a Clean Boot)来进一步手动排除故障。干净启动(Boot)以最少的驱动程序和启动程序启动系统。当您以干净启动方式启动计算机时,计算机将使用预先选择的最少驱动程序和启动程序集启动,并且由于计算机以最少的驱动程序启动,因此某些程序可能无法按预期运行。
干净启动故障排除旨在隔离性能问题。要执行干净启动故障排除,您必须一次禁用或启用一个进程,然后在执行每个操作后重新启动计算机。如果问题消失了,您就知道这是造成问题的最后一个过程。
阅读(Read):如何100% Disk, High CPU, High Memory usage in Windows 10。
8]使用 Windows Performance Toolkit(Use Windows Performance Toolkit)查找根本原因
您可能需要使用Windows 性能工具包(Windows Performance Toolkit)来查找此问题的根本原因。通过在Cortana搜索框中搜索 cmd打开命令提示符,或按(Command Prompt)WINKEY+R启动运行(Run)实用程序并键入 cmd 并按Enter。
现在,输入以下命令,然后按 Enter(Enter):
xperf -on latency -stackwalk profile -buffersize 1024 -MaxFile 256 -FileMode Circular && timeout -1 && xperf -d cpuusage.etl
等待至少 60 秒以使该命令运行。
现在检查这个Windows Performance Toolkit的日志。它们存储在 C:WindowsSystem32 文件夹中名为cpuusage.etl 的文件中。(cpuusage.etl )
这将列出此系统(System) 资源(Resources)被占用的所有原因。
如何修复NTOSKRNL.exe高CPU使用率?
NTOSKRNL或NT 操作系统内核(NT Operating System Kernel)有时会消耗比平常更多的CPU资源。如果在您的计算机上发生这种情况,您需要扫描您的 PC 以查找恶意文件、病毒、恶意软件等。除此之外,您可以卸载或删除不必要的程序、运行DISM工具、更新驱动程序等。如果没有任何帮助,您也可以在干净启动状态(Clean Boot State)下进行故障排除。
如何关闭 NTOSKRNL.exe?
无法关闭Windows 11/10 计算机上的NTOSKRNL.exe进程。(NTOSKRNL.exe)这是一项互联网服务,关闭它可能会导致您的 PC 出现一些问题。由于它负责在使用硬件虚拟化、内存和其他进程时提供流畅的体验,因此您的计算机在停止或关闭此进程后可能会出现各种问题。
希望这里的东西可以帮助你。(Hope something here helps you.)
Fix NTOSKRNL.exe error and high CPU, Memory & Disk usage problem
NTOSKRNL.exe file is a kernel image that is responsible for many systems-based processes like Hardware Virtualization, Process, and Memory. Among these, it is also responsible for compressing the old pages of memory which reduces the overall amount of memory being used. There are chances that if your computer is running slowly and you find NTOSKRNL.exe hogging on your resources like CPU Usage, Disk Usage, and Memory Usage, then you need to take a look at few things. Normally, this process uses less than 30% of CPU, but in case that is constantly up, then this post will help you.
NTOSKRNL.exe high CPU, Memory & Disk usage
NTOSKRNL stands for NT Operating System Kernel. So, in order to fix it, we need to undertake one of the following fixes,
- Scan your computer for potential malware
- Remove incompatible programs
- Run DISM to repair system image
- Stop the Runtime Broker process
- Update your Drivers
- Run Performance Troubleshooter
- Troubleshoot in Clean Boot State
- Use Windows Performance Toolkit to find the root cause.
1] Scan your computer for potential malware
There might be a good chance that your computer might be infected with malware. And this malware might be associated with the NTOSKRNL.exe file and hence making it consume a lot of system resources. So, I would really recommend you to make sure that your Antivirus is up to date and then scan your computer with it specifically the C:\Windows\System32 folder because this is the location where the NTOSKRNL.exe file is located.
2] Remove incompatible programs
Installing and running incompatible programs might also trigger such unusual behavior with system files. There might be instances when to execute a particular sub-task inside of the major task. Hence, might be stuck in some sort of loop and end in hogging up to the system resources. Hence, it is advised to uninstall such software and check if the issue is fixed or not.
3] Run DISM Command
4] Stop the Runtime Broker process
RuntimeBroker.exe monitors access to Windows API’s and ensure that apps do not violate the core security of Windows. RuntimeBroker.exe normally leaves very a small footprint. In some cases, RuntimeBroker.exe may consume more resources but does not release memory after the work is done, resulting in a memory leak. This affects NTOSKRNL.exe.
Press Ctrl+Shift+Esc to open the Task Manager. Locate Runtime Broker under the Processes tab. If it’s using more than 15% of your memory, you probably have an issue with an app on your PC. In this case, you need to stop the Runtime Broker process. Select it, right-click on it and then click on End Task.
See if this helps.
5] Update your Drivers
The incompatibility between the Operating System and the Driver might also give rise to issues like this. So, you can try to Update your drivers. You can also try to Update your copy of Windows 10. This will help you fix any bad sectors created by any intendedly or unintendedly executed task on the computer. Hence, keeping Windows 10 up to date always is highly recommended as it fixes the possibilities of a whole lot of errors.
6] Run Performance Troubleshooter
Open Run box, type the following and hit Enter:
msdt.exe /id PerformanceDiagnostic
This starts the Performance Troubleshooter. Run it and see if it has any issues to fix.
You could also adjust Windows for best performance and see if that works for you.
7] Troubleshoot in Clean Boot State
You can troubleshoot further manually by performing a Clean Boot. A Clean Boot starts a system with minimal drivers and startup programs. When you start the computer in clean boot, the computer starts by using a pre-selected minimal set of drivers and startup programs, and because the computer starts with a minimal set of drivers, some programs may not work as you expected.
Clean-boot troubleshooting is designed to isolate a performance problem. To perform clean-boot troubleshooting, you must disable or enable one process at a time, and then restart the computer after each action. If the problem goes away, you know that it was the last process which was creating the problem.
Read: How to fix 100% Disk, High CPU, High Memory usage in Windows 10.
8] Use Windows Performance Toolkit to find the root cause
You might need to use the Windows Performance Toolkit to find the root cause of this issue. Open Command Prompt by searching for cmd in the Cortana search box or hit WINKEY+R to launch the Run utility and type cmd and hit Enter.
Now, type in the following command, and hit Enter:
xperf -on latency -stackwalk profile -buffersize 1024 -MaxFile 256 -FileMode Circular && timeout -1 && xperf -d cpuusage.etl
Wait for at least 60 seconds for this command to run.
Now check the logs of this Windows Performance Toolkit. They are stored in a file named as cpuusage.etl in the C:\Windows\System32 folder.
This will list all the causes of this System Resources being hogged.
How do I fix NTOSKRNL.exe high CPU usage?
NTOSKRNL or NT Operating System Kernel consumes more than usual CPU resources at times. If it is happening with you on your computer, you need to scan your PC for malicious files, viruses, malware, etc. Apart from that, you can uninstall or remove unnecessary programs, run the DISM tool, update your drivers, etc. If nothing helps, you can troubleshoot in the Clean Boot State as well.
How do I turn off NTOSKRNL.exe?
It is not possible to turn off the NTOSKRNL.exe process on your Windows 11/10 computer. It is an internet service and turning it off might cause several problems on your PC. As it is accountable for providing a smooth experience while using hardware virtualization, memory, and other processes, your computer might show various issues after stopping or turning off this process.
Hope something here helps you.