I am experiencing a great deal of difficulty trying to make Wake On Lan (specifically Wake On Magic Packet) work as I expect it should.
Hopefully, someone can help enlighten me.
BTW, I already have two other related questions about this, but so far no satisfactory answers:
I am trying to programmatically turn on - Wake On Magic Packet on Windows computers (XP, Vista, Windows 7). To do so, I have been writing (or modifying code using vbscript).
I have discovered that the NIC GUI (Advanced TAB/Wake On Lan OR Wake On Magic packet ONLY) doesn't seem to have any affect on whether or not the workstation wakes.
In fact, it seems that the ONLY setting that has any influence on WOL is in the Workstation's BIOS. Assuming that WOL is activated in the BIOS (which is a prerequisit),
What I have observed:
NOTE: Assume WOL means Wake On Magic Packet Only.
All the following conditions were tested in Windows XP, Vista and on Dell
workstation and an IBM T500 laptop.
- If I turn off WOL in Windows and shut down
* Windows will still turn on when the WOL is sent to its MAC address
- In order for WOL to work (meaning Wake Up on WOL), the Windows workstation
must be turned off. Windows in sleep mode cannot be turned on with a WOL!
Huh? I didn't know this would affect WOL! But I tested this a number of times!
- Repeating myself... The NIC setting in Windows has ZERO affect on how WOL
The bottem line, my "in progress" code cannot hope to ever work if the above is true.
Thanks so much!