Last active
October 17, 2023 19:05
-
-
Save jacky9813/20f4ae59365261fde687e9c0508d7979 to your computer and use it in GitHub Desktop.
intel 13th gen Core i FREE UPGRADE!!!!!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A wonderful upgrade tool for Intel 14th gen Core i processors! | |
# This script is required to run in an PowerShell session with administrator access. | |
# | |
# All you need to do is open PowerShell as Administrator, copy this file and paste to | |
# that PowerShell window and you're done upgrading! | |
$upgraded_cpu_names = @{ | |
"13600KF" = "14600KF"; | |
"13600K" = "14600K"; | |
"13900KF" = "14900KF"; | |
"13900K" = "14900K"; | |
} | |
$found_compatible_cpu = 0 | |
$current_cpu = (Get-ItemProperty HKLM:\HARDWARE\DESCRIPTION\System\CentralProcessor\0).ProcessorNameString | |
foreach ($upgradable_cpu in $upgraded_cpu_names.Keys) { | |
if ($current_cpu -like "*${upgradable_cpu}*") { | |
$found_compatible_cpu = 1 | |
$new_cpu = $current_cpu.Replace($upgradable_cpu, $upgraded_cpu_names[$upgradable_cpu]) | |
foreach ($core in (Get-Item HKLM:\HARDWARE\DESCRIPTION\System\CentralProcessor\* | Select Name)) { | |
Set-ItemProperty -Path $core.Name.Replace("HKEY_LOCAL_MACHINE", "HKLM:") -Name "ProcessorNameString" -Value $new_cpu | |
} | |
} | |
} | |
if ($found_compatible_cpu -eq 1) { | |
Write-Host "Congratulations! You have upgraded your ${current_cpu} to ${new_cpu} !" | |
} else { | |
Write-Host "We're sorry. Your current CPU ${current_cpu} cannot be upgraded" | |
} | |
# Obviously this is a joke LOL. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment