Hi, I almost always leave the computer running. The main reasons I do this is for convenience and so Avast can perform scheduled scans. Based on what I've learned, it's a really good idea to restart the computer once in a while. I'm opting to restart the computer once a day (an hour before Avast's scheduled scan). I think I figured out how to make the computer shutdown and restart automatically. I went to Start > Control Panel > Scheduled Tasks > Add Scheduled Task and created the following task:
Run: C:\WINDOWS\system32\shutdown.exe -r -f -t xx (where "-r" shutdowns and restarts the computer; "-f" forces all running applications closed; "-t xx" delays the shutdown for "xx" seconds (I think)).
Start In: C:\WINDOWS\system32
Additionally, I need the computer to log into a user account of my choice for convenience and so Avast doesn't miss its scheduled scan but I'm not sure how to do this. Perhaps, the program, TweakUI can be used to set an automatic login but CNET does not recommend it to beginners so I would like to avoid using the program.
Okay, here's the problem. I managed to figure out how to automatically log into a Windows user account so that is no longer an issue. Please, take a look at the following image: http://www.filedropper.com/taskschedulernopermission
In the image, I click on Set Password. I enter a password then confirm it. Then, I click Apply. When, I click Apply, I receive the prompt displayed next to the AutoStart window.
Edit: Update: I've successfully configured the computer to shutdown, restart and log into Windows automatically. I'm going to make sure browsers don't lose their tabs as a result of "-f xx".
Edited by Wang Yuan Ji, 27 June 2011 - 10:25 AM.