Let’s discover the best CMD commands for gaming to boost your game FPS, reduce lag, and optimize system performance.
CMD Commands for Gaming: Unlock High FPS & Low Latency
We have all faced FPS drops, lag spikes, and sluggish performance that disrupt our gaming sessions. While most gamers focus on hardware upgrades and game settings tweaks, few realize the power of Windows Command Prompt (CMD) to optimize gaming performance, improve FPS, and reduce game latency.

If you’ve ever wondered how to use CMD to optimize gaming performance, you’re in the right place. let’s find out the best CMD commands for gaming and show you how they can boost your system’s speed, responsiveness, and network stability. Also ensuring a smoother, lag-free gaming experience.
Why Use CMD for Gaming Optimization?
Many gamers rely on third-party game boosters, but Windows already has built-in CMD commands that can:
- Optimize gaming performance with CMD by managing system power settings.
- Boost FPS using command prompt tweaks to allocate more CPU resources.
- Reduce lag in games using command prompt by improving network configurations.
- Clear unnecessary background processes to free up system memory.
- Fix performance issues by scanning and repairing Windows system files.
By implementing these best command prompt tweaks for gaming FPS, you can maximize your PC’s performance and gain an edge in any game.
Top 5 Best CMD Commands for Gaming Performance
These game booster CMD commands will reduce lag, improve FPS, and optimize system performance. Follow these steps carefully to get the best results.
1. Optimize Power Settings for High FPS Gaming
Command to enter in CMD:
powercfg /s SCHEME_MIN
How It Helps: This command switches your PC power plan to High Performance, ensuring maximum CPU and GPU power without any power-saving limitations.
How to Apply It:
- Open Command Prompt as Administrator (Search “CMD,” right-click, and select “Run as administrator”).
- Copy and paste the command above.
- Press Enter to activate high FPS gaming mode.
Impact on Gaming:
- Eliminates power throttling for better gaming performance.
- Enhances GPU and CPU responsiveness for smoother gameplay.
2. Increase Game Process Priority for Maximum FPS
Command to prioritize gaming performance:
wmic process where name="game.exe" call setpriority 24
How It Helps: This CMD gaming tweak assigns your game a higher CPU priority, making sure Windows dedicates more processing power to your game.
How to Use It:
- Replace
"game.exe"
with your game’s actual executable file name (e.g.,fortnite.exe
). - Open CMD as Administrator.
- Paste and run the command.
Impact on Gaming:
- Increases CPU focus on your game, reducing FPS drops and lag.
- Helps boost FPS using CMD by allocating resources efficiently.
Caution: Avoid setting priority too high for system processes, as it may cause instability.
3. Reduce Game Latency and Ping with CMD Network Optimization
Command to reduce game lag:
netsh int tcp set global autotuninglevel=disabled
How It Helps: Disables Windows TCP auto-tuning, which can cause unnecessary latency spikes in online gaming.
How to Apply It:
- Open CMD as Administrator.
- Type or paste the command and press Enter.
- Restart your PC to apply changes.
Impact on Gaming:
- Reduces game latency for low ping gaming.
- Provides a more stable internet connection for online multiplayer games.
To revert changes, use:
netsh int tcp set global autotuninglevel=normal
4. Fix Windows Errors That Affect Gaming Performance
Command to repair Windows files for gaming stability:
Editsfc /scannow
How It Helps: Scans and repairs corrupt system files, preventing game crashes and performance issues.
How to Use It:
- Open CMD as Administrator.
- Enter the command and press Enter.
- Wait for the scan to complete (it may take a few minutes).
Impact on Gaming:
- Ensures a stable and crash-free gaming experience.
- Fixes performance bottlenecks caused by corrupted Windows files.
5. Close Background Processes to Free Up RAM and CPU
Command to list and close background tasks:
List all running processes:
tasklist
Kill an unnecessary process:
taskkill /F /IM [process_name]
How It Helps: Stops unwanted background programs that consume RAM and CPU, ensuring more system resources are available for gaming.
How to Use It:
- Type
tasklist
to view all running processes. - Identify unnecessary apps (e.g., Chrome, Discord).
- Use
taskkill /F /IM processname.exe
to close them.
Impact on Gaming:
- Improves FPS in games using CMD by freeing system memory.
- Reduces stuttering and slowdowns during gameplay.
Warning: Never close essential Windows processes, as it may cause system instability.
Bonus CMD Tweaks for Advanced Gamers
If you’re looking for more advanced gaming optimizations, try these extra CMD commands:
- Defragment your hard drive (HDD users only):
defrag C: /O
- Flush DNS Cache to Fix Internet Lag:
ipconfig /flushdns
- Check Hard Drive for Errors (Fix slowdowns and crashes):
chkdsk C: /f
These extra CMD tweaks for gaming will further enhance FPS, reduce lag, and optimize system performance.
General Tips for Windows Gaming Optimization
While CMD commands can improve FPS and gaming performance, don’t forget these additional Windows gaming optimization tips:
- Update Graphics Drivers – Keep NVIDIA/AMD drivers updated.
- Enable Game Mode – Windows has a built-in Game Mode for better performance.
- Reduce Background Apps – Disable unnecessary startup programs.
- Optimize In-Game Settings – Adjust graphics settings for higher FPS.
Final Thoughts: Unlock High FPS & Low Latency Gaming with CMD
By learning these best CMD commands for gaming, you can boost FPS, reduce lag, and optimize system performance—all without third-party software. Also share with us which CMD worked best for you!
For those who want even more control over system performance and troubleshooting, check out our in-depth guide on 10 Master PowerShell Troubleshooting Commands: Simplify System Diagnostics. PowerShell offers even more advanced tools for diagnosing and fixing system issues that may impact gaming performance.
Check out our latest posts on the Blog Page!