- Windows logo key + S -> Type regedit -> Right-click on Registry Editor -> Run as Administrator
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
- Right-click Attributes -> change value to 2
- Close Registry Editor