@echo off setlocal EnableExtensions EnableDelayedExpansion title Performancify BIOS Helper color 0F cls set "LOG=%~dp0Performancify_BIOS_Log.txt" set "GUIDE=%~dp0Performancify_BIOS_Guide.txt" echo. echo ================================================== echo Performancify BIOS Helper echo ================================================== echo. echo This tool cannot auto-change BIOS settings. echo It creates a BIOS tweak guide and can restart into BIOS. echo. net session >nul 2>&1 if not "%errorlevel%"=="0" ( echo [ERROR] Run this file as Administrator. echo. pause exit /b ) for /f "delims=" %%A in ('powershell -NoProfile -Command "(Get-CimInstance Win32_Processor | Select-Object -First 1 -ExpandProperty Name).Trim()"') do set "CPU_NAME=%%A" for /f "delims=" %%A in ('powershell -NoProfile -Command "$g=Get-CimInstance Win32_VideoController | ForEach-Object { $_.Name }; $g -join ' / '"') do set "GPU_NAME=%%A" for /f "delims=" %%A in ('powershell -NoProfile -Command "$m=Get-CimInstance Win32_PhysicalMemory; $gb=[math]::Round(($m | Measure-Object Capacity -Sum).Sum/1GB); $spd=($m | Select-Object -ExpandProperty Speed -Unique) -join '/'; Write-Output ($gb.ToString() + 'GB @ ' + $spd + 'MHz')"') do set "RAM_INFO=%%A" :MENU cls echo ================================================== echo Performancify BIOS Helper echo ================================================== echo. echo CPU: %CPU_NAME% echo GPU: %GPU_NAME% echo RAM: %RAM_INFO% echo. echo [1] Create BIOS Tweaks Guide echo [2] Restart Into BIOS / UEFI echo [3] Show Best BIOS Tweaks echo [4] Exit echo. set /p choice="Choose an option: " if "%choice%"=="1" goto CREATE_GUIDE if "%choice%"=="2" goto UEFI if "%choice%"=="3" goto SHOW_TWEAKS if "%choice%"=="4" goto END goto MENU :CREATE_GUIDE cls ( echo Performancify BIOS Optimization Guide echo ===================================== echo. echo Detected Hardware: echo CPU: %CPU_NAME% echo GPU: %GPU_NAME% echo RAM: %RAM_INFO% echo. echo Recommended BIOS Tweaks: echo. echo 1. Enable XMP / DOCP / EXPO echo - Use Profile 1. echo - This makes RAM run at the rated speed. echo. echo 2. Enable Above 4G Decoding echo - Required for Re-Size BAR. echo. echo 3. Enable Re-Size BAR echo - Helps GPU memory access in supported games. echo. echo 4. Enable PBO for AMD Ryzen echo - Use Precision Boost Overdrive. echo - Use Enabled or Advanced. echo - Avoid extreme settings unless cooling is good. echo. echo 5. Disable CSM echo - Use UEFI boot mode. echo. echo 6. Keep Secure Boot ON echo - Important for Windows 11 and Valorant. echo. echo 7. Keep TPM / fTPM ON echo - Important for Windows 11. echo. echo 8. Set PCIe Slot to Gen 4 or Auto echo - Use Gen 4 if stable. echo - Use Auto if issues happen. echo. echo 9. Fan Curve echo - Use performance fan curve. echo - Keep CPU temperatures safe. echo. echo 10. Boot Priority echo - Set Windows drive first. echo. echo Safe Temperature Goals: echo CPU Gaming: under 85C preferred. echo GPU Gaming: under 85C preferred. echo. echo Notes: echo Do not disable Secure Boot or TPM for gaming PCs. echo Do not manually increase RAM voltage for basic clients. echo Do not promise huge FPS gains. ) > "%GUIDE%" echo. echo [OK] BIOS guide created: echo %GUIDE% echo. pause goto MENU :SHOW_TWEAKS cls echo ================================================== echo Best BIOS Tweaks echo ================================================== echo. echo 1. Enable XMP / DOCP / EXPO Profile 1 echo 2. Enable Above 4G Decoding echo 3. Enable Re-Size BAR echo 4. Enable PBO for AMD Ryzen echo 5. Disable CSM and use UEFI boot echo 6. Keep Secure Boot ON echo 7. Keep TPM / fTPM ON echo 8. Set PCIe slot to Gen 4 or Auto echo 9. Set Windows drive as first boot device echo 10. Use a stronger fan curve echo. pause goto MENU :UEFI cls echo ================================================== echo Restart Into BIOS / UEFI echo ================================================== echo. echo This will restart your PC into BIOS/UEFI. echo Save your work before continuing. echo. set /p confirm="Restart now? Y/N: " if /i "%confirm%"=="Y" ( shutdown /r /fw /t 5 exit /b ) goto MENU :END cls echo Performancify BIOS Helper closed. pause exit /b