Repository navigation
v4.30
- Five new optional tweaks (21 to 25), found by reading what the well-known tuning tools (winutil, Sophia Script) and Microsoft's own pages offer and keeping only what is documented or harmless and can be undone:
- 21 Windowed-game optimization: turns on the Windows 11 setting "Optimizations for windowed games" (Microsoft documents it: DirectX 10 and 11 games in a window or borderless window use the flip model, with lower frame latency). It is one flag inside a text value that also holds other graphics choices (Auto HDR, the chosen graphics card). A helper script (
tools\Game_Settings.ps1) changes only that flag and keeps the rest; undo puts it back to what it was. A plain.regfile would have overwritten the other flags, so this one is not a.regfile. - 22 Network adapters stay on: switches off "Allow the computer to turn off this device to save power" on every network adapter that offers it (
tools\Nic_Power.ps1), through the WMI valueMSPower_DeviceEnablethat is behind that Device Manager checkbox. The adapters that had it on are remembered and undo switches on exactly those. A PC without the setting skips it. Not applied by Easy Setup on a laptop. - 23 Game Mode on, 24 End task in the taskbar (Windows 11 23H2 or newer), 25 Background apps off: small
.regtweaks of the current user, each with an undo file.
- 21 Windowed-game optimization: turns on the Windows 11 setting "Optimizations for windowed games" (Microsoft documents it: DirectX 10 and 11 games in a window or borderless window use the flip model, with lower frame latency). It is one flag inside a text value that also holds other graphics choices (Auto HDR, the chosen graphics card). A helper script (
- The games profile of Easy Setup now also applies 21, 23 and (desktop only) 22; Maximum adds 24 and 25 as well. The safe profile applies none of them.
- Change: the Prefetcher is no longer switched off on an SSD. Windows manages it itself on an SSD, and Microsoft once turned it off on all SSDs and had to undo that after regressions on some PCs. The menu now leaves it as Windows has it; Check Status accepts 3 (the Windows default) and, for PCs set up by an older version, also 0. Nothing is changed back for you. Menu 7, then F still restores 3. A hard drive keeps 3 as before.
- Windows app: 21 to 25 are switches in the Tweaks page, in English and Thai. Menu 7 (revert one) and
/apply,/revertknow 21 and 22. - Bug found by the VM test and fixed before release: the first version of 22 used
Set-NetAdapterPowerManagement -AllowComputerToTurnOffDevice, but that cmdlet has no such parameter (the value can only be read with the Get cmdlet), so applying 22 failed on the VM adapter. It now sets the WMI value directly. The VM suite phase P5b now also checks that 21 and 22 read OK right after/apply; that check is what caught this. - Bug found while testing the new helper and fixed before release:
@($list)on a generic list fails with "Argument types do not match" in Windows PowerShell 5.1; the helper now returns an array. A test now runs both helpers' Query action and fails on any error text. - Tests: values and undo files of 23-25; the whole Apply and Undo flow of the windowed-games helper against a temporary registry key in every starting state (no value, another flag only, the flag set to 0); the network adapter helper against made-up adapters (runs where administrator rights exist, i.e. CI); menu, Easy Setup profiles and revert routing; the Prefetcher change. The VM suite knows the new profile rules, and a new phase P5b applies 16, 21 and 22 with
/apply, undoes them with/revertand checks that another graphics flag in the same value survives.
Use at your own risk. Windows 11, run the main menu as administrator, keep all folders together and read page 1 of the manual first. To update an existing install, press U in the main menu.