Change the inactivity timeout in the active Windows 7 power plan, setting Sleep after to a longer interval or Never.
Change the timeout
- Click Start, type power options, and select Power Options.
- Find the plan marked as selected, then click Change plan settings beside it.
- Change:
- Turn off the display — controls only the monitor.
- Put the computer to sleep — controls when the computer enters its low-power sleep state.
- Choose the desired time, or select Never.
- If this is a laptop, set both On battery and Plugged in as needed.
- Click Save changes.
Windows power plans separately control the display timeout and the idle period before sleep.^1^
Check the advanced settings
If it still changes state after 15 minutes:
- Return to Power Options → Change plan settings for the selected plan.
- Click Change advanced power settings.
- Expand Sleep.
- Adjust Sleep after.
- Expand Hibernate after and adjust that value too, if present.
- Click Apply, then OK.
The Sleep after value is the duration of inactivity before Windows automatically enters sleep; a value of zero represents Never.^2^
If the computer is actually shutting down
Sleep normally resumes to the previous session. If Windows instead performs a complete startup and previously open programs are gone, that is a true shutdown or crash—not simply the normal sleep timeout.
After changing both Sleep after and Hibernate after, observe whether it still powers off at exactly 15 minutes. If it does, note whether:
- Windows displays “Shutting down” first.
- The PC resumes the existing session or performs a fresh boot.
- The behavior occurs while plugged in, on battery, or both.
Those details are needed to distinguish a configured power action from a hardware, battery, overheating, or system-failure shutdown.
References