Hallo 
Ik ben nu al een tijdje bezig om het volgende voor elkaar te krijgen:
Ik heb een HTPC die kan opstarten via WOL. Dit werkt.
Een laptop moet bij opstarten een script draaien dat de HTPC opstart via WOL via het interne netwerk.
Ik kan alleen geen standaard commando vinden van Windows om dit werkend te krijgen.
Heb het gratis programma WakeMeOnLan gevonden en het zou mogelijk moeten zijn om via command line dit te draaien zonder gebruikers interface.
Het volgende heb ik geprobeerd: wakemeonlan.exe /wakeup [Mac adress]
Indien ik via command line naar de locatie ga [cd ..] en via daar het script draai zodat ik zie wat er gebeurd dan geeft ie geen foutmelding maar er gebeurd verder niks. Wanneer ik via de gebruikers interface ga dan kan ik mijn HTPC wel opstarten.
Wat doe ik fout? Het zal vast iets simpels zijn!
WakeMeOnLan allows you to wake up a computer on your network without displaying any user interface, by using the /wakeup command-line option. You can specify the computer name, IP address, or the free user text that you typed in the properties window, as long as the computer information is stored inside the .cfg file. You can also specify the MAC address of the remote network card, even if the computer is not stored in the .cfg file.
Optionally, you can specify the port number in the second parameter, and broadcast address in the third parameter.
Examples:
WakeMeOnLan.exe /wakeup 192.168.1.25
WakeMeOnLan.exe /wakeup Comp01
WakeMeOnLan.exe /wakeup Comp02
WakeMeOnLan.exe /wakeup 40-65-81-A7-16-23
WakeMeOnLan.exe /wakeup 406581A71623
WakeMeOnLan.exe /wakeup Comp02 30000 192.168.0.255
WakeMeOnLan.exe /wakeup 192.168.1.25 20000 192.168.1.255
Ik ben nu al een tijdje bezig om het volgende voor elkaar te krijgen:
Ik heb een HTPC die kan opstarten via WOL. Dit werkt.
Een laptop moet bij opstarten een script draaien dat de HTPC opstart via WOL via het interne netwerk.
Ik kan alleen geen standaard commando vinden van Windows om dit werkend te krijgen.
Heb het gratis programma WakeMeOnLan gevonden en het zou mogelijk moeten zijn om via command line dit te draaien zonder gebruikers interface.
Het volgende heb ik geprobeerd: wakemeonlan.exe /wakeup [Mac adress]
Indien ik via command line naar de locatie ga [cd ..] en via daar het script draai zodat ik zie wat er gebeurd dan geeft ie geen foutmelding maar er gebeurd verder niks. Wanneer ik via de gebruikers interface ga dan kan ik mijn HTPC wel opstarten.
Wat doe ik fout? Het zal vast iets simpels zijn!
WakeMeOnLan allows you to wake up a computer on your network without displaying any user interface, by using the /wakeup command-line option. You can specify the computer name, IP address, or the free user text that you typed in the properties window, as long as the computer information is stored inside the .cfg file. You can also specify the MAC address of the remote network card, even if the computer is not stored in the .cfg file.
Optionally, you can specify the port number in the second parameter, and broadcast address in the third parameter.
Examples:
WakeMeOnLan.exe /wakeup 192.168.1.25
WakeMeOnLan.exe /wakeup Comp01
WakeMeOnLan.exe /wakeup Comp02
WakeMeOnLan.exe /wakeup 40-65-81-A7-16-23
WakeMeOnLan.exe /wakeup 406581A71623
WakeMeOnLan.exe /wakeup Comp02 30000 192.168.0.255
WakeMeOnLan.exe /wakeup 192.168.1.25 20000 192.168.1.255