/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


How to deploy Windows settings for Wake On Lan

03/23/2020 986 views

I've got software distribution working for deploying Dell Command Configure, and a script to import the BIOS changes to turn on WoL.

I'm stumped on how to push the Win10 config:

Driver Settings

Back in Windows, you have to set up Wake on LAN in your Network Card Driver. Please follow these steps to do so:

  • Open the Device Manager. In Windows 10 you can simply right-click the Windows Button and choose Device Manager.
  • Navigate to Network adapters and open the category.
  • Rightclick your LAN Controller and choose Properties.
  • Open the tab Power Management.
  • Ensure that the following boxes are checked: Allow this device to wake the computer, Only allow a magic packet to wake the computer.
  • Now open the advanced tab and choose Energy Efficient Ethernet.
    Note: This option is not available for all system models.
  • Set this option to disabled.
  • Click OK and close the Device Manager.
  • Navigate to Control Panel then Hardware and SoundPower Options and System Settings.
    • At the top click on Change settings that are currently unavailable.
    • At the bottom uncheck Turn on fast startup.
    • Click on save changes.
0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

1

Our solution is Dell-Specific. If you don't have Dell workstations, you'll need to find compatible tools from your manufacturer.
1. Create a software distribution package to install Dell Command | Configure version compatible with the system model (used smart labels for model collection)
2. Create a script to apply BIOS settings exported from a working installation of Dell Command | Configure (https://www.dell.com/support/manuals/co/es/codhs1/command-configure-v4.2/dcc_cli_4.2/-wakeonlan?guid=guid-845718ce-1fd5-414a-8047-158377dd02f3&lang=en-us, also see https://downloads.dell.com/solutions/general-solution-resources/White%20Papers/Remote%20Wake-up%20configuration%20using%20Dell%20Client%20Command%20Suite.pdf)
3. Create a script to run against all models, to change the Windows settings (wake on lan for the NIC, power settings). We had to alter this script a little to make it work in our environment: https://gallery.technet.microsoft.com/Enable-Wake-On-LAN-583918b9

Ideally this would be 1 or 2 jobs, not 3, and not specific to each device group but I have limited resources for testing while working from home (thanks Coronavirus!)

Answered 03/25/2020 by: ljg_gencode
Senior White Belt

  • Thanks, we have all Dell! I will give this a try.

All Answers

0

I'm not sure I fully understand what you are asking, but wake on lan depends on the setting being enabled in the bios, so Dells CCTK.exe (I think) can set the BIOS setting. To distribute the "settings" you will need to create a script to use the CCTK command with the correct settings.

Check this link from DELL for more information

Answered 03/24/2020 by: Hobbsy
Red Belt

  • I already have a software distribution package pushing the Dell Command Configure utility, and a script to import the CCTK config. I'm trying to script the WINDOWS settings via script (https://gallery.technet.microsoft.com/scriptcenter/Send-WOL-packet-using-0638be7b) but it requires administrative privileges. Anyone help?
  • Do sleep states like S4 or S5 also need to be disabled in the BIOS for this to work. We were doing some testing today on a PC and that seemed like it might have been needed.
    • Yes if a PC has deepsleepctrl options, they need to be set also (via CCTK). For those workstations, I'm scripting the following CCTK commands:
      1. blocksleep-enable
      2. wakeonlan=lanonly
      3. deepsleepctrl=disable
      • Can you please share the script/link you use to import the BIOS changes to turn on WoL. Thanks
      • @snowday
        Our solution is Dell-Specific. If you don't have Dell workstations, you'll need to find compatible tools from your manufacturer.
        1. Create a software distribution package to install Dell Command | Configure version compatible with the system model (used smart labels for model collection)
        2. Create a script to apply BIOS settings exported from a working installation of Dell Command | Configure (https://www.dell.com/support/manuals/co/es/codhs1/command-configure-v4.2/dcc_cli_4.2/-wakeonlan?guid=guid-845718ce-1fd5-414a-8047-158377dd02f3&lang=en-us, also see https://downloads.dell.com/solutions/general-solution-resources/White%20Papers/Remote%20Wake-up%20configuration%20using%20Dell%20Client%20Command%20Suite.pdf)
        3. Create a script to run against all models, to change the Windows settings (wake on lan for the NIC, power settings). We had to alter this script a little to make it work in our environment: https://gallery.technet.microsoft.com/Enable-Wake-On-LAN-583918b9

        Ideally this would be 1 or 2 jobs, not 3, and not specific to each device group but I have limited resources for testing while working from home (thanks Coronavirus!)
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ