Windows: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 30: | Line 30: | ||
Look through the drivers.txt file, and then you can do things like: | Look through the drivers.txt file, and then you can do things like: | ||
pnputil.exe /d oem111.inf | 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. | |||
* Use [https://rufus.ie 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 register keys: | |||
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 USB drive in the running system. |
Latest revision as of 06:08, 8 May 2025
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.
- 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 register keys:
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 USB drive in the running system.