To change Power Plan settings to stop PC from going to sleep:

  1. Open Control Panel by searching in Windows: 
  2. In the search bar type Power and click on Edit power plan: 
  3. In the menu that displays you will be able to change the amount of time before the PC goes into sleep mode or turns off the display. It can also be set to never so the PC does not go into sleep mode.
  4. Once you have changed the settings, click on Save Changes.