This is a script for rebooting any number of kiosks on your network. it is geared towards Windows as it is a VBS.
you will need to download Plink (https://the.earth.li/~sgtatham/putty/la ... /plink.exe)
and then create two files:
computers.txt
Reboot.vbs
in computer.txt put the IP or Hostname of each kiosk you want to reboot, one per line.
example:
192.168.1.45
192.168.1.56
Reboot.vbs:
Set WSHShell = WScript.CreateObject("WScript.Shell")
Set oFS = CreateObject("Scripting.FileSystemObject")
'Open a text file of computer names
'with one computer name per line
Set oTS = oFS.OpenTextFile("computers.txt")
'go through the text file
Do Until oTS.AtEndOfStream
'get the next computer name
'store it in variable strCompname
strCompname = oTS.ReadLine
WshShell.Run "cmd.exe /c echo y | plink.exe -ssh " & strCompname & " -l userID -pw Password reboot "
Loop
'close the text file
oTS.Close
be sure to change the userID and Password to match your kiosk config
also, make sure that additional_components=08-ssh.xzm is set up on the config.
make sure all three files are in the same dir
Computers.txt
Plink.exe
Reboot.vbs
execute reboot.vbs
it will loop through all the address in the computers.txt file and reboot them
I currently have 50 kiosks and I am able to reboot them all in less than 30 sec.
this is super helpful if I make config changes or if there was a network issue.
hope it helps
[Tutorial] Kiosk Reboot Script
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html