basildane / WakeOnLAN

Wake On LAN, WakeOnLAN, shutdown software for Windows. A powerful WOL, ping, shutdown, GUI application.
http://wol.aquilatech.com
Other
991 stars 146 forks source link

Error on schedule (0x00000005) #175

Open NBALLAND opened 4 years ago

NBALLAND commented 4 years ago

Hello,

I'm trying to schedule a shutdown.

The account used on the WakeOnLan PC is a local admin account. The account used on the distant PC for shutdown is a local admin account

I can wake up and shutdown my Test PC without any problem using WakeOnLan. But when I try to schedule a shutdown, I get a (0xc00000005) error as a result of the last execution

Sans titre

In Windows Event Manager, I get :

Nom du journal :Application Source : Application Error Date : 28/06/2020 14:49:00 ID de l’événement :1000 Catégorie de la tâche :(100) Niveau : Erreur Mots clés : Classique Utilisateur : N/A Ordinateur : LAPTOP-9A99SN7V Description : Nom de l’application défaillante WakeOnLANc.exe, version : 2.11.22.0, horodatage : 0x5ccf29e0 Nom du module défaillant : unknown, version : 0.0.0.0, horodatage : 0x00000000 Code d’exception : 0xc0000005 Décalage d’erreur : 0x00007ffba15751c7 ID du processus défaillant : 0x4e30 Heure de début de l’application défaillante : 0x01d64d4a7e8dc1d5 Chemin d’accès de l’application défaillante : D:\Program Files\Aquila Technology\WakeOnLAN\WakeOnLANc.exe Chemin d’accès du module défaillant: unknown ID de rapport : a5dcefdb-2a24-421b-a480-c3724bf4798e Nom complet du package défaillant : ID de l’application relative au package défaillant : XML de l’événement :

1000 2 100 0x80000000000000 25056 Application LAPTOP-9A99SN7V WakeOnLANc.exe 2.11.22.0 5ccf29e0 unknown 0.0.0.0 00000000 c0000005 00007ffba15751c7 4e30 01d64d4a7e8dc1d5 D:\Program Files\Aquila Technology\WakeOnLAN\WakeOnLANc.exe unknown a5dcefdb-2a24-421b-a480-c3724bf4798e Thanks for your help P.S : I already tried to reinstall WakeonLan
basildane commented 4 years ago

Wake up does not require any permissions. Shutdown however, does require an account that has authority to shutdown the target computer. Error 5 means "access denied". Or your account is not authorized to shutdown the remote computer.

Are you able to shutdown the computer using the WOL gui program? Also, is the computer in a domain or workgroup? (Is it running Windows?)

NBALLAND commented 4 years ago

Thank you for your answer.

I am able to shutdown the computer using the WOL GUI program, but not through the scheduler (which gives the Error 5)

The distant computer is running Win 10 and is not in a domain.

I configured the shutdown tab of the device in WOL with the distant admin account and it works through the WOL GUI

Thank you