UPDATED ON 09/10/2014 – Added remote shutdown info
On the “Setting up your Galileo” page, at the very bottom, there is a strong recommendation to shutdown your Intel Galileo running Windows. The promise is that if you properly shutdown the Galileo, as opposed to just pulling the power cord, or hitting the “Reboot” button, you will experience shorter boot times. I can confirm this personally after having rebooted my Galileo’s repeatedly, using all of the methods, over the past few days. If you can connect to your Galileo via Telnet, and shut it down formally, it will boot much quicker next time.
Here is a repeat for the instructions from the “Setting up your Galileo” page:
Shutting down the Galileo
Before you unplug the power from the Galileo, it is advisable to gracefully shut it down. To do this:
- Telnet to the Galileo
- Enter the following command to shutdown:
shutdown /s /t 0
After the microSD activity LED stops blinking, you may unplug the Galileo.
If you do not shut the Galileo down, the next boot will take much longer. During this time, Windows will run a check disk on the SD card to verify the integrity of the file system. Please allow this to finish.
Shutting down the Galileo REMOTELY
This morning, I started to think about shutting it down remotely. Not a big deal. Windows admin do remote shutdowns all the time, and it is no different with the galileo. You just need to authenticate against the galileo before you run the shutdown command against it. I created a batch file called “bouncegalileo.cmd” that let’s me do that easily. Here are the contents of the batch fi8le:
REM USAGE: bouncegalileo.cmd <galileoname>
REM Where <galileoname> is the host name of your galileo
REM First, remove any existing connections to the galileo
net use \\%1 /del
REM Now, authenticate against the galileo as the Administrator
net use \\%1 /user:Administrator
REM Then use the shutdown command to restart the galileo immediately
REM The /r causes the galileo to RESTART. Use /s to SHUTDOWN
shutdown /m \\%1 /r /t 0
Wrap that up in a batch file (I called mine “bouncegalileo.cmd”) and then the call to it would look something like this:
You can monitor your Galileo’s status in the “GalileoWatcher” . It should take minute or so to come back on line.