v1.8.0
What's Changed
Bug Fixes
- Lid close settings now actually apply — switched from unreliable alias-based
powercfgcommands to GUID-based commands, and addedpowercfg /setactiveto flush changes to the kernel. The lid close setting is now verified after applying. - Tray icon reliably appears after restart — the app now waits for explorer.exe shell readiness before showing the tray icon, and handles the
TaskbarCreatedmessage to survive explorer restarts. - Startup task correctly bound to auto-logon user — the scheduled task now uses PowerShell
Register-ScheduledTaskwith a user-specific logon trigger andInteractivelogon type, supporting Microsoft accounts, local accounts, and domain accounts. - Startup task auto-repair — on admin GUI launch, the app validates the startup task and silently recreates it if misconfigured.
- Startup task is now a critical setup step — setup will report failure if the startup task cannot be created.
Files Changed
PowerConfigurator.cs— GUID-based commands,/setactive, lid verificationNetworkConfigurator.cs—/setactiveafter WiFi/USB power settingsRestoreManager.cs— GUID-based restore,/setactiveStartupTaskManager.cs— PowerShell-based task creation, user binding, validationMainWindow.xaml.cs— shell wait, TaskbarCreated hook, auto-repairNativeMethods.cs—RegisterWindowMessageP/InvokeSetupManager.cs— startup task as critical step
Full Changelog: v1.7.1...v1.8.0