How to Configure Wake on Link Settings on Network Adapters in Windows 11 Using PowerShell

In modern enterprise desktop fleets, remote lab workstations, and home office setups running Windows 11, ensuring that systems enter and maintain sleep states reliably is essential for energy conservation, hardware lifespan, and acoustic quiet. While network administrators frequently rely on Wake-on-LAN (WoL) using directed Magic Packets to power on remote machines for overnight maintenance, physical network controllers also incorporate a hardware feature known as Wake on Link Settings (often labelled Wake on Link Change or Wake on Connect). If enabled, the physical layer (PHY) transceiver inside the Ethernet adapter triggers an ACPI power management wake event whenever the physical link changes state—such as when an Ethernet cable is plugged in, unplugged, or when an upstream network switch reboots. In Windows 11, configuring Wake on Link settings using PowerShell prevents midnight power disruptions while keeping desired administrative wake features intact.

Understanding Wake on Link Behaviour and Physical Layer State Changes

Modern Gigabit and Multi-Gigabit Ethernet controllers (such as Intel I210, I219, I225, I226, and Realtek PCIe GbE/2.5GbE families) maintain continuous auxiliary power (Vaux) even when the host operating system enters ACPI sleep states (S3/S4) or Modern Standby (S0 Low Power Idle). This allows the controller’s physical-layer transceivers to monitor physical cable carrier signals.

When Wake on Link is enabled, the network adapter monitors the presence of Ethernet link pulses. A wake interrupt is dispatched to the host CPU under three common physical conditions:

  • Link Up / Connection: An Ethernet cable is physically connected to the computer, or the remote switch port powers on.
  • Link Down / Disconnection: The network cable is unplugged, or the upstream router/switch powers off or reboots.
  • Link Speed Renegotiation: The upstream switch negotiates an energy-efficient link shift (e.g., dropping from 1000 Mbps to 100 Mbps during low activity).

In office buildings where network switches execute scheduled nightly firmware updates or power-saving port cycles at 2:00 AM or 3:00 AM, hundreds of sleeping desktop computers can wake up simultaneously due to momentary link drops. Disabling Wake on Link prevents these unintended power events while leaving Wake on Magic Packet fully operational.

Inspecting Physical Network Adapters in PowerShell

To inspect your wired networking hardware and identify current advanced adapter properties, open Windows PowerShell as an Administrator.

Query all physical network adapters active on the operating system:

Get-NetAdapter -Physical | Where-Object { $_.MediaType -eq "802.3" } | Select-Object Name, InterfaceDescription, LinkSpeed, Status

Identify the interface name representing your primary wired controller (typically designated as Ethernet).

Auditing Current Wake on Link Property Values

Hardware vendors expose link wake controls through advanced NDIS driver properties. Query the advanced properties of the target adapter using Get-NetAdapterAdvancedProperty:

Get-NetAdapterAdvancedProperty -Name "Ethernet" | Where-Object { $_.DisplayName -match "Wake on Link|Link State" -or $_.RegistryKeyword -match "WakeOnLink|WakeOnConnect" }

PowerShell outputs the active status and valid settings supported by the driver:

Name                      DisplayName                    DisplayValue ValidDisplayValues
----                      -----------                    ------------ ------------------
Ethernet                  Wake on Link Settings          Disabled     {Disabled, Forced, On Connect}

Depending on the chipset manufacturer, the display value may be configured as Forced, On Connect, or Enabled. If any value other than Disabled is active, physical link changes will trigger system wake-ups.

Disabling Wake on Link Settings Using PowerShell

To prevent network cable disconnections, router reboots, and switch maintenance from waking your Windows 11 PC, disable the property via Set-NetAdapterAdvancedProperty:

Set-NetAdapterAdvancedProperty -Name "Ethernet" -DisplayName "Wake on Link Settings" -DisplayValue "Disabled"

To ensure automated deployment across multi-vendor fleets where driver localized strings differ, target the standardized registry keyword directly:

Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword "*WakeOnLink" -RegistryValue "0"

The network adapter driver will reload its configuration table, momentarily resetting the physical link for one to two seconds.

Enabling Wake on Link for Automated Staging Environments

In specialised IT imaging benches, test labs, or rack-mounted server staging environments, administrators may intentionally want a machine to power on the instant an Ethernet cable is plugged into the chassis.

To configure the adapter to wake when a link connection is detected:

Set-NetAdapterAdvancedProperty -Name "Ethernet" -DisplayName "Wake on Link Settings" -DisplayValue "On Connect"

Or using the registry keyword parameter:

Set-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword "*WakeOnLink" -RegistryValue "1"

Verifying Supporting Power Management Configurations

Ensure that general device power management is properly configured to allow low-power sleep while preserving directed Magic Packet wake functionality:

Get-NetAdapterPowerManagement -Name "Ethernet" | Select-Object AllowComputerToTurnOffDevice, WakeOnMagicPacket, WakeOnPattern

If required, ensure Magic Packet remains enabled while general pattern matching is disabled:

Set-NetAdapterPowerManagement -Name "Ethernet" -WakeOnMagicPacket Enabled -WakeOnPattern Disabled

Auditing System Wake History with PowerCFG

To confirm that your Ethernet adapter is no longer waking Windows 11 during upstream network restarts, verify the last wake event after testing:

powercfg -lastwake

The wake source should confirm that the network controller is no longer generating unsolicited wake events, ensuring your systems remain reliably asleep until intentionally summoned.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.