NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 112 113 114 115 116 … 1231 Next »
disable standby during defrag

 
  • 0 Vote(s) - 0 Average
disable standby during defrag
tjc
Offline

Junior Member

Posts: 25
Threads: 10
Joined: Jan 2009
#1
2009-07-25, 05:05 AM
I use a batch file to run defrag and then restart. If defrag is not complete before 10 minutes (my standby setting) the computer stills goes into standby. Is there a line I can add to the batch file to disable standby until defrag is complete and the restart is done? I would prefer not to change my 10 minute standby setting. Running XP Pro
sml42
Offline

Junior Member

Posts: 27
Threads: 6
Joined: Dec 2004
#2
2009-07-25, 07:26 AM
You can create schemes for Power-Saving options and label them (e.g. power-saving, defrag).
You can then activate a scheme by using the command 'powercfg /setactive scheme' in your batch file.

hth
sml42
tjc
Offline

Junior Member

Posts: 25
Threads: 10
Joined: Jan 2009
#3
2009-07-25, 08:32 AM
Will the computer then revert back to the 10 minute power scheme after the restart, or remain in the defrag scheme?
sml42
Offline

Junior Member

Posts: 27
Threads: 6
Joined: Dec 2004
#4
2009-07-25, 08:52 AM
The power scheme remains.

Your batch file could look like this:

powercfg /setactive defrag
defrag
powercfg /setactive power-saving
reboot

I don´t know if defrag returns error-state at finish to call powercfg again - otherwise you should enter the line
'powercfg /setactive power-saving'
at a system start batch to get the default power scheme back.

sml42
Satori
Offline

Member

Posts: 238
Threads: 42
Joined: Dec 2006
#5
2009-07-25, 06:25 PM
http://forums.nextpvr.com/showthread.php?t=42495
Gateway GM5664 with Vista Premium SP1 Transferred to Antec Fusion HTPC case
AMD Phenom 9600 Quad Core 2.3GHZ, 3GB PC5300 667MHZ Memory
3 Tuners: Avermedia Duet PCIe, HVR-1250 PCIe
LG GGC-H20N Blu-ray / HDDVD ROM Drive, Visiontek HD 3650 512 MB Graphics (Cat 9.6)
Sound Blaster X-Fi XtremeGamer, Gyration Media Center Remote Control
HDD: 30GB OCZ Vertex SSD - OS, 1TB (2x500GB) - Recordings
GBPVR: 1.4.7, Plugins - SuperSimpleArchiver, GBPVRCLi/LCD Smartie for VFD, Music Plugin
tjc
Offline

Junior Member

Posts: 25
Threads: 10
Joined: Jan 2009
#6
2009-07-28, 12:54 AM
Your suggestion, sml42, did the trick, but only after I found the correct syntax for the command line. Seems the power scheme had to be in quotes or I received an "Invalid Parameter" error when that line was executed. Thanks for steering me in the right direction. I always learn new things when I take on new projects like this HTPC. Also, thank you sub for a great program.
sml42
Offline

Junior Member

Posts: 27
Threads: 6
Joined: Dec 2004
#7
2009-07-28, 12:25 PM
You´re welcome, sorry for not posting the correct syntax. :o
sml42
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Set Top Box Standby "press OK" to return to TV mrayle 8 6,853 2011-10-04, 05:17 PM
Last Post: zanders
  Standby pvrx2 issue Squid 0 1,278 2010-06-02, 05:08 PM
Last Post: Squid
  Black screen when resuming from standby... bobsmith 5 3,172 2010-04-03, 12:43 PM
Last Post: keith_leitch
  Waking up no longer working after standby? DrDDT 5 2,374 2010-02-02, 05:53 AM
Last Post: pBS
  Play Program → Standby → Resume → Crash Rene_1 9 3,050 2010-01-03, 09:58 AM
Last Post: Rene_1
  How to disable a tuner? liteswap 7 2,517 2009-11-05, 10:55 AM
Last Post: martint123
  Video sputters after standby wesmapes 0 1,069 2009-10-11, 04:02 PM
Last Post: wesmapes
  Main Menu Ribbon - Standby Button Babylon 3 1,713 2009-07-13, 08:57 AM
Last Post: serafis
  How to disable recording services nischwartz 3 1,747 2009-06-15, 05:01 AM
Last Post: nischwartz
  Transcode, Shutdown, Standby do nothing keith_leitch 22 6,873 2009-06-14, 01:17 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode