Windows
Energy management
Why computer was woken from sleep
To check why computer was woken from suspend:
powercfg /lastwake
to get more details:
powercfg /systempowerreport
To disable Windows Update waking up the computer
Run as Administrator:
gpedit.msc
Then go to:
Computer Configuration / Administrative Templates / Windows Components / Windows Update / Enabling Windows Update Power Management to automatically wake up the system to install scheduled updates
and set it to "Disabled".
For swedish Windows:
Datorkonfiguration / Administrativa mallar / Windows-komponenter / Windows Update / Aktivera automatisk väckning via Energisparfunktioner för installation av schemalagda uppdateringar
and set it to "Inaktiverad".
To disable hibernation
powercfg.exe /h off
To uninstall a specific driver
In a elevated command prompt:
dism /online /get-drivers /format:table > c:\drivers.txt
Look through the drivers.txt file, and then you can do things like:
pnputil.exe /d oem111.inf
To enable DHCP
Install a simple DHCP server like: https://www.hanewin.net/dhcp-e.htm
To install Windows 11 on an unsupported CPU
Don't know if all of these steps are required, but they worked!
- Download a Windows 11 ISO file. You now have 2 ways:
Using Microsoft reg keys only
- In the running Windows x system, add the following registry keys (DWORD32 values):
HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup\AllowUpgradesWithUnsupportedTPMOrCPU=1 HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassCPUCheck=1 HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassTPMCheck=1 HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassSecureBootCheck=1
- Run the following command from the Windows 11 installation media:
setup.exe /product server
This will not install the Windows server variant, it will just bypass some additional checks during installation.
Using Rufus
- Use Rufus to write the ISO to a USB drive. After hitting "Start", select the tick box to skip TPM/CPU verification.
- In the running Windows x system, add the following registry keys (DWORD32 values):
HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassCPUCheck=1 HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassTPMCheck=1
- If you want to install Windows 11 from scratch, boot from the USB drive.
- If you want to upgrade, run setup.exe from the Windows 11 installation media.