Game Boost StopAsync and Dispose reuse SyncTimer for the timer; the always-true
UpdateDownloadResult.ChecksumVerified and an unused using are gone. No behavior change.
Timer.Dispose does not wait for a callback already on the thread pool; such a tick could apply
changes after the shutdown restore and leave the game handle open.
ReapplyAsync put back the session's old process model, which still said AboveNormal after the
restore had set the game back to Normal, so the priority was not applied again.
Process.EnableRaisingEvents opens the game with PROCESS_ALL_ACCESS and the
session kept that handle for the whole game: exactly the kind of outside
handle anti-cheats scan for, and a protected (PPL) game refused it and fell
back to polling.
The game is now opened with only SYNCHRONIZE and
PROCESS_QUERY_LIMITED_INFORMATION; start time and CPU time come from
GetProcessTimes on that handle, and the exit wait is a thread-pool
registration on it, still checked with one zero wait first so a handle
stripped of SYNCHRONIZE falls back to polling. +1 native test (a protected
process can be held).
During a session the game was looked up twice every 3 s (identity + CPU
time, each a GetProcessById and the identity a full process snapshot for
SessionId), and every 15 s a model was built for every process on the
machine to find a few listed background names.
- The game is held open for the session (Process + Exited): its exit ends
the session at once, under the same lock as the tick; CPU time for the
load sampling is read from the same handle. The identity is re-checked
through the held handle, which also pins the PID.
- The handle is verified with one wait before the exit wait is registered,
so a handle without SYNCHRONIZE (anti-cheat) falls into the polling
fallback instead of failing on the runtime's wait thread. A denied or
protected game keeps the previous polling.
- The rescan filters the GetProcesses snapshot by listed name before any
model is built; exact paths are still checked afterwards.
- Session id read with ProcessIdToSessionId instead of Process.SessionId
(a full snapshot per listed background process every 15 s).
Ownership, journal and restore unchanged. +8 tests (903/903).
- The launch task is re-registered on every elevated start again (now in the
background), so a changed definition or another admin never keeps a stale one.
- Admin-only folders are owned by Administrators when elevated, so the user
cannot rewrite their DACL with UAC off or a non-default owner policy.
- The update provider trusts only folders it created itself.
- Game Boost does not remember a foreground process as not-a-game while its
path is still unreadable.
- The Game Boost timer runs only while Game Boost is on (off by default);
turning it off still restores everything through ReapplyAsync.
- A foreground process just rejected as not-a-game is not rebuilt into a full
process model every 3 s; it is looked at again after 30 s or on a settings
change.
- Switching power plans reads one /list for the previous and target plans and
reuses it after /setactive: 3 powercfg.exe starts instead of 5 (2 when
duplicate prevention is off).
Game Boost now gives Windows hints as well as constraints, and adapts
the game's CPU Set to its load instead of applying it once:
- the game gets high QoS (power throttling off), on every CPU, so
Windows never throttles it while it is not in the foreground;
- in Isolation the listed background apps get EcoQoS, also on CPUs
where CPU Sets are not applied;
- a game that keeps its confined CPUs saturated has its CPU Set
released so Windows can use every core, and confined again after a
minute of low load (hysteresis, at most two releases per session).
Same ownership rules as CPU Sets: only values Windows still manages
are changed, user rules and the app's own QoS win, everything is
journaled and restored on exit, toggle and after a crash.
Efficiency mode writes now keep the process's other power-throttling
flags: Windows replaces the whole state on set, so the old write wiped
a timer-resolution opt-out set by the process itself.
Restore the complete local Game Boost/runtime topology work from 6c36ea6, including Activity diagnostics, while preserving the stable 1.7.7 release and channel guards. Preview notes document pending dual-CCD Ryzen/X3D, Intel hybrid, benchmarks and anti-cheat validation, with tester instructions.