Link to home
Start Free TrialLog in
Avatar of QQ
QQ

asked on

Debugging windows standby issue

Hello,

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.
Avatar of pablovr
pablovr
Flag of Mexico image

There is this place to look for a posible solution:

http://www.kellys-korner-xp.com/xp_standby.htm

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.

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:
http://download.microsoft.com/download/whistler/Patch/Q306676/WXP/EN-US/Q306676_WXP_SP1_x86_ENU.exe

Avatar of QQ
QQ

ASKER

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..
ASKER CERTIFIED SOLUTION
Avatar of QQ
QQ

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial