In order to help users save electricity and battery charge, Windows operating systems include a setting that puts the computer into standby mode if it's left idle too long.
While usually a helpful feature, it can sometimes interrupt long processes like virus scanning or downloading long files.
However, you can easily change these settings, and there is even a way to have your computer automatically switch between settings depending on how you are using it.
Click the "Start" button and select "Control Panel." Wait for the "Control Panel" window to open.
If it is not already, set the "View by" drop-down menu to "Category."
Click "System and Security," then "Power Options."
This displays a list of the default power usage plans that Microsoft and HP add to your computer.
The plan with the filled dot on its left is the one you are currently using. Click the "Change Plan Settings" link to the right of the active power plan.
The drop-down menus following "Put the computer to sleep:" allow you to determine how long the computer will wait when left idle before automatically going into standby mode.
If you have a laptop, choose different settings for when the computer is plugged in or running on its battery.
If you want to computer to always remain on, select "Never" from the menu.
Adjust power settings for windows 7