Want to power on your PC remotely without getting up? Wake-on-LAN (WoL) lets you wake your computer from sleep, hibernate, or even complete shutdown using a special network packet sent from your phone. In this comprehensive guide, we'll show you exactly how to set up Wake-on-LAN with Any Command and troubleshoot common issues.
Quick Answer: Enable Wake-on-LAN in your PC's BIOS/UEFI, configure your network adapter in Windows, get your MAC address, and use Any Command's Wake-on-LAN feature to wake your PC from your Android phone. For best results, use Ethernet instead of WiFi.
What is Wake-on-LAN?
Wake-on-LAN is a networking standard that allows a computer to be turned on remotely by a network message. The magic packet contains the target computer's MAC address and is broadcast over the local network. When the network adapter receives this packet, it signals the motherboard to power on the computer.
This technology is perfect for:
- Energy Savings: Keep your PC off when not in use, then wake it only when needed
- Remote Access: Access your files or applications from anywhere on your network
- Convenience: No need to walk to your PC to turn it on
- Home Theater PCs: Wake your HTPC from the couch to start streaming
- Scheduled Tasks: Automatically wake your PC for backups or updates
Requirements for Wake-on-LAN
Before setting up Wake-on-LAN, ensure your hardware supports it:
- Motherboard: Must support WoL (most modern motherboards do)
- Network Adapter: Needs WoL support (most Ethernet adapters support it)
- Connection Type: Ethernet is highly recommended (WiFi WoL is unreliable)
- BIOS/UEFI: Must have WoL enabled in firmware settings
- Power Supply: PC must be connected to power (even when "off")
Important: Wake-on-LAN works best with Ethernet connections. While some WiFi adapters support WoL, it's unreliable and often doesn't work after complete shutdown. For consistent results, use a wired Ethernet connection.
Step-by-Step Setup Guide
Step 1: Enable Wake-on-LAN in BIOS/UEFI
The first step is to enable Wake-on-LAN in your computer's BIOS or UEFI firmware. This setting varies by manufacturer, but the process is similar:
Accessing BIOS/UEFI:
- Restart your computer
- Press the BIOS key during startup (common keys: F2, F10, F12, Delete, or Esc)
- Look for "Power Management" or "Advanced" settings
- Find "Wake on LAN", "Wake on PCI-E", "Power on by PCI-E", or "Resume on LAN"
- Enable this option
- Save and exit BIOS
Common BIOS/UEFI Settings:
- ASUS: Advanced → APM Configuration → Power On By PCI-E
- MSI: Advanced → Wake Up Event → Resume By PCI-E Device
- Gigabyte: Power Management → Wake on LAN → Enabled
- ASRock: Advanced → ACPI Configuration → PCIE Devices Power On
- Dell: Power Management → Wake on LAN → Enabled
- HP: Advanced → Power Management Options → Wake on LAN
Step 2: Configure Windows Network Adapter
After enabling WoL in BIOS, you need to configure Windows to allow the network adapter to wake the computer:
Windows Network Adapter Configuration:
- Right-click the Start button and select "Device Manager"
- Expand "Network adapters"
- Right-click your Ethernet adapter and select "Properties"
- Go to the "Power Management" tab
- Check "Allow this device to wake the computer"
- Check "Only allow a magic packet to wake the computer" (recommended for security)
- Go to the "Advanced" tab
- Find "Wake on Magic Packet" and set it to "Enabled"
- Find "Wake on Pattern Match" and set it to "Enabled" (if available)
- Click "OK" to save
Step 3: Find Your PC's MAC Address
You'll need your PC's MAC address to send the Wake-on-LAN packet. Here's how to find it:
Finding MAC Address:
- Open Command Prompt (Win + R, type "cmd", press Enter)
- Type:
ipconfig /alland press Enter - Find your Ethernet adapter (not WiFi)
- Look for "Physical Address" - this is your MAC address
- It will look like:
00-1A-2B-3C-4D-5Eor00:1A:2B:3C:4D:5E - Copy this address (you'll need it for the app)
Alternative Method: In Any Command server settings, your MAC address is displayed on the main screen for easy access.
Step 4: Configure Router (If Needed)
Most modern routers don't need special configuration for local Wake-on-LAN. However, if you're trying to wake your PC from outside your local network, you'll need to:
- Set up port forwarding for UDP port 7 or 9
- Configure your router to forward WoL packets to your PC's IP address
- Use your router's public IP address instead of local IP
Security Note: Exposing Wake-on-LAN to the internet can be a security risk. Only do this if you understand the implications and have proper firewall rules in place.
Step 5: Use Wake-on-LAN in Any Command
Once everything is configured, using Wake-on-LAN in Any Command is simple:
Waking Your PC:
- Open Any Command app on your Android phone
- Tap "Wake-on-LAN" from the main menu
- Enter your PC's MAC address (or select from saved devices)
- Tap "Wake Up"
- Wait 30-60 seconds for your PC to boot
- Connect normally once your PC is awake
Saving Devices for Quick Access
After first successful wake, you can save your PC for quick access:
- Tap "Save Device" after waking
- Enter a name (e.g., "Home PC", "Gaming Rig")
- Device saved for instant wake in the future
- Tap saved device to wake instantly
Advanced Features
Scheduled Wake
Set up automatic wake times for your PC:
- Wake your PC at specific times (e.g., 8 AM for work)
- Schedule wake for automated backups
- Set multiple wake times per day
- Perfect for home automation
Wake Groups
Wake multiple PCs simultaneously:
- Group multiple devices together
- Wake all devices in a group with one tap
- Useful for home labs or offices
- Save time managing multiple systems
Wake History
Track your Wake-on-LAN usage:
- View past wake attempts
- See successful and failed wake attempts
- Monitor wake times and patterns
- Helpful for troubleshooting
Common Use Cases
Energy-Efficient Computing
Keep your PC off when not in use, then wake it only when needed. This saves electricity and reduces your carbon footprint while giving you instant access when required.
Home Theater PC (HTPC)
Wake your media center PC from the couch to start streaming movies or music. No need to walk to your PC to turn it on.
Remote File Access
Access files on your sleeping PC remotely. Wake it up, access your files, then let it sleep again when done.
Scheduled Tasks
Combine Wake-on-LAN with Windows Task Scheduler to:
- Run automated backups
- Perform system updates
- Execute maintenance scripts
- Download large files during off-peak hours
Troubleshooting Wake-on-LAN
PC Doesn't Wake from Sleep
If your PC wakes from sleep but not from shutdown:
- Check "Allow this device to wake the computer" in Device Manager
- Enable "Wake on Magic Packet" in adapter properties
- Verify BIOS settings are enabled
- Try using Ethernet instead of WiFi
PC Doesn't Wake from Shutdown
If your PC won't wake from complete shutdown:
- Verify BIOS/UEFI WoL is enabled
- Check that your power supply is connected (PC needs power even when "off")
- Some motherboards require "Fast Boot" to be disabled
- Ensure you're using Ethernet, not WiFi
- Check if your motherboard fully supports WoL from shutdown
Wake Works Sometimes, Not Always
Intermittent wake issues are often caused by:
- WiFi Connection: Switch to Ethernet for reliability
- Network Adapter Power Saving: Disable power saving on the adapter
- Router Issues: Restart router or check router settings
- Firewall: Temporarily disable firewall to test
- Network Isolation: Ensure both devices are on the same subnet
Can't Find MAC Address
If you're having trouble finding your MAC address:
- Check Any Command server settings - MAC address is displayed there
- Use Device Manager → Network Adapter → Properties → Advanced → Network Address
- Use Command Prompt:
getmac /v /fo list - Check router's connected devices list
Wake is Slow
It's normal for Wake-on-LAN to take 30-60 seconds:
- PC needs time to boot from shutdown
- BIOS/UEFI initialization takes time
- Windows startup adds additional time
- This is expected behavior, not a problem
Best Practices
Hardware Recommendations
- Use Ethernet: Always use wired connection for best reliability
- Quality Router: Invest in a good router that handles WoL packets properly
- Modern Motherboard: Newer motherboards have better WoL support
- Stable Power: Ensure consistent power supply (use UPS if needed)
Security Considerations
- Local Network Only: WoL works best on local network
- Magic Packet Only: Enable "Only allow magic packet" for security
- Firewall: Keep firewall enabled but allow WoL packets
- Remote Access: Only expose WoL to internet if absolutely necessary
Testing Your Setup
After configuration, test your setup:
- Put your PC to sleep
- Send a Wake-on-LAN packet from your phone
- Wait 30-60 seconds
- Verify PC wakes up
- Test from complete shutdown
- Save device for quick access
Ready to Wake Your PC Remotely?
Download Any Command and start using Wake-on-LAN today. Free download available with premium features including Wake-on-LAN, screen sharing, file transfer, and more.
Download Any CommandTechnical Details
How Wake-on-LAN Works
Wake-on-LAN uses a special network packet called a "Magic Packet":
- Packet Format: 6 bytes of 0xFF, followed by 16 repetitions of the target MAC address
- Protocol: UDP (User Datagram Protocol)
- Port: Typically UDP port 7 or 9 (configurable)
- Broadcast: Packet is broadcast to the local network subnet
- Range: Works on local network (or remote if configured)
Network Adapter States
For Wake-on-LAN to work, the network adapter must remain in a low-power state:
- Sleep Mode: Adapter stays active, listening for magic packet
- Hibernate: Adapter may or may not stay active (depends on hardware)
- Shutdown: Adapter needs power from 5V standby rail (modern PCs support this)
- Power Saving: Disable power saving on adapter for best results
Frequently Asked Questions
What is Wake-on-LAN and how does it work?
Wake-on-LAN (WoL) is a technology that allows you to power on your PC remotely using a special network packet called a 'Magic Packet'. When your PC is in sleep or shutdown mode, it keeps the network adapter active to listen for this packet, which contains the PC's MAC address. When received, it triggers the PC to wake up.
Can Wake-on-LAN work over WiFi?
Wake-on-LAN can work over WiFi, but it's much less reliable than Ethernet. For best results, use a wired Ethernet connection. Many WiFi adapters and routers don't properly support WoL packets, and the PC may not wake consistently. Ethernet is the recommended connection method for Wake-on-LAN.
Why won't my PC wake up with Wake-on-LAN?
Common issues include: BIOS/UEFI settings not enabled, network adapter not configured for WoL, using WiFi instead of Ethernet, firewall blocking the magic packet, or the PC being completely powered off without proper WoL support. Check BIOS settings first, then verify network adapter configuration in Windows.
Does Wake-on-LAN work from complete shutdown?
Yes, but it requires proper hardware support. Your motherboard must support WoL from shutdown, and your PC needs to be connected to power (even when "off"). The network adapter receives power from the 5V standby rail. Most modern motherboards support this, but older or budget motherboards may only support WoL from sleep.
How long does it take to wake a PC with Wake-on-LAN?
Typically 30-60 seconds. This includes time for the magic packet to be received, BIOS/UEFI initialization, and Windows startup. The time varies based on your hardware, BIOS settings, and Windows startup time. This is normal and expected.
Can I wake my PC from outside my home network?
Yes, but it requires router configuration. You'll need to set up port forwarding for UDP port 7 or 9, and use your router's public IP address. However, this can be a security risk and is not recommended unless you understand the implications and have proper firewall rules in place.
Is Wake-on-LAN secure?
Wake-on-LAN itself doesn't use encryption, but it's relatively safe on a local network. The magic packet only wakes the PC - it doesn't provide access. However, enabling "Only allow magic packet to wake computer" adds an extra layer of security. For remote WoL over the internet, consider using a VPN for better security.
Do I need to keep my PC plugged in for Wake-on-LAN?
Yes, your PC must be connected to power for Wake-on-LAN to work. Even when "shut down", the network adapter needs power from the 5V standby rail to listen for the magic packet. If your PC is unplugged, Wake-on-LAN won't work.
Conclusion
Wake-on-LAN is a powerful feature that lets you wake your PC remotely from anywhere on your network. With proper setup in BIOS, Windows, and Any Command, you can enjoy the convenience of powering on your PC from your phone.
Remember: Ethernet is strongly recommended for reliable Wake-on-LAN functionality. While WiFi can work, it's inconsistent and may not work after complete shutdown. For the best experience, use a wired connection.
For more guides and tutorials, check out our articles page or visit the news section for the latest updates and features.
Related Articles: How to Control PC from Android | Browse all guides | Learn more about Any Command