If you have a Dell Optiplex 9020 PC:

  1. Go to restart your PC
  2. After the screen goes black and displays the Dell symbol on the main screen, start pressing the F2 key, which will go into the settings for the PC
  3. Settings + Power Management + AC Recovery
  4. Select Last Power State, then click Apply, then Exit