WakeOnLAN
WakeOnLAN copied to clipboard
wake on lan Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Hi,
Been trying to get this to work for the last 2 days. What can cause this error? When I send magic packets to the pc I'm testing with and use the listener function on your software it receives it perfectly fine.
But when I try and wake the pc or shut it down either nothing happens or I get the error.
wake on lan Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
If you send a shutdown and get access denied, it means your shutdown credentials are not set, or do not have authority to shutdown the remote host. Read shutdown help for some tips on configuring that.
If WOL isn't starting the host, you probably do not have the current NIC driver, or the NIC is not configured for Wake On Magic Packet. Check those two things first. Here is some help on Wake up.
It's good that the listener is showing the packets, that means your network is good and firewalls are not blocking them. That's half the battle right there.
Look at the job in task scheduler and view the history. Look at return code for action completed, it should be 0. If it is not 0 check the account in task scheduler that the job runs under.