Archive for the ‘Remote Administrator’ Category

Oct 24

I am lazy – extremely lazy – and fortunately it is the lazy ones that normaly advance the world. In addition I am probably a nerd; it is a heckuva lot more fun using an hour making something I can use five minutes executing, than using half an hour doing the job manually…

Therefore – the file listings below are bootlist.cmd and bootlist.txt respectively. bootlist.cmd reads a list of IP addresses or host names and calls up radmin sequentially. The only thing you have to do is to enter the user name and password for each server and pressing OK to boot. You can probably automate that too using AutoHotKey or a similar keystroke application. And – no – there are no parameters to pass the username and password on Remote Admin.

If all computers are logged in using the same user and pass and are not locked you can also use the native shutdown command supplied with Windows XP and up.

For loops always use %character ecept when you have to write %%character. Go figure…


bootlist.cmd

@echo off
for /F %%a in ("c:\program files\bin\bootlist.txt") do call :SUB1 %%a
goto :EOF
:SUB1
@echo off
echo Calliong %1...
"C:\Program Files\Radmin\Radmin.exe" /connect:%1 /shutdown
echo Done!
goto :EOF

bootlist.txt
10.11.12.1
10.11.12.2
10.11.12.3
10.11.12.4
10.11.12.5