HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Server Management - Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

Wake On Lan custom Tool

 
Davide Depaoli_3
Valued Contributor

Wake On Lan custom Tool

Hi,
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
regards
Davide
3 REPLIES
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
:ordi
rem %1 computer name(paramètre %i)
rem %2 MAC addresse of the computer(paramètre %j)
echo %1 %2
wol %2
:end

Hope this help out

Dan
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 ?
regards
Davide
fred Passeron
Honored Contributor

Re: Wake On Lan custom Tool

hi

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

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