background preloader

Wake On LAN

Facebook Twitter

Script to enable Wake On Lan (windows) - Script Center. All About ‘EnablePME’ and wake-on-LAN issues on computers with Intel NIC’s. Hello everyone, Time for another blog post.

All About ‘EnablePME’ and wake-on-LAN issues on computers with Intel NIC’s

For quite some time, I’ve been having issues with wake-on-LAN and on Dell Optiplex 780 and Dell Optiplex 960 desktops at work. Basically, although Wake on LAN was enabled in the BIOS, and low power mode was disabled, I was still unable to wake the computer remotely. Up until now I’ve just ignored the issue and put it down to a hardware issue in a BIOS bug or similar, but finally I got fed up enough to motivate myself to investigate the issue.

All of the desktops and laptops at work run Windows 7 Enterprise Edition (x86) which is deployed as a sysprepped image with Symantec Ghost. To start with, I installed the Intel PROSet for Windows Device Manager extensions which are part of the Intel driver installed (this doesn’t get installed when you do a INF based driver installation either manually, or in my case through Sysprep). Once installed, I the PROSet extensions, I had at the properties of the NIC, specifically the ‘Power Management’ tab. Wake-On-Lan Unicast versus Broadcast - Chris Sloyan's Management Technologies Blog. One of the questions I get asked often about the use of WOL is whether customers should use Unicast or Broadcast.

Wake-On-Lan Unicast versus Broadcast - Chris Sloyan's Management Technologies Blog

While the benefits of unicast are documented frequently ( there are some limitations in some customer networks that can prevent unicast from working properly. Issue: When using system Center Configuration Manager 2007 and attempting to use Wake-On-Lan with Unicast, client machines may not get woken up due to the fact that they never receive the magic packet that the configuration manager creates. Cause: The most likely cause of this issue is due to the inability of the server or downstream router to resolve the IP address of the target machine to a MAC address. This is accomplished in one of three ways: 1) The local server ARP cache table already has the info. 2) The router between the server and the client has the info in cache. 3) The server will transmit an ARP request to the client for the information needed.

Consider the following examples: Example 1 Subnet A has an SCCM server. Choose Between Unicast and Subnet-Directed Broadcast for Wake On LAN. Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2 When choosing the transmission method of sending wake-up packets, you should consider the advantages and disadvantages of each method to best meet your business requirements.

Choose Between Unicast and Subnet-Directed Broadcast for Wake On LAN

The following table outlines the advantages and disadvantages of both methods to help you determine which transmission method to choose. For additional information, see Configuration Manager 2007 Information and Support. To contact the documentation team, email SMSdocs@microsoft.com. SCCM 2012: How to troubleshoot Wake on Lan functionality « mwesterink.

Wake on Lan (WoL) functionality is one the poorest documented features SCCM 2012 offers. Enabling WoL requires one checkbox (to enable it) and two radio buttons (to select the packet type and the protocol). Getting it to work though is rather challenging. Many people have written blogs to set up requirements (such as BIOS and OS settings and of course the network infrastructure) so these can be found at a lot of places on the internet. The biggest challenge is to determine which UDP port is used. The default value is 9 but very often this port is not used at all. To facilitate and test WoL functionality, it is recommended to install the SCCM Right Click Tools which includes wol.exe. wol.exe can be used to wake up machines by sending wake up packets to destination computers. If UDP port 9 is not used, then it becomes a guess to determine which UDP port is used instead.

Like this: Like Loading... Wake On LAN (WOL) functionality in ConfigMgr. In ConfigMgr 2007/2012 Wake On LAN (WOL) functionality is available. This can be used to schedule OS deployment, Software distribution and Patch management during non-working hours to wake-up devices. In ConfigMgr there are a few checkboxes which must be set to make it functional. In this blog I will describe which settings there are, and what else is needed on routers/switches. How to enable Wake on LAN on Network Interface Cards using SCCM 2012 Compliance, by Ben Fisher. Recently I’ve been working on a few System Center 2012 Configuration Manager implementations coupled with the design and deployment of Windows 7 SOE’s. These sorts of projects always present situations where you need to do something custom, like copy a file, enable or disable a feature or setting or turn something on or off.

I’ve always been more than capable of writing code whenever I’ve needed to accomplish something like this and traditionally I’ve headed straight towards writing a script or a custom exe (and even the odd service here and there), these have been my “go-to” solution. Recently, that’s started to change. These days I’ve started to see some significant advantages in using Compliance Configuration Items and Configuration Baselines instead of writing and executing scripts. Now, each time I start to think of a script to accomplish a task, I’m starting to ask myself “can I do this with in Compliance”? Enter a name, for mine I’ve used Enable Wake On LAN, click Next.

Click OK.