Power plan
WinSux duplicates the built-in Ultimate Performance scheme using a fixed, memorable GUID, activates it, and then deletes all other power plans from the system.CPU settings
All processor power management settings are applied to both AC (plugged in) and DC (battery) index values.| Setting | Value | Effect |
|---|---|---|
| Minimum processor state | 100% | CPU never clocks down, even at idle |
| Maximum processor state | 100% | CPU cannot be throttled below maximum frequency |
| System cooling policy | Active | Fan runs actively; passive (throttle-before-fan) disabled |
| Core parking minimum | 100% | All CPU cores remain unparked at all times |
| Core parking maximum | 100% | Parking upper bound also set to 100% |
0cc5b647 and ea062031) are hidden by default. WinSux unhides them before writing:
Power throttling
Power Throttling is disabled system-wide. This prevents Windows from reducing CPU frequency for background processes:Sleep and display
| Setting | Value | Effect |
|---|---|---|
| Sleep after | 0 (never) | System never sleeps automatically |
| Hibernate after | 0 (never) | System never hibernates automatically |
| Hybrid sleep | Off | No hybrid sleep state |
| Allow wake timers | Disabled | Scheduled tasks cannot wake the system |
| Turn off display after | 600 seconds (10 minutes) | Display turns off for OLED burn-in protection |
| Display brightness | 100% | Full brightness at all times |
| Dimmed display brightness | 100% | Dimmed state also set to full brightness |
| Adaptive brightness | Off | Ambient light sensor does not adjust brightness |
| Start menu power button | Shut Down (2) | Power button shuts down instead of sleeping |
USB settings
The Hub Selective Suspend timeout setting is hidden by default and is unhidden before being set:| Setting | Value | Effect |
|---|---|---|
| Hub Selective Suspend timeout | 0 ms | No delay before suspend is considered; combined with suspend disabled below |
| USB Selective Suspend | Disabled | USB devices are never suspended to save power |
| USB 3 Link Power Management | Off | USB 3 ports do not use link-level power saving |
PCI Express
GPU-specific power settings
These settings are applied to the active power plan viapowercfg and cover vendor-specific sub-settings that appear only on systems with the relevant hardware.
| GPU vendor | Setting | Value |
|---|---|---|
| Intel | Graphics power plan | Maximum Performance (2) |
| AMD | Power slider overlay | Best Performance (3) |
| ATI | PowerPlay settings | Maximize Performance (1) |
| All | Switchable Dynamic Graphics | Maximize Performance (3) |
Device power savings
WinSux iterates over all enumerated devices in four bus classes and disables every power management option on each one.Network adapter power settings
Network adapter power settings
Applied to all keys under
HKLM:\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}:| Registry value | Data | Effect |
|---|---|---|
PnPCapabilities | 24 | Disables wake-on-LAN and power management |
AdvancedEEE | "0" | Disables Advanced Energy Efficient Ethernet |
*EEE | "0" | Disables Energy Efficient Ethernet |
EEELinkAdvertisement | "0" | Disables EEE link advertisement |
SipsEnabled | "0" | Disables system idle power saver |
ULPMode | "0" | Disables ultra low power mode |
GigaLite | "0" | Disables GigaLite |
EnableGreenEthernet | "0" | Disables Green Ethernet |
PowerSavingMode | "0" | Disables power saving mode |
S5WakeOnLan | "0" | Disables wake from S5 power state |
*WakeOnMagicPacket | "0" | Disables wake on magic packet |
*ModernStandbyWoLMagicPacket | "0" | Disables Modern Standby wake on magic packet |
*WakeOnPattern | "0" | Disables wake on pattern match |
WakeOnLink | "0" | Disables wake on link activity |
ACPI, HID, PCI, USB device power settings
ACPI, HID, PCI, USB device power settings
Applied to all
WDF (Windows Driver Framework) subkeys also have
Device Parameters subkeys under each bus in HKLM:\SYSTEM\ControlSet001\Enum\{ACPI,HID,PCI,USB}:| Registry value | Data | Effect |
|---|---|---|
EnhancedPowerManagementEnabled | 0 | Disables enhanced power management |
SelectiveSuspendEnabled | 0x00 | Disables selective suspend |
SelectiveSuspendOn | 0 | Additional selective suspend disable |
WaitWakeEnabled | 0 | Disables wake events from this device |
IdleInWorkingState=0 set to prevent idle power transitions.NVMe and SCSI write cache settings
NVMe and SCSI write cache settings
Applied to Setting
Device Parameters\Disk subkeys under HKLM:\SYSTEM\ControlSet001\Enum\{NVME,SCSI}:CacheIsPowerProtected=1 tells Windows the drive’s write cache is protected against power loss, which disables the “Turn off Windows write-cache buffer flushing on the device” safety mechanism. This can improve write performance but risks data loss if power is cut unexpectedly.Timer Resolution Service
The system timer normally runs at approximately 15.6 ms (64 Hz). WinSux installs a persistent Windows service that locks it to the minimum interval supported by the hardware — typically 0.5 ms (2000 Hz) on modern systems. Why this matters: A coarser timer means the scheduler wakes up less often, which introduces jitter into frame delivery, audio callbacks, and other latency-sensitive operations. Locking the timer to maximum resolution reduces this jitter.Compilation and installation
The service is compiled from source at install time using the .NET Framework 4.x C# compiler:How the service works
On start, the service callsNtQueryTimerResolution to find the hardware minimum interval (MaximumResolution in the API, confusingly — the variable name refers to maximum resolution, i.e. the smallest interval), then calls NtSetTimerResolution to lock to that value:
Global timer resolution requests
GlobalTimerResolutionRequests is enabled so that any process requesting a high-resolution timer is honoured system-wide rather than only within its own process context:
MSI mode for GPUs
Message Signaled Interrupts (MSI) are enabled for all GPU devices. MSI replaces the legacy line-based interrupt delivery mechanism with in-band PCI messages, which eliminates shared IRQ contention and can reduce interrupt latency. WinSux enumerates all Display class devices viaGet-PnpDevice -Class Display and writes the MSI key for each:
A restart is required for MSI mode changes to take effect. WinSux performs a final restart at the end of
steptwo.ps1.