Don't know what you are using. For example, if you are using windows 7 you would click start, then control panel, then hardware and sound, then under power options you will see change when computer sleeps. Click there and change it to do what you want it to do. Different systems will vary from this but will still offer something similar. This will not help your virus problems though. Only a good AV will do that.