Tag Archives: Install

ARPIC, Install Raspbian Lite onto a Raspberry Pi

ARPIC – Another Raspberry Pi Controller

Hardware  :

Raspberry Pi

4GB or larger Micro SD card

Network connection – cable or WiFi

PC with an SD card reader (Windows OS in this example)


For help getting Raspbian onto your SD card, take a look at these pages;



Lets get started!

  • Connect the Raspberry Pi to your network, you can either plug up a keyboard and monitor or SSH into the Pi using Putty.
  • Login to the Pi using the default credentials ( pi \ raspberry ).
  • Its always best to run a system update even on a new install;

sudo apt-get update && sudo apt-get dist-upgrade

  • Once the system update has completed, restart and log back in.


  • Type the below code to access the raspi-config file;

sudo raspi-config

For this project, the changes to the raspi-config file are listed below, refer to official, easy to use documentation from RaspberyPi.org if you get stuck.

  • Under 7  Advanced Options, Select A1  Expand Filesystem
  • Under 5  Interface Options, Select P2  SSH and Enable
  • Under 5  Interface Options, Select P7  1-Wire and Enable
  • Under 4  Localisation Options, Select I2  Change Timezone & location and set
  • Under 2  Network Options, Select N1 Hostname and set your desired hostname
  • Under 2 Network Options, If your using a compatible WiFi dongle, the SSID and passpharase can be entered under option N2

Once completed, Select the Finish option and select Yes at the prompt to restart.

MS Windows Remote Installs

Use this script to run a program remotely. In this scenario the script is used to install IE9 onto a remote MS Windows 7 machine.

PSTools Download Link

How to use:

Save the below script as a ‘.bat’ file.
Update the script to reflect the network share where the IE9 (or other) install / upgrade package is stored.

On running the script you will be shown a CMD box asking for an asset tag (also known as hostname). Enter the PC asset tag, select Enter… The Script will connect to the remote computer, copy the installation file over to a C:\temp folder, run the installer using the switches provided and the delete the file once completed.

The script should return an ‘error’ code of 0, this means the installation completed with no issues.


@echo off
REM *********************************************
REM A.Nicholls
REM http://www.adienicholls.co.uk/blogs
REM 25/05/2016
REM *********************************************

REM Get remote PCs hostname
set /p id=Enter Hostname:

REM Copy the install file from source to destination PC
robocopy \\Server\shared\ms\ie9 \\%id%\c$\temp\ *.exe /r:0 /w:0

REM executes the copied file through CMD
psexec \\%id% cmd.exe /c "c:\temp\IE9-Windows7-x86-enu.exe" /quiet /closeprograms /update-no /norestart

REM verifying return codes
ECHO ________________________________________________________________
ECHO (1)     Error, opps something went wrong
ECHO (0)     Installation Succeeded
ECHO ________________________________________________________________

REM Cleanup - Delete the previously copied file
psexec \\%id% cmd.exe /c DEL "c:\temp\IE9-Windows7-x86-enu.exe" /q

REM providing a cleaner exit code for the file deletion
if ERRORLEVEL 1 echo *****OOPS, couldnt remove the file*****
if ERRORLEVEL 0 echo cleanup completed