Jump to content

Preventing standby during recording? Does not work... :(


Paxero

Recommended Posts

Posted

I use DVBViever 4.0, DVB Scheduler is installed and works. However, DVB Scheduler does not prevent going to standby during recording.

 

I use Vista x86, no password, DVBViever and DVB Scheduler starts during startup (shortcuts in Startup folder). I tried to change all parameters in DVB Viever and DVB Scheduler, nothning has changed. Scheduling works, preveting standby does not.

 

Any idea, please?

  • 1 month later...
Posted (edited)

Vista doesn't allow applications and services to "veto" a suspend request as in Windows XP. There are legitimate uses for the ability to veto standby/hibernate such as DVBViewer when it's recording, but other software abused it so Microsoft removed it from Vista.

 

There is a group policy setting (open gpedit.msc) called "Turn on Applications to Prevent Sleep Transitions" which re-enables the more sensible XP behaviour. Set it to Enabled and reboot.

 

If the system now attempts to enter standby whilst DVBViewer is recording, you will see a Win32k warning event in the Windows event log stating "A requst to suspend power was denied by DVBVservice.exe" (I'm using the Recording Service but DVBViewer itself I assume will also do the same).

 

Edit: I almost forget; the Group Policy editor (gpedit.msc) is only available on Vista Business and Vista Ultimate. If you're running Vista Home Premium you need to edit the registry instead.

Edited by CX23882-19
Posted

Here's a download for Vista Home users:

http://www.quantexzone.com/files/Vista_Sleep_Veto.zip

 

Vista_Allow_Sleep_Veto.reg - lets programs to deny (veto) a sleep request (default on XP)

Vista_Dont_Allow_Sleep_Veto.reg - doesn't let programs to deny (veto) a sleep request (default on Vista)

Posted (edited)
There is a group policy setting (open gpedit.msc) called "Turn on Applications to Prevent Sleep Transitions" which re-enables the more sensible XP behaviour. Set it to Enabled and reboot.

 

If the system now attempts to enter standby whilst DVBViewer is recording, you will see a Win32k warning event in the Windows event log stating "A requst to suspend power was denied by DVBVservice.exe" (I'm using the Recording Service but DVBViewer itself I assume will also do the same).

After a few days I changed this back to the default because my system would hardly ever idle to sleep. I could put it to sleep manually but it just never went to sleep on its own. Interestingly this behaviour also occured with nothing but the standard Windows Vista services running. At this point I would say to NOT enable this setting unless you want an insomniac computer.

 

I've found that if your system supports "Away Mode" then the computer will always enter Away Mode if DVBViewer is recording, and will go to sleep if not. Out of my two Vista machines, only one of them shows the away mode settings in Power Options.

 

One system uses the MSI K9AG Neo2-Digital motherboard and in Advanced Settings in Power Options, the Sleep tree contains:

- Allow Away Mode Policy

- Sleep after

- Allow hybrid sleep

- Hibernate after

 

The other system is a Dell Dimension E521 and on that the Sleep tree only contains:

- Sleep after

- Allow hybrid sleep

- Hibernate after

 

I don't know whether this is just an issue with whether or not Away Mode can be enabled/disabled or whether the Dell simply doesn't support away mode, period.

Edited by CX23882-19
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...