To enable Wake-on-LAN in Windows 11, turn on Wake on LAN in your PC’s BIOS/UEFI settings, then open Device Manager, go to your Ethernet adapter’s Properties, set Wake on Magic Packet to Enabled on the Advanced tab, and check Allow this device to wake the computer on the Power Management tab. Another device on your network can then wake the PC from sleep by sending it a “magic packet.”
These steps apply to Windows 11 versions 26H2, 25H2, and 24H2 on desktops and laptops with a wired Ethernet connection. Wake-on-LAN depends on your hardware, so the exact BIOS setting names and adapter options vary by manufacturer.
What Wake-on-LAN Does
A magic packet is a small network message that contains the target PC’s MAC address (the hardware address of its network adapter) repeated 16 times. While the PC sleeps, the Ethernet adapter stays powered just enough to listen for that message. When it sees its own address, it wakes the computer. Windows isn’t running at that moment, so the Windows firewall doesn’t need a rule for it. For waking a PC you are sitting in front of, a keypress is simpler, and these steps show how to wake Windows 11 from sleep with the keyboard.
Use a Wired Connection
- Use a wired connection. Wake-on-LAN works through an Ethernet adapter. Waking over Wi-Fi (sometimes called Wake on WLAN) is only supported on some laptops. USB Ethernet adapters often lose power during sleep, so use the PC’s built-in port or an internal network card if you can.
- Keep the PC plugged in. The network adapter needs a little power while the PC sleeps. Dell’s Wake-on-LAN guide says it doesn’t work on battery power on its computers, so a laptop should be on its charger.
- Know what it can wake from. Microsoft’s Wake on LAN support article says Windows supports waking from Sleep and from Hibernate when you choose Hibernate yourself. Waking a PC that’s shut down only works if the motherboard supports it, because Windows turns off network wake during a normal shutdown with Fast Startup on.
- Have an administrator account. Changing adapter settings in Device Manager needs administrator rights.
- Test from the same network. The sending device should be on the same home or office network as the PC you want to wake.
Step 1: Check Your PC’s Sleep Type
Some newer laptops use Modern Standby instead of traditional sleep. These PCs handle network wake differently, and the adapter’s wake options are often grayed out. For how each sleep type handles the network, see how to keep an internet connection active in sleep mode on Windows 11.
- Click Start, type cmd, and open Command Prompt.
- Type powercfg /a and press Enter.
- Look at the list of available sleep states. If you see Standby (S3), your PC uses traditional sleep and the steps below apply. If you see Standby (S0 Low Power Idle) Network Connected, your PC uses Modern Standby.

On a Modern Standby PC, check your laptop maker’s support site for Wake-on-LAN instructions for your model. Many of these laptops only support it when connected to a specific dock. Don’t change registry settings to force S3 sleep unless your PC maker tells you to, since that can cause sleep and battery problems. Sleep vs. hibernate in Windows 11 explains the different power states.
Step 2: Turn On Wake-on-LAN in the BIOS
- Save your work and restart the PC.
- As it starts, press the key that opens BIOS/UEFI setup. It’s usually F2, Delete, F10, or F12, and it often shows briefly on the startup screen. You can also go to Settings > System > Recovery, click Restart now next to Advanced startup, and choose Troubleshoot > Advanced options > UEFI Firmware Settings > Restart. Entering BIOS or UEFI settings has more options.
- Look for a setting named Wake on LAN, Power On by PCI-E, Resume by LAN, PME Event Wake Up, or something similar. It’s usually in a Power, Power Management, Advanced, or Onboard Devices section. On Dell business PCs, for example, it’s under System Management > Wake on LAN.
- Set it to Enabled (or LAN Only if that’s an option).
- If your BIOS has a Deep Sleep Control or ErP setting, turn it off. These features cut power to the network adapter and stop Wake-on-LAN from working.
- Save your changes and exit, usually with F10. The PC restarts into Windows. Let it reach the desktop once so the new setting takes effect.
Leave other BIOS settings as they are. If you can’t find any wake option, check your motherboard or PC manual; some models don’t support Wake-on-LAN at all.
Step 3: Set Up the Network Adapter in Device Manager
- Right-click the Start button and click Device Manager.
- Click the arrow next to Network adapters to expand it.
- Right-click your wired adapter (it usually has Ethernet, GbE, or Family Controller in the name) and click Properties.
- Click the Advanced tab.
- In the Property list, click Wake on Magic Packet and set Value to Enabled. If you see Shutdown Wake-On-Lan or Shutdown Wake Up, enable it too if you want to wake the PC from a shutdown.

- If the list has Energy-Efficient Ethernet or Green Ethernet, set it to Disabled. Dell recommends this because it can stop the adapter from listening while the PC sleeps.
- Leave Wake on Pattern Match off unless you need it. It lets ordinary network traffic wake the PC, which causes random wake-ups.
- Click the Power Management tab.
- Make sure Allow the computer to turn off this device to save power is checked. Intel’s setup steps require this setting, and on some adapters the wake options below stay grayed out without it.
- Check Allow this device to wake the computer.
- Check Only allow a magic packet to wake the computer. This stops other network traffic from waking the PC at random times.

- Click OK.
The option names on the Advanced tab come from the adapter’s driver. Intel’s own setting names are in its Wake-on-LAN setup article, and Realtek adapters use similar names. If the Power Management tab is missing, install the latest Ethernet driver from your PC or motherboard maker’s support site. If a driver update removes the wake options, open the Driver tab and click Roll Back Driver if it’s available.
Step 4: Find the PC’s MAC Address
The magic packet is addressed to your network adapter’s MAC address, so you need to write it down.
- Open Command Prompt.
- Type ipconfig /all and press Enter.
- Find the section for your Ethernet adapter (not Wi-Fi).
- Write down the Physical Address, such as A4-BB-6D-12-34-56, and the IPv4 Address.
Step 5: Test It
Test from sleep first. It’s the state Windows supports best, so if sleep works and shutdown doesn’t, you know the setup is right and the limit is your hardware.
- On the PC you set up, click Start > Power > Sleep.
- On a second device on the same network, open a Wake-on-LAN tool and enter the MAC address from Step 4. Many routers have one in their admin page, often under a name like Wake on LAN or WOL in the device list, and Wake-on-LAN apps are available for phones.
- Send the magic packet. The PC should wake up within a few seconds and show the sign-in screen.
If you have another Windows PC, you can send a magic packet from PowerShell without installing anything. Open Windows PowerShell on that PC, replace the MAC address with yours, and paste this single line:
$mac='A4-BB-6D-12-34-56'; $b=[byte[]]($mac -split '[-:]' | ForEach-Object {[Convert]::ToByte($_,16)}); [byte[]]$p=(,0xFF*6)+($b*16); $c=New-Object System.Net.Sockets.UdpClient; $c.Connect([System.Net.IPAddress]::Broadcast,9); [void]$c.Send($p,$p.Length); $c.Close()
It sends the packet to every device on your local network on UDP port 9, the port most Wake-on-LAN tools use. Only the adapter with the matching MAC address responds.
Keep Wake-on-LAN on Your Home Network
Don’t set up port forwarding on your router to send Wake-on-LAN traffic in from the internet. Magic packets have no password, so anyone who can reach that port can wake your PC, and an open port makes your network easier to probe. If you need to wake the PC while you’re away, connect to your home network through a VPN built into your router first, then send the packet as if you were at home.
If your goal is to use the PC remotely after it wakes, the steps for setting up a computer for remote access and turning on Remote Desktop in Windows 11 cover the options.
If the PC Doesn’t Wake Up
- It works from sleep but not from shutdown. That’s how Windows is designed. To try waking from shutdown, enable the shutdown wake option in both the BIOS and the adapter’s Advanced tab, then turn off Fast Startup: open Control Panel > Power Options > Choose what the power buttons do, click Change settings that are currently unavailable, clear Turn on fast startup (recommended), and click Save changes. Microsoft doesn’t recommend turning Fast Startup off in general, so only do it if you need wake from shutdown, and whether it works then depends on your motherboard. Disabling Fast Startup in Windows 11 explains the trade-off.
- The options are grayed out. The PC probably uses Modern Standby. See Step 1.
- Check the MAC address. Make sure you used the Ethernet adapter’s address, not the Wi-Fi adapter’s.
- Check the network. Both devices need to be on the same network. A magic packet sent as a broadcast doesn’t cross from one network to another, so a guest Wi-Fi network or a second router in between will block it.
- Look at the adapter lights. If the lights on the Ethernet port go dark while the PC sleeps, the adapter has no power. Check the BIOS for a deep sleep or ErP setting. If the lights flicker or the connection drops, try a different cable or router port.
- See what’s allowed to wake the PC. Run powercfg /devicequery wake_armed in Command Prompt. Your Ethernet adapter should be on the list. powercfg /devicequery wake_programmable lists every device that can be set to wake the PC. After a wake, powercfg /lastwake shows what woke it. Microsoft’s powercfg reference explains each option.
Wake-on-LAN Questions
Does Wake-on-LAN work over Wi-Fi?
Usually not. Wake-on-LAN is designed for wired Ethernet. Some laptops support waking over Wi-Fi, but only if the manufacturer built it in, and it often only works from sleep.
Does Wake-on-LAN use a lot of power?
No. The network adapter stays on in a low-power state so it can listen for the magic packet. The difference is small, though a laptop running on battery will drain a little faster.
My PC keeps waking up on its own after I set this up. How do I stop it?
Make sure Only allow a magic packet to wake the computer is checked on the adapter’s Power Management tab and Wake on Pattern Match is off on the Advanced tab. Then run powercfg /lastwake after the next unexpected wake to see what caused it.
Do I need to open a port in Windows Firewall?
No. The network adapter handles the magic packet while Windows is asleep, before the firewall is running. You don’t need a firewall rule or a router port for waking a PC on your own network.
How do I turn Wake-on-LAN off?
In Device Manager, open the Ethernet adapter’s Properties, clear Allow this device to wake the computer on the Power Management tab, and click OK. You can also run powercfg /devicedisablewake “adapter name” in an administrator Command Prompt, using the name shown by powercfg /devicequery wake_armed, or disable the setting in the BIOS.

Matthew Burleigh is the founder, head writer, and editor of Solve Your Tech, which he launched in 2012. He has written technology tutorials since 2008 and worked in IT since 2003, including small-business support, IT management, and consulting. He holds Bachelor’s and Master’s degrees in Computer Science from Arizona State University.
Matthew writes practical guides for Windows, iPhone and iPad, Microsoft Office, Outlook, Google apps, and Android. Solve Your Tech’s guides are checked step by step against the device or app maker’s own documentation and tested on his own devices whenever he has the hardware or software, with clear steps, sources, and update dates.
Read more about Matthew and how Solve Your Tech writes and updates its guides, or report a correction.