Can Gemini Optimize Your PC for Fortnite? Its .bat File vs RIP Tweaks (2026)

Can Gemini Optimize Your PC for Fortnite? Its .bat File vs RIP Tweaks (2026)

RIP Tweaks
Nov 24, 20260views
Video: Can Gemini Optimize Your PC for Fortnite? Its .bat File vs RIP Tweaks (2026)
6:04 video15 stepsWatch on YouTube

Written version of our video, every step checked against it.

Quick answer

  • Baseline on the PC in the video: around 140 FPS in Fortnite on a creative map.
  • Asked to optimize the PC, Gemini gave generic advice. Asked for a batch file, it wrote a script with 6 tweaks: temp files, Prefetch, DNS flush, Ultimate Performance plan, Explorer restart.
  • The script threw errors (Invalid Parameters) and did not switch the power plan: it had to be selected by hand. Result: 170 to 180 FPS.
  • RIP Tweaks on the same laptop: a backup, then Hardware, Windows with 16 Hex, the RIP Gaming Power Plan and the Fortnite game booster.
  • Result: around 300 FPS on the PC in the video, almost double the 140 FPS it started with.

Key settingsSteps

This page is for anyone who wants to know if Google's Gemini can optimize a gaming PC for Fortnite. It follows our test step by step: the prompts we typed, how to turn Gemini's code into a .bat file and run it, what the script really did, the FPS after it, and then every click in RIP Tweaks on the same laptop with the FPS at the end.

In this video

Step 1: Check your FPS in Fortnite before any tweaks

Start Fortnite, turn on the FPS counter and write down what you get on one map and one spot. The video tests on a creative map. With nothing tweaked, the laptop in the video gets around 140 FPS, with dips near 100.

Fortnite creative map before any tweaks with the FPS counter at the top showing 136 FPS, low 102, high 159
The baseline: around 140 FPS, dropping to 102 at the worst moment.

Use the same map, spot and settings for every test later. Only then do the numbers compare like for like.

Step 2: Ask Gemini to optimize your PC

Open Gemini and type optimize my pc. In the video Gemini answers with general advice, the kind any chatbot gives: disable unnecessary startup apps in Task Manager, clean up temporary files, update Windows and your drivers, and set visual effects to best performance.

Gemini answer to optimize my pc listing Disable Unnecessary Startup Apps and Clean Up Temporary System Files
The first answer: startup apps and temp files, nothing for Fortnite.
Gemini prompt box with can you build me a pc tweaking app so i can have more fps typed under the visual effects tip
The second prompt: asking Gemini for a PC tweaking app.

Next the video asks can you build me a pc tweaking app so i can have more fps. Gemini offers a PowerShell route, so the follow-up is give me a batch file for my pc.

Prefer one click?

RIP Tweaks makes these changes for you, with a backup first.

Download free

Step 3: Save Gemini's script as a .bat file

Gemini writes a script called Ultimate PC Optimization Script. Click Download code at the top of the code block and save it to your desktop. It arrives as a .txt file named like gemini-code-....txt.

Open the .txt fileFileSave as.txt to .batAll filesSave

Gemini code snippet of the Ultimate PC Optimization Script with steps 1 to 5 and the Download code button
The script and the Download code button at the top right.
Save as window on the Desktop with the gemini-code txt file name and Save as type Text documents
Save as: change .txt to .bat in the name and pick All files as the type.

Double-click the .txt file, click File and Save as, replace txt at the end of the name with bat, set Save as type to All files and click Save. Close the editor: the .bat file now sits next to the .txt on your desktop.

Careful

The script deletes files in your Temp folders and the Windows Prefetch folder. The video itself voices the worry about what it will delete. Read every line of a chatbot's script before you run it as administrator.

Step 4: Run the .bat file as administrator

Right-click the .bat file and choose Run as administrator. A command window opens and runs the six steps one after another.

Right-click menu on the Gemini .bat file on the desktop with Run as administrator highlighted
Right-click the .bat file, then Run as administrator.
Command window of the Gemini script showing 6 steps, a not recognized command error and Invalid Parameters
Six steps, two error messages and "Optimization Complete!" at the end.

The six steps are all the script does: clear the user temporary files, clear the system temporary files, clear the Prefetch cache, flush the network DNS cache, activate the Ultimate Performance power plan and restart the Windows Explorer shell. Two lines fail along the way: "'Cleaning...' is not recognized as an internal or external command" and, right after the power plan step, Invalid Parameters.

Step 5: Check the power plan Gemini says it set

Open Power Options in the Control Panel to see if the plan really changed. In the video it did not: Ultimate Performance appears under the hidden plans, but it is not selected. It has to be clicked by hand.

Control PanelHardware and SoundPower OptionsUltimate Performance

Windows Power Options with Balanced and Ultimate Performance plans, Ultimate Performance selected by hand
Ultimate Performance had to be picked by hand: the script's command failed.

Good to know

The "Invalid Parameters" line in the script's window comes from that power plan command. Gemini's script reports the step as done, but the setting never changed until it was selected in Power Options.

Step 6: FPS after Gemini's tweaks

Back on the same creative map, the laptop now gets around 170 to 180 FPS after six tweaks. That is the whole Gemini run: two prompts, one script, one power plan clicked by hand.

Fortnite creative map after the Gemini tweaks with the FPS counter showing 158 FPS, low 137, high 179
After Gemini's script the counter runs higher than the 140 FPS baseline.

Step 7: Download RIP Tweaks and create a backup

Now the same laptop gets RIP Tweaks. In the video, type discord.gg/riptweaks into your browser and join the server. Open the free-tweaks channel, click Download RIP Tweaks, then Download for Windows, save the file and click Install. You can also get it straight from riptweaks.com/download.

RIP Tweaks installer window showing Installing RIP Tweaks with the download at 38 percent
The installer downloads and sets up the app by itself.
RIP Tweaks Create a Backup window with the Backup Name field and the Create button
Create a Backup: name it Before RIP Tweaks and click Create.

When the app opens, create your account with a username, your email and a password, then click Create account. Go to Backups, click Create a backup, type Before RIP Tweaks and click Create. Wait until it finishes.

BackupsCreate a backupBefore RIP TweaksCreate

How to undo it

Everything after this point can be undone from Backups with the backup you just made. Gemini's script had no such step: deleted temp and Prefetch files are simply gone. See restore points and undoing changes.

Step 8: Activate the CPU and GPU tweaks

Open Hardware. The page reads your PC on its own: here an AMD Ryzen 7 7435HS, an NVIDIA GeForce RTX 4060 Laptop GPU and 16 GB of Samsung DDR5-4800. Open CPU and click Activate on AMD CPU (an Intel processor gets the Intel options), then switch on the rest: CPU Core Unparking, Disable Power Throttling, Disable Windows Hypervisor and Background Apps to Efficiency Mode.

HardwareCPUAMD CPUActivate

RIP Tweaks Hardware page with the Ryzen 7 7435HS, RTX 4060 Laptop GPU and the CPU, GPU, RAM, BIOS and Drives cards
Hardware: CPU, GPU and RAM detected before you click anything.
RIP Tweaks CPU page with AMD CPU active, CPU Core Unparking and Disable Power Throttling switched on
AMD CPU active, plus the four tweaks under More CPU tweaks.

Go back and open GPU. With an NVIDIA card you get the NVIDIA tweaks (AMD and Intel cards get their own). Turn on every one, such as Force Max Performance P-State and Disable GPU Preemption & TDR, plus the two universal tweaks that work on any GPU. Our NVIDIA settings guide goes deeper on this page.

RIP Tweaks GPU page for the RTX 4060 Laptop GPU with Force Max Performance P-State activated and Disable HDCP below
Each switch confirms at the top of the window as it turns on.

Step 9: Optimize RAM, BIOS and the SSD

Open RAM and apply Optimize RAM for the amount in your PC, here 16 GB. Turn on Disable Background Apps on the same page, so Store apps stop running in the background. Then open BIOS and activate the BIOS tweaks, which RIP Tweaks applies from Windows.

RIP Tweaks RAM page applying Optimize RAM for 16 GB Samsung DDR5-4800 with Disable Background Apps below
Optimize RAM is tuned to the 16 GB in this laptop.
RIP Tweaks BIOS Settings guide for the Ryzen 7 7435HS listing DOCP EXPO, Re-Size BAR and Above 4G Decoding
The BIOS Settings guide, for the settings only the BIOS menu can change.

For the settings inside the real BIOS menu, open the guide on that page and go through it yourself, or follow our Intel and AMD BIOS settings guide. Last, open Drives and switch on both SSD tweaks: SSD Optimization and NVMe Power Saving Off. A PC with a hard drive gets the hard drive tweaks here instead.

RIP Tweaks Drives page with a Samsung SSD 990 PRO 1TB, SSD Optimization and NVMe Power Saving Off both active
Both SSD tweaks active on the laptop's NVMe drive.

Step 10: Windows 11 tweaks and startup apps

Open Windows, then the Windows card. The app detects your version, here Windows 11 Pro 23H2. Click Activate on Windows 11 Optimization, then turn on the system tweaks below it: Ultimate Power Optimization, Disable Fullscreen Optimizations and the rest. Tweaks your PC can't use are marked, like Remove Unused Windows Parts showing "Not supported on this PC" here, so everything you switch on works on your machine.

WindowsWindowsWindows 11 OptimizationActivate

RIP Tweaks Windows page with Windows 11 Optimization, Win32 Priority Separation and Ultimate Power Optimization
Windows 11 Optimization at the top, 12 system tweaks below.
RIP Tweaks Startup Programs list with Disable all, LGHUB, RobloxPlayerBeta, Discord and Adobe CCXProcess
Startup Programs: the video switches off RobloxPlayerBeta.

Scroll down to Startup Programs and stop the apps you don't need at startup. In the video Roblox Player was starting with Windows for no reason, so it goes. Disable all keeps antivirus, audio, GPU and input drivers and is fully reversible with Restore.

Step 11: Set Win32 Priority Separation to 16 Hex

The video calls this the most important part. Scroll back up to Win32 Priority Separation, click Adjust, pick 16 Hex and click Apply. The app labels it "More FPS, Some input lag": long time slices that adapt, plus a 3x boost for the game.

WindowsWin32 Priority SeparationAdjust16 HexApply

Win32 Priority Separation window with 16 Hex More FPS Some input lag selected between 18 Hex and 2A Hex
16 Hex selected. 26 Hex works like the Windows default, 2A Hex gives the lowest input lag.

Tip

The window explains each value. If you care more about input lag than FPS, 2A Hex is the one marked "Lowest input lag". Our 16 Hex and 32 Hex guide compares them.

Step 12: Switch to the RIP Gaming Power Plan and Aggressive boost

Go back and open Power. Click Activate on the RIP Gaming Power Plan. It takes the place of the Ultimate Performance plan that Gemini's script could not even switch on. Then click Edit on Processor Boost Mode, pick Aggressive and click Apply.

WindowsPowerProcessor Boost ModeEditAggressive

RIP Tweaks Power page with the RIP Gaming Power Plan Activate button and Processor Boost Mode below
The RIP Gaming Power Plan: higher FPS and lower input lag, normal temperatures.
Processor Boost Mode window with Aggressive Recommended selected above Efficient Aggressive, Enabled and Disabled
Aggressive gives the highest boost clocks whenever the game needs them.

Go through the rest of the power settings and apply the option marked Recommended on each, like Energy Performance Preference set to Gaming in the video. You can test the others too: the best setting is the one that works best on your PC.

Step 13: Open Fortnite in the game booster (Balanced is free)

Go to Games last and click Fortnite. This is the RIP Tweaks game booster, with two modes. Balanced is free: it quiets your background apps and turns on four tweaks while you play: GPU Priority, I/O Priority, Purge RAM Cache and Pause Windows Update.

RIP Tweaks Games page with the Library of Call of Duty, Counter-Strike 2, Fortnite, GTA V and VALORANT
The Games page. Click Fortnite in the Library.
Fortnite in Balanced mode with 9 apps quieted and GPU Priority, I/O Priority, Purge RAM Cache and Pause Windows Update on
Balanced: 9 apps quieted and 4 tweaks on in the video.

Tip

Balanced is free and "touches nothing risky", as the app says. Start there, test your FPS, and only then decide if you need Performance.

Step 14: Or use Performance mode for the most FPS (Premium)

Performance is the Premium mode. In the video it quiets 19 apps instead of 9 and turns on 8 tweaks instead of 4. It also doesn't start Fortnite through the Epic Games Launcher, which otherwise keeps running in the background: the Start with the Epic Games Launcher switch stays off.

Fortnite game mode set to Performance with 19 apps quieted, 8 tweaks on and Start with the Epic Games Launcher off
Performance selected. The Epic Games Launcher switch stays off.
Performance tweaks for Fortnite: Disable Segment Heap, Unbind CPU 0 and Max Timer Resolution on, Close Explorer off
The extra tweaks: Disable Segment Heap, Unbind CPU 0 and Max Timer Resolution.

The extra tweaks are the ones the video rates highest: Disable Segment Heap and Unbind CPU 0 for FPS, and Max Timer Resolution, which holds the 0.5 ms system timer while you play for steadier frame pacing and less input lag. Close Explorer is marked risky and stays off in the video. Details on Premium.

Step 15: Launch Fortnite and compare the FPS

Pick the mode you want and click Launch. The Games page then shows Fortnite as Playing with Boost is live, and the boost turns its tweaks off again when the game closes.

RIP Tweaks Games page with Fortnite marked Playing, Last played just now and the Boost is live button
Fortnite running with the boost live.

On the same creative map, the laptop now gets around 300 FPS. Side by side on the PC in the video: around 140 FPS before, 170 to 180 FPS with Gemini's six tweaks, around 300 FPS with RIP Tweaks.

How to check it worked

  • Test the exact map and spot of your baseline with the same in-game settings, and compare the range on the FPS counter, not one frame.
  • After Gemini's script, open Power Options and check which plan is really selected. In the video the script said it was done and it wasn't.
  • In RIP Tweaks, the switches you turned on show Active, and the Hardware page counts the hardware tweaks on this PC.
  • While Fortnite runs from the game booster, the Games page shows Playing and Boost is live.
  • If the FPS doesn't move, restart once. Gemini's own script ends with "Please restart your PC."

For lower ping and input delay in Fortnite too, see our Fortnite FPS, input delay and ping guide.

Key settings at a glance

Gemini vs RIP Tweaks: every setting changed in the video
SettingSet toWhy
Gemini .bat fileRun as administrator6 tweaks: temp files, Prefetch, DNS, power plan, Explorer
Windows power planUltimate Performance, selected by handThe script's command failed with Invalid Parameters
RIP Tweaks backupBefore RIP TweaksOne click back if something goes wrong
CPUAMD CPU activated + all CPU tweaksCores stay awake, no power throttling
GPUAll NVIDIA tweaks + 2 universal tweaksThe GPU stays at its highest speed
RAMOptimize RAM (16 GB), Disable Background AppsTuned to the RAM, fewer apps in the background
BIOSBIOS tweaks activated, guide for the BIOS menuTimer and priority settings from Windows
DrivesSSD Optimization + NVMe Power Saving OffThe SSD answers right away after a pause
Windows 11 OptimizationActivated + system tweaksLess background work and telemetry
Startup ProgramsRobloxPlayerBeta offNothing extra starts with Windows
Win32 Priority Separation16 HexLeans towards FPS while keeping the game first
Power planRIP Gaming Power PlanReplaces the plan Gemini could not set
Processor Boost ModeAggressiveHighest boost clocks when the game needs them
Fortnite game boosterBalanced (free) or Performance (Premium)Quiets background apps and adds game tweaks

FAQ

Can Gemini optimize my PC for gaming?

Only a little. In the video its first answer was generic advice, and its batch file did six basic things: clear temp files and the Prefetch cache, flush DNS, set a power plan and restart Explorer. Fortnite went from around 140 FPS to 170 to 180 FPS on the PC in the video, against around 300 FPS with RIP Tweaks.

Is it safe to run a batch file from Gemini?

Read it first, line by line. A .bat file run as administrator can change or delete anything. The script in the video deletes everything in the Temp and Prefetch folders, has no backup or undo step, and two of its commands failed. Make a backup or restore point before you run any script.

Why did Gemini's script say Invalid Parameters?

The error appeared right after the step that should activate the Ultimate Performance power plan. That command failed, so the plan was never switched on: in Power Options it had to be selected by hand. The script still ended with "Optimization Complete!".

How do I undo Gemini's PC tweaks?

Open Power Options and select Balanced again. The deleted temp files can't be brought back, but Windows and your apps create new ones as needed, and the Prefetch folder and DNS cache rebuild by themselves as you use the PC.

How much FPS did RIP Tweaks give compared with Gemini?

On the PC in the video, a laptop with an AMD Ryzen 7 7435HS and an RTX 4060 Laptop GPU: around 140 FPS before, 170 to 180 FPS with Gemini's tweaks and around 300 FPS with RIP Tweaks, on the same creative map. Your numbers depend on your hardware.

Is RIP Tweaks free?

The download is free, and so is the Balanced game booster mode. The Performance mode with Disable Segment Heap, Unbind CPU 0 and Max Timer Resolution is part of Premium, which unlocks over 250 tweaks.

Is 16 Hex better than 26 Hex for Fortnite?

The video picks 16 Hex for the most FPS. In the app, 26 Hex is the same as the Windows default, 16 Hex leans towards FPS with some input lag, and 2A Hex gives the lowest input lag with less FPS. Test the one that suits how you play.

Does this work for other games than Fortnite?

Yes. The hardware, Windows and power tweaks apply to every game, and the Games page in the video also lists Call of Duty, Counter-Strike 2, GTA V and VALORANT, with Add Game for any .exe. For a full run on another PC, see how we optimized a PC with one free app.

RIP Tweaks

Do it in a few minutes with RIP Tweaks

  • Free plan for Windows 10 and 11
  • A backup first, and every tweak can be switched off again
  • Made for higher FPS, lower input lag and steadier ping

Free · Windows 10 and 11