
有誰知道 2016-core 中的「僅允許魔法資料包喚醒這台電腦」設定已移至何處?
這台 2016 核心伺服器可以透過連續 ping 保持喚醒狀態,或者如果我讓它掛起,它可以透過 Magic Packet 喚醒,但不會透過 ping 或任何其他網路封包喚醒。
在 Server 2012 NIC 設備管理員上,電源管理標籤下有三個複選框:
1). "Allow the computer to turm off this device to save power"
2). "Allow this device to wake the computer"
3). "Only allow a magic packet to wake this computer"
我已確定這些儲存在登錄機碼配置單元中: HKLM\System\CCS\Control\Class{4D36e972-E325-11CE-BFC1...}\nnnn\PnPCapologies (DWord)
在哪裡:
24 - 1=off, 2=off, 3=off
16 - 1=on, 2=off, 3=off
0 - 1=on, 2=on, 3=off
256 - 1=on, 2=on, 3=on
我懷疑這個設定是預設啟用的,如何在 Server-core 中停用它?
答案1
Set-NetAdapterAdvancedProperty -Name "Ethernet" -DisplayName "Wake on magic packet" -DisplayValue "Disabled"
若要查看目前值:
Get-NetAdapterAdvancedProperty -Name "*"