[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Debugging windows standby issue

Posted on 2008-11-09
Medium Priority
Last Modified: 2013-12-04

I have a following issue: one of processes in the system, is running a thread, which sets SetThreadExecutionState to ES_SYSTEM_REQUIRED. This prevents system from entering standby. I've disabled all custom software, and most of unneeded services/drivers, and it still happens. It happens only if there is network connection active.

I need a way to debug and find out which thread does this. If I could use SoftIce, i could set breakpoint on SetThreadExecutonState, but SoftIce does not work on XP SP3. I tried to use Syser, but couldn't get it to work.

I'm open for all suggestions.
Question by:QQ
  • 3
  • 2

Expert Comment

ID: 22916225
There is this place to look for a posible solution:



Expert Comment

ID: 22916283
For example, something to check:

OpenGL Screen Saver Prevents Power Management Standby Mode

When you configure your computer to use an OpenGL screen saver and the System Standby feature in Advanced Power Management (APM), your computer may not start the Standby mode.  This issue can occur if the OpenGL screen saver starts before the time you configured for the Standby mode to start has elapsed.


Expert Comment

ID: 22916295
The Computer Cannot Enter Standby or Hibernate If a Direct3D-Based Screen Saver Is Running

Microsoft has released a new update for Windows XP, which addresses a rather small flaw that may prevent the computer from entering standby or hibernation mode if a Direct3D-based screen saver is running. Despite replacing two DirectX libraries and all the 3D screen savers that have been shipped with Windows XP, this update does also replace the winlogon.exe with an updated build.  Download here:


Author Comment

ID: 22916605
Hi guys,

thanks for all the links.

I have no screensaver enabled.

And the problem is caused exactly by ES_SYSTEM_REQUIRED flag being set.

I have read the first link, but I didn't see anything that could help me..

Accepted Solution

QQ earned 0 total points
ID: 22916882
I found the issue - it was caused by someone connecting to the computer through netbios file sharing.

Admins: You can close the question. I would like points refunded.

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Introduction to Processes

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question