Here's how to disable or modify automatic sleep mode in Windows 7:
- Navigate to the Control Panel
- If you are using Category mode then change to Small icons
- Once you've changed to Small icons, click Power Options
- Balanced (Recommended) should be selected by default. Click Change plan settings
- Click the drop down box next to Put the computer to sleep and select your desired option. I personally set my computer to Never