In our previous article, we saw how to create 100% CPU load in Linux. In this article, we'll do the same in Windows 10 without using third party tools. Let's see how it can be done.
There are a number reasons to stress out your CPU. It can be useful if you need to test the efficiency of the cooling system, or if you want to see how some of the apps work when the CPU is busy. Here is a trick which you can use to create a 100% CPU load in Windows 10.
How to create 100% CPU load in Windows 10
This can be done without using third party tools.
Tip: you can find some details about your CPU as described HERE.
- Press the Win + R shortcut keys together on the keyboard to bring up the Run dialog, and then type notepad into the Run box.
Tip: See our ultimate list of all Windows keyboard shortcuts with Win keys. - Copy and paste the following text into Notepad:
While True Wend
- In Notepad, click File menu -> Save item. The "Save as" dialog will appear. Browse for the desired folder where you wish to store the script and type "loop.vbs" with quotes in the File Name text box (the double quotes are required so that the file gets directly saved as "loop.vbs" and not "loop.vbs.txt"):
- Open Task Manager and go to the Performance tab to monitor the CPU load.
- Right click the CPU graph on the right and select "Change graph to -> Logical processors".
- Double click the loop.vbs script you created to execute it. Execute it N times, where N is the number of logical CPUs your computer has. In my case, I have to execute it four times.
This will cause a 100% CPU load.
To stop it, kill the process wscript.exe in Task Manager on the Details tab as shown below:
That's it.
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
it works in win7 too
yep, it should work well in Windows 7.
I tried it several times. It never got about 72% and it did not show in task manager. I use process Lassoo and it showed the 4 running attempts which I was able to kill from there
Why ?
What “why”?
Instead
While True
Wend
there is more simple code:
Do
Loop
after that you need to make and run simultaneously
for example 20 copies of vbs file for stress all cpu cores.
Thanks!
You can also open up multiple PowerShell windows and enter
while($true){}
Thanks, this works perfectly.