Prevent your PC from going to sleep
By Ed Bott
On desktop PCs and laptops, sleep is a useful energy-conservation feature. It can also be a source of frustration if you're trying to complete a time-consuming task. The solution? Use Windows' power options to temporarily prevent your PC from going to sleep.
In Windows 10, go to Settings > System > Power & Sleep. There, under the Sleep heading, you can change the current setting to Never. In Windows 7, type sleep in the search box and then choose Change When The Computer Sleeps in Control Panel. (Note that in both operating system versions there are separate settings for when your PC is running on battery power and when it's plugged in.)
If you'd prefer to automate the process with a script or a shortcut, use one of these commands:
powercfg -change -standby-timeout-ac 0 powercfg -change -standby-timeout-dc 0
(The "ac" and "dc" at the end of each command indicates plugged in or battery power, respectively.)
Be sure to change these settings back after your task is complete. Four ways to control outgoing email in Outlook Outlook doesn't have to control when your messages go out. Take charge and send emails when you want. More TechRepublic stories | Enterprise demand for skilled developers continues to grow, and certain positions--such as front-end, full stack, and mobile developers--are hard to fill. This comprehensive ebook explains which languages will help you launch your career, which pay the most, and which are currently the most popular. It also looks industry trends, strategies for honing your skills, and some of the best (and worst) coding practices. Video: How to rotate text in Microsoft Word It's possible to rotate text in Microsoft Word, and it's dead simple in Word 2016. Here's how to do it. Photos: 12 upcoming trends in connected devices Today's recommended downloads | (Dell EMC Intel) (Citrix) (Citrix) (Citrix) (Citrix) |
A special feature from ZDNet and TechRepublic | The trends that emerge at CES shape the year ahead in tech. Our team analyzes the most important vendors, products, and new developments for businesses and professionals. Cybersecurity survey: Is your company succeeding or failing? |
How well is your company protected against a cyberattack? What cybersecurity tactics is your company using? Does your company regularly update cybersecurity practices? Take this quick survey. Connect with TechRepublic |
|