1, most computer motherboards nowadays are already set to this setting, no need to change, only some old motherboards
2, in this case, the "Advanced Power Management" will be displayed.
HKEY_LOCAL_MACHINE\\\Software\\\Microsoft\\Windows NT\\\\Current Version\\\\\Winlogon branch, in the right pane, to find or create a new REG_SZ type of registry entries, the name of the " PowerdownAfterShutdown", double-click to set its value to 0 (0 allows automatic power down, 1 does not allow automatic power down), after completion, exit the registry editor, restart the computer can be.