Server Management - Systems Insight Manager
Showing results for 
Search instead for 
Did you mean: 

Wake On Lan custom Tool

Davide Depaoli_3
Valued Contributor

Wake On Lan custom Tool

I'm configuring a Wake on Lan tool, but I don't know how to make the command interactive in order to pass the nic mac address of the server to be waked.
I have SIM for windows and the command (wol.exe) resides on the SIM server (the %1 variables after the command doesn't works).

thanks in advance
Daniel Leblanc
Honored Contributor

Re: Wake On Lan custom Tool

Here is exemple of a script i am using may be you forgot something in you 're script

FOR /F "tokens=1,2 delims=; " %%i in (%1.csv) do (call :ordi %%i %%j)
goto :end
rem %1 computer name(paramètre %i)
rem %2 MAC addresse of the computer(paramètre %j)
echo %1 %2
wol %2

Hope this help out

Davide Depaoli_3
Valued Contributor

Re: Wake On Lan custom Tool

Hi Fred,
thank you for your script. It works, but when I run the script it fails with following error:

"The "Run as" user does not have adequate permission to manipulate this file: Con
nection timed out: connect"

Do you have any idea ?
fred Passeron
Honored Contributor

Re: Wake On Lan custom Tool


the second tools uses root as a user. If you are on windows a few changes are needed :
1/unregister the tool : mx -r -f wol.xml
2/change user to administrator
3/register again the tool with mxtool -a -f wol.xml

I used a linux based tool to create this one and did not pay attention to this...

hope it helps

“Life is pleasant. Death is peaceful. It's the transition that's troublesome.” Isaac Asimov