How To Check If Your Windows PC Protected From Meltdown and Spectre Attack

This article is all about how to check Meltdown and Spectre bug on our PC. Meltdown and Spectre from somedays you have been probably hearing these terms a lot. These both are vulnerabilities that are discovered in many of the computer processors like private computers as well as Cloud storage and data centers. These both vulnerabilities are attacks on the devices through the installed patches. Even if you have installed patches from Windows update, then your pc may be at risk and can not be protected completely from these computer flaws. Here in this article, we learn about how to find out protection of your PC from meltdown and Spectre and also learn that how to protect your pc from these Vulnerabilities. So let’s start here

Also Read: How to find out the generation of your Intel processor in Windows

find out meltdown and spectre attack

How to check if your PC is protected or not from Meltdown and Spectre

Microsoft Windows provides us a PowerShell script with the help of which we can check that our PC is protected or not from Meltdown and Spectre bugs. But it will need some command line to run it on your PC, so don’t worry we will provide all the commands to run the PowerShell scripts to check Meltdown and Spectre bugs. This process is very easy to follow, now we will learn how to follow it.

Step 1: Open PowerShell script

On Windows 10, right-click on start menu button and then you will see a list of the programme, from this list select the “Windows PowerShell(Admin)” and then Windows PowerShell window will open where we will run the commands.

On Windows 7 and 8, click on the search bar and then search for “Windows PowerShell (Admin)” and then click on it.

Windows PowerShell in Start Menu

Step 2: Now type the given command into the “Windows PowerShell (Admin)” window, and then press Enter key to install the script on our PC system.

Install-Module SpeculationControl

Step 3: Now if it prompted us to install the NuGet provider by asking “Do you want PowerShell to install and import the NuGet provider now?”, simply type “Y” and press Enter key to proceed installation.

After that, it will again ask “Are you sure you want to install the modules from ‘PSGallery’?”, then again simply type “Y” and press Enter key to proceed.

Install Module in Windows PowerShell

Step 4: Here the standard execution policy will not allow us to run this script on our PC. So, to run this script first we will save the current settings so we can restore them later easily. And then we will change the execution policy so the script can run our PC. To change the execution policy run the given commands into Windows PowerShell.

$SaveExecutionPolicy = Get-ExecutionPolicy
Set-ExecutionPolicy RemoteSigned -Scope Currentuser

Step 5: After running above command it will ask to confirm, then simply type “Y” and press Enter key.

set execution policy

Step 6: Now we will again run the following commands into Windows PowerShell (Admin).

Import-Module SpeculationControl

Step 7: Now our PC will show us information about the appropriate hardware supported by our PC. But here we will notice for two things that are:

The “Hardware support for branch target injection mitigation is present” refers to the BIOS update and UEFI firmware update that we will require from our PC manufacturer. It should be “True” to protect our PC from Meltdown and Spectre Bugs.

The “Windows OS support for branch target injection mitigation is present” refers to the software update from the Microsoft. To protect against Meltdown and Spectre bug it should be “True”.

speculation control settings

In the above picture, these commands tell us that we don’t have both windows patch and UEFI/BIOS update. It means our computer is not safe from Meltdown and Spectre Attack.

Step 8: Now we will set the execution policy to back its original settings, for that we have to run the following command on our PC:

Set-ExecutionPolicy $SaveExecutionPolicy -Scope Currentuser

After running above command, simply type “Y” and then press Enter key to confirm above command.

current user execution policy command

How to get the Windows Update patch for your PC

After running above commands if we see the following line:

Windows OS support for branch target injection mitigation is present: False

It means your PC has not yet installed the Operating System update which helps your PC to protects from Meltdown and Spectre attacks. Now we will learn about how to get the Windows update patch for your PC.

To get the patch on Windows 10

  1. First, Go to Settings.
  2. Click on Update and security.
  3. Click on Windows update.
  4. Now, click on Check for updates link to download and install the available updates.

check for Windows 10 update

To get the patch on Windows 7

  1. Go to Control Panel.
  2. Click on System and Security.
  3. Click on Windows Update.
  4. Now, click on Check for update link to download and install the available updates.

How to get the UEFI/BIOS Update for your PC

To fully protect your PC against Meltdown and Spectre then you will need to install a UEFI or BIOS update from your PC’s manufacturer as well as other software patches.

hardware support for branch target injection mitigation is present: False” If you see this line in Windows PowerShell window, it means you will need to get update the UEFI firmware and BIOS update from your PC manufacturer. There are many PC companies, so if you have a Dell PC then go to Dell support page for your PC model. If you have Lenovo PC then go to Lenovo website and search for your PC model. If you have HP PC then go to HP website and search for your PC model and if you own built your PC then check your PC motherboard manufacturer website for an update.

When you find the support page for your PC then go to the driver download section in your PC support page and then search for any latest version of the BIOS and UEFI firmware. If you have not found any update there then check regularly for your PC’s update and download and install them on your PC’s when these updates released on the manufacturer website.


These are the possible ways by which you can find out and protect your PC from Meltdown and Spectre like vulnerabilities. I think this article is helpful for you. If you have any queries hen discuss with us using the comment section and also share this with your friends and family members. For further updates follow our blog and stay updated with us.

Leave a Reply

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