Dell XPS Doesn't Return From Modern Sleep
(2026-07-24)
Problem:
Laptop does not wake up properly from sleep mode. Might wake up immediately, might require multiple close/opens of lid to wake up, might not wake up at all.
Logs point finger at "returnign from Modern Sleep mode" or the like.
Solution:
Google clanker suggests this powershell to do this needful remotely:
# Define the target laptop's name or IP address
$ComputerName = "BustedDellXPS"
Invoke-Command -ComputerName $ComputerName -ScriptBlock {
# Path to the Power registry settings
$RegistryPath = "HKLM:\SYSTEM\CurrentControlSet\Control\Power"
# Inject the Modern Standby override DWORD
New-ItemProperty -Path $RegistryPath -Name "PlatformAoAcOverride" -Value 0 -PropertyType DWORD -Force
# Restart the laptop to apply firmware-level power state changes
Restart-Computer -Force
}