-
Notifications
You must be signed in to change notification settings - Fork 5
wol_enable.ps1
Corey Watson edited this page Dec 24, 2025
·
2 revisions
Enable Wake-on-LAN in BIOS/UEFI and Windows NIC settings for Dell, HP, and Lenovo systems.
Enables Wake-on-LAN (WOL) in both BIOS/UEFI and Windows NIC settings. Supports Dell, HP, and Lenovo systems with manufacturer-specific BIOS modules. Also enables WOL on all capable network adapters in Windows.
Enables Wake-on-LAN (WOL) in both BIOS/UEFI and Windows NIC settings. Supports Dell, HP, and Lenovo systems with manufacturer-specific BIOS modules. Also enables WOL on all capable network adapters in Windows.
- Windows 10/11
- Admin privileges required
- Internet connectivity for module installation
- Supported manufacturer: Dell, HP, or Lenovo
None - script auto-detects manufacturer and configures accordingly.
- Dell: Uses DellBIOSProvider module, sets WakeOnLan to "LANOnly"
- HP: Uses HPCMSL module, sets Wake On Lan to "Boot to Hard Drive"
- Lenovo: Uses WMI, sets WakeOnLAN to "Primary"
- Windows: Enables MSPower_DeviceWakeEnable on all capable NICs
- System manufacturer detection (CIM)
- Manufacturer-specific BIOS modules (Dell, HP, Lenovo)
- Windows NIC WOL settings (CIM)
- Checks/installs required PowerShell modules (NuGet, PSGallery)
- Detects system manufacturer
- Installs manufacturer-specific BIOS module if needed
- Configures BIOS WOL setting
- Enables WOL on all capable Windows NICs
- No secrets in logs
- Modifies BIOS settings (requires admin)
- Installs PowerShell modules from PSGallery
- 0: Success
- 1: Warning (rerun required after PowerShellGet update)
- Other: Manufacturer not supported or error
[ SYSTEM DETECTION ]
--------------------------------------------------------------
Manufacturer : Dell Inc.
[ BIOS CONFIGURATION ]
--------------------------------------------------------------
Installing DellBIOSProvider module...
Setting WakeOnLan to LANOnly...
BIOS WOL configured successfully
[ NIC CONFIGURATION ]
--------------------------------------------------------------
Enabling WOL for Intel(R) Ethernet...
NIC WOL enabled successfully
[ RESULT ]
--------------------------------------------------------------
Status : Success
[ SCRIPT COMPLETED ]
--------------------------------------------------------------
- 2025-11-29 v1.0.0 Initial Style A implementation
- View Script Source
- Scripts - Back to script index