We help IT Professionals succeed at work.
Get Started

Wake On Lan does not behave as I would expect.

710 Views
Last Modified: 2013-11-09
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:
https://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_24776433.html#firstComment
https://www.experts-exchange.com/Hardware/Networking_Hardware/Q_24767975.html#a25463806

The goal:
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).

The Problem:
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
  behaves.

The bottem line, my "in progress" code cannot hope to ever work if the above is true.

Any thoughts?

Thanks so much!
 
Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE