How to create 100% CPU load in Windows 10

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.

  1. Press the Win + R shortcut keys together on the keyboard to bring up the Run dialog, and then type notepad into the Run box.windows-10-run-notepad
    Tip: See our ultimate list of all Windows keyboard shortcuts with Win keys.
  2. Copy and paste the following text into Notepad:
    While True
    Wend

    notepad-write-script

  3. 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"): save-as-vbs
  4. Open Task Manager and go to the Performance tab to monitor the CPU load.
  5. Right click the CPU graph on the right and select "Change graph to -> Logical processors".
  6. 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.
    100-percent-cpu-load-windows
    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: end-wscript

That's it.

7 thoughts on “How to create 100% CPU load in Windows 10

  1. Alicia

    it works in win7 too

    Reply
    1. Sergey Tkachenko Post author

      yep, it should work well in Windows 7.

      Reply
  2. Rick Grunwald

    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

    Reply
  3. Moderator

    Why ?

    Reply
    1. Sergey Tkachenko Post author

      What “why”?

      Reply
  4. Darijo

    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.

    Reply
    1. Sergey Tkachenko Post author

      Thanks!

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.