If your Windows 11/10 PC shuts down while installing or uninstalling a program, you need to follow the solutions mentioned in ...
If your Windows 11 laptop shuts down without a low battery warning, check notification settings, enable low battery alerts in Power Options, apply energy recommendations, and assess battery health.
For example, if a restart is pending for installing Windows Update, and it is already scheduled, your PC might not take permission to shut it down even when you play games. Alternatively ...