Skip to content

Instantly share code, notes, and snippets.

@pmachapman
Created February 16, 2018 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmachapman/15f02a2211f378ba69d90a3a10b4896f to your computer and use it in GitHub Desktop.
Save pmachapman/15f02a2211f378ba69d90a3a10b4896f to your computer and use it in GitHub Desktop.
Spectre/Meltdown Compatibility Registry Check
@echo off
cls
rem Spectre Compatibility Registry Check
rem By Peter Chapman <peter@conglomo.co.nz>
reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\QualityCompat /v cadca5fe-87d3-4b96-b7fb-a231484277cc
if %ERRORLEVEL% EQU 0 goto :exists
color 4
echo FAIL: Registry Key Not Present
goto :end
:exists
color 2
echo PASS: Registry Key Present
:end
echo.
pause
color 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment