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.
QQAsked:
Who is Participating?
 
QQConnect With a Mentor Author Commented:
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.
0
 
pablovrCommented:
There is this place to look for a posible solution:

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

0
 
pablovrCommented:
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.

0
 
pablovrCommented:
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

0
 
QQAuthor Commented:
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..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.