Hibernation problem

Started by Ray, Jan 30, 2009, 11:16:24

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ray

I usually put my machines into hibernation so that my Home Server can wake them up at 06:00 in the morning when it comes out of hibernation to run the backups on my client PCs.

The problem is one of my client PCs wakes itself up between 01:00 and 04:00 for no apparent reason and this in turn wakes up the server, it's not the server that's waking the machine up as if I shut down the problem PC the server doesn't wake up until the time it should.

I've checked everything I can think of on the PC and can find no reason why it should be waking up in the middle of the night any suggestions please.  ???
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Glenn

#1
Is the clock set correctly?
Glenn
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Rik

The only thing I can think of, Ray, is that a power surge is triggering it to wake up. Do you have Economy 7?
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Simon

Simon.
--
This post reflects my own views, opinions and experience, not those of IDNet.

Glenn

Maybe one of the dogs are going on dating sites at night ;D
Glenn
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: Rik on Jan 30, 2009, 11:19:23
The only thing I can think of, Ray, is that a power surge is triggering it to wake up. Do you have Economy 7?

Yes I do, Rik, although the machine is running off a UPS.
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Yes clock and time zone are correct in the OS and the BIOS.
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Rik

Quote from: Sheltieuk on Jan 30, 2009, 11:21:39
Yes I do, Rik, although the machine is running off a UPS.

Do you know what time your Economy 7 switches, Ray?
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Glenn

Are auto updates turned on?
Glenn
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Steve

Does this command work in XP powercfg lastwake ?
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: Glenn on Jan 30, 2009, 11:26:32
Are auto updates turned on?

They are, Glenn, but they are set to be done at 13:00 every day.
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Glenn

Delete and recreate the hibernate.sys file?
Glenn
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Glenn

Quote from: Sheltieuk on Jan 30, 2009, 11:29:19
They are, Glenn, but they are set to be done at 13:00 every day.

Is your clock set to 12 or 24hr, if 12hr is it running correct for the time of day, i.e. 11.30am?
Glenn
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: stevethegas on Jan 30, 2009, 11:28:13
Does this command work in XP powercfg lastwake ?

Doesn't look like it, Steve, it's not listed as an available command and throws up an error  about incorrect parameter when you enter it.
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

David

QuoteMaybe one of the dogs are going on dating sites at night
:rofl:

I apologise for giggling  ;D


Hope you sort it Ray



Blame Glenn not me I only read it  ;D
Many hammer all over the wall and believe that with each blow they hit the nail on the head.

Ray

Clock is set to 24 hour, Glenn, and I tried recreating hiberfile.sys yesterday.
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Glenn

Glenn
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Rik

Quote from: stevethegas on Jan 30, 2009, 11:28:13
Does this command work in XP powercfg lastwake ?

Apparently not, Steve.

powercfg /?

POWERCFG [/list | /QUERY [name] | /CREATE name | /DELETE name |
      /SETACTIVE name | /CHANGE name settings |
      /HIBERNATE {ON|OFF} | /EXPORT name [/FILE filename] |
      /IMPORT name [/FILE filename] | /GLOBALPOWERFLAG {ON|OFF} /OPTION flag |
      /BATTERYALARM {LOW|CRITICAL} [settings] |
      /DEVICEQUERY queryflags | /DEVICEENABLEWAKE devicename |
      /DEVICEDISABLEWAKE devicename | /?]

Description:
   This command line tool enables an administrator to control
   the power settings on a system.

Parameter List:
   /LIST, /L       Lists the names of existing power schemes.
   /QUERY, /Q      Displays the configuration of the specified power scheme.
                   If no name is specified, the configuration of the currently
                   active power scheme is displayed.
   /CREATE, /C     Creates a power scheme with the specified name.  The new
                   scheme is created with the properties of the currently
                   active scheme.
   /DELETE, /D     Deletes the power scheme with the specified name.
   /SETACTIVE, /S  Makes the power scheme with the specified name active.
   /CHANGE, /X     Changes settings of the specified power scheme. Additional
                   switches specify the changes as follows:
                       /monitor-timeout-ac <minutes>
                       /monitor-timeout-dc <minutes>
                       /disk-timeout-ac <minutes>
                       /disk-timeout-dc <minutes>
                       /standby-timeout-ac <minutes>
                       /standby-timeout-dc <minutes>
                       /hibernate-timeout-ac <minutes>
                       /hibernate-timeout-dc <minutes>
                       /processor-throttle-ac <throttle>
                       /processor-throttle-dc <throttle>
                   AC settings are used when the system is on AC power.
                   DC settings are used when the system is on battery power.
                   Setting a timeout to zero will disable the corresponding
                   timeout feature.  Supported throttle settings are NONE
                   CONSTANT, DEGRADE, and ADAPTIVE.
   /EXPORT, /E     Exports the power scheme with the specified name to a
                   file.  If no filename is specified, the default is
                   SCHEME.POW.  This additional parameter is supported:
                       /FILE <filename>
   /IMPORT, /I     Imports the power scheme from a file under the specified
                   name.  If no filename is specified, the default is
                   SCHEME.POW.  If a scheme with that name already exists, it
                   is replaced with the new one.  This additional parameter
                   is supported:
                       /FILE <filename>
   /HIBERNATE, /H {ON|OFF}  Enables/Disables the hibernate feature.  Hibernate
                   timeout is not supported on all systems.
   /NUMERICAL, /N  Allows the power scheme to be operated upon to be specified
                   using a numerical identifier.  When using this switch, in
                   place of the name of the power scheme on the command line,
                   specify its numerical identifier.  This switch may be used
                   in combination with the /QUERY, /DELETE, /SETACTIVE,
                   /CHANGE, /EXPORT, and /IMPORT commands.
   /GLOBALPOWERFLAG, /G {ON|OFF}  Turns one of the global power flags on/off.
                   Valid flags (to be used after "/OPTION ") are:
                        BATTERYICON:    Turns the battery meter icon in the
                                        system tray on/off.
                        MULTIBATTERY:   Turns on/off multiple battery display
                                        in system Power Meter.
                        RESUMEPASSWORD: Prompt for password on resuming the
                                        system.
                        WAKEONRING:     Turn on/off wake on ring support.
                        VIDEODIM:       Turn on/off support for dimming video
                                        display on battery power.
   /AVAILABLESLEEPSTATES, /A  Reports the sleep states available on the
                   system.  Attempts to report reasons why sleep states are
                   unavailable.
   /BATTERYALARM, /B {LOW|CRITICAL}  Configures the battery alarm.  The
                   following switches can be specified:
                       /activate <on|off>
                           Enables or disables the alarm.
                       /level <percentage (0 - 100)>
                           The alarm will be activated when the power level
                           reaches this percentage.
                       /text <on|off>
                           Turns the text notification on or off.
                       /sound <on|off>
                           Turns the audible notification on or off.
                       /action <none|shutdown|hibernate|standby>
                           Specifies the action to take when this alarm goes
                           off.  Not all actions are always available.
                       /forceaction <on|off>
                           Force stand by or shutdown even if a program stops
                           responding.
                       /program <on|off>
                           Specifies a program to run.  schtasks.exe /change
                          may be used to configure the program.
   /DEVICEQUERY <queryflags> will return a list of devices that meet the
                   criteria specified in <queryflags>.  Possible values
                   for <queryflags> are:
                   wake_from_S1_supported - return all devices that support
                            waking the system from a light sleep state.
                   wake_from_S2_supported - return all devices that support
                            waking the system from a deeper sleep state.
                   wake_from_S3_supported - return all devices that support
                            waking from the deepest sleep state.
                   wake_from_any - return all devices that support waking
                            from any sleep state.
                   S1_supported - list devices supporting light sleep states.
                   S2_supported - list devices supporting deeper sleep.
                   S3_supported - list devices supporting deepest sleep.
                   S4_supported - list devices supporting system hibernation.
                   wake_programmable - list devices that are user-configurable
                            to wake the system from a sleep state.
                   wake_armed - list devices that are currently configured to
                            wake the system from any sleep state.
                   all_devices - return all devices present in the system.
                   all_devices_verbose - return verbose list of devices.
   /DEVICEENABLEWAKE <devicename> enable the device to wake the system from a
                   sleep state. <devicename> is a device retrieved using
                   the '/DEVICEQUERY wake_programmable' parameter.
   /DEVICEDISABLEWAKE <devicename> disable the device from waking the system
                   from a sleep state. <devicename> is a device retrieved
                   using the '/DEVICEQUERY wake_armed' parameter.
   /HELP, /?       Displays information on command-line parameters.

Examples:
   POWERCFG /LIST
   POWERCFG /QUERY scheme
   POWERCFG /QUERY
   POWERCFG /CREATE scheme
   POWERCFG /DELETE scheme
   POWERCFG /SETACTIVE scheme
   POWERCFG /CHANGE scheme /monitor-timeout-dc 15
   POWERCFG /CHANGE scheme /monitor-timeout-dc 0
   POWERCFG /HIBERNATE on
   POWERCFG /EXPORT scheme /file file
   POWERCFG /QUERY number /NUMERICAL
   POWERCFG /GLOBALPOWERFLAG on /OPTION BATTERYICON
   POWERCFG /AVAILABLESLEEPSTATES
   POWERCFG /BATTERYALARM low
   POWERCFG /BATTERYALARM critical /ACTIVATE on /LEVEL 6 /ACTION hibernate
   POWERCFG /DEVICEQUERY wake_armed
   POWERCFG /DEVICEENABLEWAKE "Microsoft USB IntelliMouse Explorer"
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Steve

I presume WOL is off on the client as you don't need that for magic packets from the WHS
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Steve

Its a Vista parameter looks like its not available in xp
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: stevethegas on Jan 30, 2009, 11:40:49
I presume WOL is off on the client as you don't need that for magic packets from the WHS

It is set to "wake on magic packet", Steve, I'll try it with that turned off and see what happens tonight.  :thumb:
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Steve

But that's how its supposed to be setup,if magic packets are off the WHS won't be able to wake it up for back up,not that's an issue as its awake already ;D Anything else in the house that communicates with that PC? It could be something as simple as the USB mouse.
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Rik

Quote from: Sheltieuk on Jan 30, 2009, 11:46:52
It is set to "wake on magic packet"

You shouldn't let the fairies send packets, Ray. ;D
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Glenn

They use to mushroom Rik
Glenn
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: stevethegas on Jan 30, 2009, 11:51:53
But that's how its supposed to be setup,if magic packets are off the WHS won't be able to wake it up for back up,not that's an issue as its awake already ;D Anything else in the house that communicates with that PC? It could be something as simple as the USB mouse.

Right, Steve, I'll forget that theory then  ;D , the only other things connect are a wireless keyboard and mouse, a usb graphics tablet, a usb monitoring connection to the UPS and 2 external usb disks that are normally switched off when the PC is not in use.
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: Rik on Jan 30, 2009, 11:52:30
You shouldn't let the fairies send packets, Ray. ;D

:grn:  ;D
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Rik

Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Glenn

Glenn
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Steve

The other point, if I turn a client PC on the homeserver stays asleep until I wake it via the FSC wake up software or turn on a Squeezebox. (both by magic packets) My issue usually relates to getting them to sleep again once woke for which I use TOff. Have you tried lights out addin for the WHS, never used it or know whether it will add extra functionality but your server I think should still stay asleep even if another PC in the house is turned on.
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: stevethegas on Jan 30, 2009, 13:40:22
The other point, if I turn a client PC on the homeserver stays asleep until I wake it via the FSC wake up software or turn on a Squeezebox. (both by magic packets) My issue usually relates to getting them to sleep again once woke for which I use TOff. Have you tried lights out addin for the WHS, never used it or know whether it will add extra functionality but your server I think should still stay asleep even if another PC in the house is turned on.

Yes I use Lightsout on the Server, Steve, I use the calendar function on it to wake the server in the morning and hibernate it late evening, the server will stay asleep with this if you disable client monitoring otherwise it will wake the server if it detects a client coming online. I use Asoft Autoexit if I want to wake or hibernate any of my clients remotely from the server console.
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Steve

Doesn't  asoft autoexit require WOL (may be wrong) last time I uninstalled that I had to rebuild the server. Nothing in scheduled tasks on that client PC or AV update? Its difficult ,I never did solve the problem of getting certain client PCs to sleep after backup that's why I ended up using TOff on the clients. I backup at night usually so the server wakes them up and then either they sleep automatically or TOff  sorts em out.
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Sebby

Ray, I would check your scheduled tasks and see if any of them are set to wake the computer from hibernation.

Ray

Quote from: stevethegas on Jan 30, 2009, 14:04:01
Doesn't  asoft autoexit require WOL (may be wrong) last time I uninstalled that I had to rebuild the server. Nothing in scheduled tasks on that client PC or AV update? Its difficult ,I never did solve the problem of getting certain client PCs to sleep after backup that's why I ended up using TOff on the clients. I backup at night usually so the server wakes them up and then either they sleep automatically or TOff  sorts em out.

Looks like it does use, WOL, Steve, I think I'll give TOff a try I'd not heard of this one before.

I've checked all my scheduled tasks and none are set to run outside of normal hours.

I thought I'd found it when I upgraded to PD10 the other day because that seems to set itself by default to wake from hibernation if you use Autopilot but disabling wake up on that didn't cure the problem either.
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Steve

If you try TOff I use the batch file option to keep the same settings
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Steve

Couple of things @wegotserved. 1 is to disable a couple of the NIC options and the other is a piece of software to check magic packet is working

http://forum.wegotserved.co.uk/index.php?showtopic=2657 #8

http://forum.wegotserved.co.uk/index.php?showtopic=3052 #2
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Ray

I think I've solved the problem of my insomniac PC after running the following command line "powercfg /devicequery wake_armed" I found that the wireless usb keyboard and mouse were set to bring the PC out of standby as well as the NIC. I disabled the wake up option on the mouse and the keyboard which seems to have cured the problem as the machine didn't wake up this morning until the Server woke it to do the backup.  :thumb:
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Steve

Congratulating you on solving the problem,I suppose the more likely of the 2 will be the mouse, I was only thinking how you might wake that machine again from sleep manually, keyboard or powerbutton, are they possible options
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: stevethegas on Feb 01, 2009, 09:10:37
Congratulating you on solving the problem,I suppose the more likely of the 2 will be the mouse, I was only thinking how you might wake that machine again from sleep manually, keyboard or powerbutton, are they possible options

Thanks, Steve,  yes the power button works to wake it manually which is the way I normally do it, I've never bothered to use the keyboard option.
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Steve

I suppose mice are nocturnal animals ,no wonder the poor PC cant stay asleep :blush:
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: stevethegas on Feb 01, 2009, 09:39:37
I suppose mice are nocturnal animals ,no wonder the poor PC cant stay asleep :blush:

this is true, Steve, might also explain the crumbs of cheese on my desk as well.  ;D
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Lance

I find its the droppings which cause more of a problem!

I take it you looked though the event logs to check there were no entries in there about why the pc was waking up?
Lance
_____

This post reflects my own views, opinions and experience, not those of IDNet.

Rik

Quote from: Lance on Feb 01, 2009, 10:21:21
I find its the droppings which cause more of a problem!

;D

QuoteI take it you looked though the event logs to check there were no entries in there about why the pc was waking up?

It was the fairies...  :o
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: Lance on Feb 01, 2009, 10:21:21
I find its the droppings which cause more of a problem!

I take it you looked though the event logs to check there were no entries in there about why the pc was waking up?

No nothing that I could see, Lance this is the first entry I was getting in the System log when it started and anything in the Application log was timed after this.


[attachment deleted by admin]
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Sebby

Glad you found the cause, Steve. :)

Ray

As a follow up to this problem which started to recur a few days after I thought I'd solved it. I have now finally nailed down the cause it seems that it was my AV/Firewall software causing the problem, the PC in question was running Kaspersky Security Suite however I changed over to Eset Security Suite  2 or 3 days ago, since doing so the problem has disappeared and the PC doesn't wake up until woken by the Server to run a backup.  :thumb:
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Glenn

Glenn
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Simon

Perhaps Kaspersky was using Russian time?  ;D
Simon.
--
This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: Simon on Feb 22, 2009, 09:50:04
Perhaps Kaspersky was using Russian time?  ;D

Could be, Simon.  ;D
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Steve

Its odd I use KIS on 3 machines and it doesn't wake those up.That's the trouble with PCs nothing is ever straightforward.
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Rik

No good rushing anything these days. :)
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: stevethegas on Feb 22, 2009, 10:02:56
Its odd I use KIS on 3 machines and it doesn't wake those up.That's the trouble with PCs nothing is ever straightforward.

I know it's strange, Steve, I've got KIS on another machine and it doesn't wake that one up either. :-\
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Rik

Too many permutations in a Windows box, Ray. It's always been a problem. :(
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Ray

Quote from: Rik on Feb 22, 2009, 11:02:42
Too many permutations in a Windows box, Ray. It's always been a problem. :(

True, Rik, I suspect it's possibly to do with the NIC in this machine which an Intel Pro PCI card the other machine is using the onboard NIC which is a Marvel Yukon.  :-\
Ray
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Rik

More than likely, Ray. I know that, when I was with Adobe, we found the interaction between video drivers and printer drivers created havoc for us, and the possible permutations of those were almost infinite.
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Steve

#57
Once WHS will backup a mac I'll buy one,its not far off! HP have some software for their latest server.At least with Apple I would hope these silly issues would not exist

Edit: Its already been done http://www.multimedia-pcs.com/how-to-use-time-machine-with-a-windows-home-server/

Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Glenn

You could take a look at the hackintosh or Kalyway projects, buying a Leopard OS 10.5.2 license to legalise it
Glenn
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Sebby

Time to get a Mac, Steve. >:D

Steve

I need this laptop to die,its 2 and half years old. One sticky key and a dead battery nearly there but not quite.Oops dropped it :evil:
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

Rik

We can always help, Steve. ;D
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Sebby

Quote from: stevethegas on Feb 22, 2009, 12:24:43
I need this laptop to die,its 2 and half years old. One sticky key and a dead battery nearly there but not quite.Oops dropped it :evil:

:rofl: