WakeOnLAN
WakeOnLAN copied to clipboard
WOL access denied on shutdown but not wake
Two computer on LAN, both running Windows 10 AU, 64-bit. I am using Wake On Lan V 2.11.12. I have been able to wake another computer on my LAN, but when I try to shut it down (Sleep or Shutdown) I get this error: Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) I temporarily disabled the firewalls on each computer...same error.
What am I doing wrong?
Shutdown can be difficult. To shutdown a remote computer, you have to use an account that has authority to do that. Some examples are here. Shutdown Help
Hello
To solve te problem do the 3 things
1- open firewall
windows+x
open powershell as admin and enter this command
netsh firewall set service RemoteAdmin enable
hit enter
close the powershell
2- add new regkey
windows+r
go to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
create the key REG_DWORD32 name it "LocalAccountTokenFilterPolicy" set the value of the key to 1
3- add administrator username and password in the shutdown properties menu of the machine like in this picture https://wol.aquilatech.com/help/shutdown/wmiShutdown.png
oh i forgot the last thing to do is to say thanks ;)
Hey guys. New user. Amazing! Curious about the aforementioned though. I just allowed WMI in windows firewall and can shutdown etc. is that the same/equivalent to running the netsh command?
(from my brief uneducated reading, that command also seems to be deprecated fwiw)