To change Power Plan settings to stop PC from going to sleep:
- Open Control Panel by searching in Windows: 
- In the search bar type Power and click on Edit power plan:
- 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.
- Once you have changed the settings, click on Save Changes.