Friday, 7 December 2012

equipment booking system

Well, going over my previous post about booking systems it looks like my requirements are a little too niche. It appears there is no 'out of the box' solution. I shall review my needs below:

  • booking multiple equipment at a time
  • book day and time for pick up and drop off
  • view availability
  • 4 time slots per day
  • all through online interface
  • active directory logins
it appears jomrez is almost there, but lacks time slots and multiple items.

The only one which hints at all this is R&R, which is more of a custom build. No pricing up front, but they do demos. I shall chase this one up.

Monday, 3 December 2012

MacBook Pro left hand fan noisy

After turning on one of our 2009 MacBook Pro 17", after about 5 seconds, the left hand side fan would start making a buzzing noise. Thought it'd be something rattling around with it, or maybe catching a wire so I took it apart.

When I took the fan with the casing out I noticed nothing catching. It seemed to be rattling of its' own accord. I found this good post on how to fix the fan. Basically just take the two screws holding it together off. Then prize the fan off the motor.

Inside I found a little tiny bit of grit underneath the magnet on the main base. I tried to get it out but it proved pretty tricky. After 5 mins I got most of the bits out (very tiny bits), and I oiled the fan axle.

I put it back together and it worked a treat.

Thank you very much and This internet thing is very helpful.

Tuesday, 27 November 2012

Photoshop could not save because of a disk error

Well, quite recently students have been having trouble saving from Photoshop CS5 version 12.0.

It comes up with:
It's strange because if you try multiple times, sometimes it saves and others it comes up with the error.
Could not save as because of a desk error.

Looking in the console log I found these entries:

26/11/2012 16:09:36 /Applications/Adobe Photoshop CS5/Adobe Photoshop Photoshop CS5[1697] Allocator race detected: transaction is not verified for -103/2 - _mac_bind/Library/Preferences/Adobe/Color/ACEConfigCache2.lst
26/11/2012 16:09:48 /System/Library/CoreServices/[1652] Allocator race detected: transaction is not verified for -103/248 - Untitled-4.psd
26/11/2012 16:09:49 kernel smb_maperr32: no direct map for 32 bit server error (0xc0000279)
26/11/2012 16:09:49 kernel smb_maperr32: no direct map for 32 bit server error (0xc0000279)

It seems to be a problem with users whose home drive is on Windows 2003 or before shares. Luckily I have my home drive on a Windows 2008 share.

Looking on the internet for the kernel error I found this down in the "Mac OS X bug: Empty oflders when browsing Samba shares on Windows 2003 Server". He gets the error when looking in sub-folders on a Windows 2003 server. Might be related.

Tried it with my login with my home drive on Windows Server 2008 share and works without problems.

So far I've tried:

  • OS X 10.7.4
  • OS X 10.6.6
  • OS X 10.6.8
  • Photoshop CS5 12.0.4
  • Redirecting ~/Library/Application Support/Adobe/ to a local folder
Just had a very similar problem with Windows PC's. Students trying to save from Photoshop to their home drive came up with a similar error:
Could not save as because the file could not be found
It looks like it's a server problem as it happens on both Windows and Mac. I shall update when I find out more.

Monday, 5 November 2012

HP Designjet 500 error 02:10 ribbon problems- trailing cable

I went to use the HP Designjet 500 and upon switching it on I noticed the print carriage stopping abruptly half way along the bed. Looking inside I noticed the ribbon which connects to the carriage was crumpled and had dried ink all over it. Thought this was causing the problem because it was unable to slide along with the carriage so I cleaned it.

After this it's had a few problems loading the paper, and also whilst printing. Just noticed this "System Error 02:10".

Found a few forums on the subject referring to the carriage and print heads. Replaced yellow printhead adn while it was performing an alignment it came up with:
System Error:  79:04

Found this (right at the bottom) one saying it was the connection with the ribbon cable. Looks like it's not getting the right 2.5V signal from the carriage. Needs reseating. Otherwise replace the cable.

The trouble is: How to get into the printer to reseat the cable? Looks like a bit of work.

Found a quick little tutorial on how to get the main cover off. Simply remove the three screws (hex) on the back main part. I unclipped the lift up cover, and you need to unclip the main cover by lifting it up.

Not sure how to remove the side panels.

I reseated the cables on the print carriage but after doing about 2 inches of print on a 36" roll it came up with this error again.

Found a service manual for the HP Designjet 500.
The error is found in section 2-8, carriage failure. It says to replace the Carriage Assembly, but my suspisions point to specifically the "Trailing Cable" as this was quite bent, possibly shorting when the carriage is moving.
To replace the "Trailing Cable" go to section 8-40

Looks like the trailing cable is about £15 so pretty cheap to try out.

If this doesn't work perhaps a carriage assembly. About £120 refurbished, or £350 new

Note ...................
7th Feb 2013
So, it's 3 months on and I finally got the chance to install a new "Trailing Cable". Nothing to note about changing the cable over, the manual is quite self explanatory. The only thing I found was that the torx screws were not size T20, were actually a size or two smaller.

After installation it worked perfectly!


Tuesday, 30 October 2012

Reseting a pasword in Mac OS X 10.8 Mountain Lion

Well, I needed to reset a password on a newly bought iMac (they'd forgotten what they had originally put??).

I knew how to do it back in 10.4 but thought the method might have changed a bit. Anyway, found this nice article on it. Basically:
  1. Boot into Recovery Mode (hold down cmd + R)
  2. Go to Utilities > Terminal
  3. type:
    1. resetPassword
  4. a password reset facility comes up
  5. Reboot the machine!

A little bit insecure. I basically means anyone reading this article can reset anyones password and access their files (unless fileVault has been used which has a lot of issues with it)

Wednesday, 24 October 2012

iPad 1st Gen screen displaying horizontal gray band

I have an iPad which is displaying a gray horizontal band across 1/3 of the screen near the bottom. I was told that upon switching the ipad on one morning this band just appeared. After reading a few posts looks like it is a common occurrence with a batch of iPads brought in December 2009 which is about the time we brought ours.

It appears to be a display problem as when taking a screenshot everthing appears fine.

As it is out of warranty and applecare i have the option to repair myself. I found this helpful guide of how to replace the screen and glass. And hear is the price of a new LCD with glass (about £80). Here's one with just the LCD screen.

I shall update.

I've decided to test the theory by swapping the display assembly with another working iPad, as it involves little invasive action.

Friday, 12 October 2012

Firefox not picking up the wpad auto config file

I've decided to setup firefox on the new Windows image but it turns out it doesn't like the options:

  • Use system proxy settings
    • this is the one I prefer as I can set it using group policy/workgroup manager
  • Auto-detect proxy settings for this network
Whenever either of these are ticked you cannot browse the internet.

Had a quick search and think I've found the problem. The browser looks for the file:


Now when I typed this in the address bar of; Safari, Internet Explorer and Google Chrome; they all downloaded the wpad.dat file. But Firefox was the odd one out as it just displayed the "Unable to connect" and "Problem loading page" errors.

Did a quick search and found this Knowledge Base Article describing how all other browser now use DHCP to help find this address, but Firefox only uses DNS. Also found it here in a blog and more importantly in Mozillas bug reports here (takes a while to load).

The fix apparently is to put a "DNS record for the WPAD server" (described here under 7.2.2)

Thursday, 11 October 2012

Imaging Windows XP on a Mac - filling (expanding) the partition

So, came to a machine today which I'd just re-imaged with windows XP using DeployStudio. Windows thought the partition was only 30Gb's  but was actually 110GB's. I had seen this before but never written down how to fix it.

First thing I tried was the Disk Checking utility. This did not fix the problem.

After this I didn't know what to do. I turned to google and found this forum answer. Turns out when re-imaging there is an option to "Auto Expand" windows to fill the partition but sometimes does not work. To fix, use WinClone. Unfortunately the latest version of WinClone now costs $19.99, but the older V2.2 was free. I eventually found WinClone V2.2 here.

You also need NTFSProgs so OS X can understand NTFS partitions. WinClone downloads them automatically, here is the link it uses.

Here's a screenshot of it in action:
WinClone Expanding windows file system

Go to Tools > Expand Windows file system.

Takes around 8 mins.

Worked. Cheers.

Monday, 8 October 2012

Setting all Apple Macs to use network time servers

So I wanted to change all the Macs here to use our specific network time servers so that their time is never out and so cause login issues. I did it by first finding the command line arguments, then making a shell script, then making a pkg file which the OS X task server sent to all the machines when they are powered on.

Here's the step by step guide:

  1. finding the command line arguments:
    1. sudo systemsetup -setnetworktimeserver
    2. sudo systemsetup -setusingnetworktime on
  2. making a shell script
    1. make a new plain text document using "TextEdit"
    2. make the first line:
      1. #!/bin/bash
    3. paste the two lines from 1.1 and 1.2
    4. save as (untick "add .txt file extension) and put .sh at the end
    5. make it executable
      1. in terminal type:
        1. chmod 744
  3. make a .pkg file which runs this script
    1. I use Iceberg. Here are the screenshots:

    2. When done, go to Build > build
    3. navigate to the project folder in Finder and inside the "Build" folder you'll find the .pkg file.
  4. test it on a computer
  5. Send to all machine
    1. I use Apple Remote Desktop Task Server for this
      1. select the computers in a list
      2. click "Install Packages"
      3. select the package
      4. select "run this task from: The Task Server on"
      5. sorted
    2. sorted
  6. sorted

Getting VirtualBox to use Bootcamp partitioned Windows XP on a Mac

So, I really wanted VirtualBox to use the Bootcamp partitioned windows XP. After a bit of trauling I found this but had a slight error "resource_busy" and found this with a reply sorting it out. Turns out you have to unmount the disk to create the .vmkd file.

  1. make a new machine
  2. when asked about disks, load up the terminal
  3. find the disk and partition with windows installed
    1. diskutil list
  4. unmount it
    1. I did this in disk utility
  5. change permissions on it
    1. chmod 777 /dev/diskXsY  (replace X and Y with numbers)
  6. go into the folder where your new VirtualBox machine is
    1. cd ~/VirtualBox\ VMs/VirtualComputerName
  7. make the .vmkd file
    1. sudo vboxmanage internalcommands createrawvmdk -rawdisk /dev/disk0 -filename "winXP.vmdk" -partitions 3
    2. you have to find out how many partitions are on the harddrive. I've got 3
  8. change permissions of the files created
    1. chmod 777 winXP*
  9. in VirtualBox, select the disk file you created.

Turns out the error I got was from not reading the bit where you have to unmount it.

Thursday, 4 October 2012 and installer

Well, after much troubles over getting NHR to also run sendLogon on startup, I decided to just make an application which ran the sendLogon script:

/usr/bin/sendLogon 5438 $(logname)

  1. I simply made it in Automator:
  2. Next I made an installation package to install it along with the sendLogon command program
I used Apple Remote Desktop's "Task Server" to install it on all managed machines. And finally I used Workgroup Manager to have it as a Login Item on the managed machines.

I think it works out better this way, as there is a little bit more control over it.

Friday, 21 September 2012

Powerpoint 2011 for Mac beeping with Ink Aware toolbar popping up

After just imaging a new computer suite with OS X 10.7.4 everything was going fine. That is until they tried to use Powerpoint 2011 for Mac. Every now and then the computer would pop up with "Ink Aware Toolbar" and constantly beep.

The only workaround for the time was to use Keynote which didn't have this problem.

After searching on the internet I found a few references to the problem and also and how to fix it. I first found this article describing how to turn this "ink aware" tool off. Seems it is related to SMART products, of which we have some Interactive Smartboards so the SMART software is installed, but not attached to these computers, so in theory it shouldn't run.

I also found this forum which describes the same problem with a solution much like the one previous.

Finally I looked into what Ink Aware was and found this official tutorial on how to remove it:
  1. Press the SMART Board icon in the notification area, and then select Control Panel.
    If your computer isn’t currently connected to an interactive product, the SMART Board icon includes an X in its lower-right corner .
  2. Press Configure SMART Tools.
  3. Press Ink Aware Program Settings.
    The Aware window appears.
    • If a check mark appears in the Aware Enabled column, the program is currently Ink Aware.
    • If the program is currently open, Running appears in the Status column.
  4. Do one of the following:
    • To disable Ink Aware for a program, clear the check box in the Aware Enabled column.
    • To disable Ink Aware for all software programs, press Clear All.
  5. Press OK.
    To enable Ink Aware for all programs, open the Aware dialog box, and then press Select All.

Friday, 14 September 2012

Sharing a MS Access database

So I've got an inventory database but have about 8 people who need to use it. Thought this wouldn't be a problem but turns out this stuff is more complex then it appears. When more then one person opens it (it's on a networked drive) a message keeps popping up about permissions. I did a quick search and found Microsofts help page here and there are a few options:

  • Put it on a network folder
    • done this which is where the problem is
  • Split the database to front end and back end
  • Use SharePoint
  • Use a Database Server
The ideal one would be a database server. But unfortunately I lack the knowledge to create the queries and forms for the web.

Next best is either SharePoint or splitting the database. Here's an article on SharePoint but I'm unsure whether we have SharePoint enabled somewhere and also how to do it.

My favourite option is Splitting the Database. Basically have the tables in on database (the backend) and the forms, queries and reports in another (front end). Heres a quick forum post on how to do it.

Wednesday, 12 September 2012

Mac Pro 3,1 turns off straight away after power button press

It's quite difficult to phrase this in a concise way hence the longer title then I would have wanted. Basically, I have a Mac Pro 3,1 early 2008 model, which, when the power button is pressed, a fan turns on, power light comes on, and within 1 second the shutdown click is heard, fans turns off and power indicator light switches off.

After this, the power button does not do anything when pressed unless you wait at least 1 minute.

I tried a few different things at first which did not resolve the problem:

  • unplugged everything, waited 30 secs, plugged it back in again (SMC reset)
  • took out the Hard Drive
  • took out the RAM
  • took out the DVD drive
  • took out graphics card
Finally I thought I'd look it up and found this post and this post which both described the symptoms perfectly, and all answers pointed to a power supply problem.

Thought I'd check this out, but needed some instructions on how to get the power supply out. Found this manual which did the job. Looks like an official manual.

After taking it out, I cleaned it up with a can of air and put it back to no avail. Next I tried swapping with another out of a Mac Pro 3,1. The working one worked in the previously not working machine, and the broken one didn't work in the working machine (is that a good way to put this?).

So, conclusion, the Power Supply Unit is not working correctly. Reading the manual further I found that it looks like the "trickle feed" isn't working correctly.

Apple Part Number: 614-0409

Looks like a new one is about £280, or refurbished is £105 from USA.

Friday, 7 September 2012

iPad backup and restore confusion

So, originally I made one ipad work perfectly, backed it up using iTunes and then restored all the ipads using this backup. Over time, more backups have been made of numorous ipads and confusion has sunk in. I'm using this post to document which iPad backup I'm currently restoring from. So, for now, I will use:

iPad 11848 backed up on 7th Sept 2012.

Thursday, 30 August 2012

Adobe Flash Player Install Manager failed to quit

I've got a couple of Mac suites with OS X 10.7.4 and have noticed this error appearing on them when trying to logout/shutdown the machines:

After doing a few searches I found firstly this adobe forum in which looked good, and next this adobe bug forum which provided a quick fix. Here's the quick fix as said in the last forum:

Go to and change Library/Application\ Support/Macromedia/mms.cfg



The actual problem is caused by two solutions to a previous problem related to Flash player security holes:

  1. Apple have fixed a security hole by disabling old versions of Flash Player because of a security flaw which was recently made use of.
  2. Adobe have enabled an update manager so that flash player is checked every hour, and updated (if needed) every day, to the newest version.
The problem with this solution is that Adobes update manager crashes at some point. The quick fix suggested here only turns the autoupdate off, but Adobe Flash will in the meantime not update automatically, and unless done manually, will be disabled.

The fix might be to update Adobe Flash Player to version 11.4 which apparently does not have this problem.

No Drives were found - installing Windows 7

So, just trying to fix a friends computer. There's just one SATA HD inside, and he wants it nice and fresh, so I just started the windows 7 install disk and, after booting off the disk and getting to the "Disk Selection" stage it came up with the information:

No drives were found, Click Load Driver to install a Mass Storage Driver

Ridiculous I thought. I had a quick look in BIOS and found it not listed in the HD's. I later found out that it was originally RAIDed with another (which broke) so I turned off RAID from BIOS so that it treated it as a normal HD again. It now appeared in the HD list in BIOS.

But still the same error in the Windows installer! So, now BIOS can see it, what is the problem. Well, I finally found this forum which suggested looking at this Microsoft Help Page, particularly Method 8.

  1. Insert the DVD into the DVD drive.
  2. On the disk selection screen, press SHIFT+F10. A Command Prompt window opens.
  3. Type diskpart, and then press ENTER to open the diskpart tool.
  4. Type list disk, and then press ENTER. A list of available hard disks is displayed.
  5. Type sel disk number, and then press ENTERnumber is the number of the hard disk that you want to clean. The hard disk is now selected.
  6. Type det disk, and then press ENTER. A list of partitions on the hard disk is displayed. Use this information to verify that the correct disk is selected.
  7. Make sure that the disk does not contain required data, type clean all, and then press ENTER to clean the disk. All the partitions and all the data on the disk is permanently removed.
  8. Type exit, and then press ENTER to close the diskpart tool.
  9. Close the Command Prompt window.
  10. Click the Refresh button to update the disk selection screen. This step lists the disk.
  11. Run Windows Setup to perform a clean installation of Windows.
Firstly I couldn't believe the fact that you still need to use a Command Prompt for such a simple thing as cleaning a Hard Drive. Mac OS users have had a "Disk Utility" on the install disk since OS X came out, which was 2002, maybe even "Drive Setup" which came out in 1995! 12 years on and Microsoft still uses a command line utilities on it's install disk for disk formatting!

Not only that, but SHIFT+F10?! Why not a button which says "Command Prompt"! Have they ever heard of of the word "Intuitive".

And now I've just got to step 7, typed "clean all" and it looks like it's frozen. No user feedback to say what is happening!

Microsoft, can you please design things, it'd make everyones jobs and home life much better. Instead you seem to have just patched things together. I guess at least you seem to have created a large job market for computer technicians, but you seem to make their lives pretty hard too.

After waiting 25 mins on a none-changing screen, it's finally popped up saying "Disk Part succeeded in cleaning the disk". A little long for a simple clean. It now appears in the list. But now another error!

Windows cannot be installed to this disk. This computers hardware may not support booting to this disk. Ensure that the disk's controller is enabled in the computers BIOS menu.
So, after restarting the machine, it seemed to accept the disk.

It's now installing, I need a coffee.

Tuesday, 28 August 2012

iTunes requires Quicktime 7.5.5 on OS X 10.5.8

After updating a G4 PowerBook to OS X 10.5.8, making sure all the software was up to date with "Software Updates" in the Apple Menu, I tried iTunes. It came up with the error message:
iTunes requires Quicktime 7.5.5

I had a quick look around and found this in Apple Discussions. It appears Software Update does not pick up on the quicktime update. If you go to it gives you a list of quicktime downloads. The latest version at present which goes on OS X 10.5.8 is Quicktime 7.7

After downloading and installing it's working fine.

Monday, 13 August 2012

Current NHR LIclean.hook

So, after a few years of using NHR I've had to add a few more exceptions. Instead of writing them down I thought I'd might as well just paste the LIclean.hook file here:

#set -xv; exec 1>>/tmp/out 2>&1
PATH=/bin:/usr/bin:/usr/sbin export PATH

#The line above is used for logging and troubleshooting only - if you need to troubleshoot this script, remove the "#" from the line.  Once you are done, put the "#" back at the beginning of the line.
logger "LoginHook: Starting for $1"

#Update on June 27, 2006 - added support for 10.3 clients and other improvements
#Update on July 10, 2006 - added feature so that all local users will bypass redirection.
#Update on October 18, 2006 - added $1 directory in /tmp for better folder structure.
#Update on July 13, 2007 - added Leopard compatibility
#Update on July 19, 2007 - added line to delete Clip Gallery Preferences, if they have not already been removed from the local admin's account.
#Update on April 28, 2008 - took out iHook application, as some users didn't like seeing the iHook window during login.
#Update on August 20, 2008 - due to ACL's put on user home folders starting with 10.5.4, this will now remove the ACL so that redirection can still take place on the folders with Deny Delete ACL's.
#Update on September 3, 2008 - added Office 2008 support
#Update on September 17, 2008 - deleted EOF commands, as it was causing issues with some PPC machines.
#Update on October 5, 2008 - added support for SMART board software, as they store caches in ~/Library/Application Support
#Update on March 5, 2009 - fixed issue with finding local users that matched part of the username (added -x to grep)
#Update on March 11, 2009 - added support for Adobe Acrobat 9
#Update on April 17, 2009 - added support for Adobe CS4
#Update on August 17, 2009 - added support for iMovie 09 with network homes
#Update on September 23, 2009 - added support for users with "." in their shortnames (thanks to Ben Gollmer for this addition)

LocalAdminUser=`dscl . -list /Users uid |grep 501 |awk '{print$1}'`
Local=`dscl . -list /Users |grep -x $1`

#This script will re-direct several folders from a user's network home location to the local machine to help with performance.

if [[ "$1" == "$Local" ]]; then
        exit 0

eval home_loc=~$1

#This section will verify that there are no DENY DELETE ACL's on the folders - and if so, remove the ACL so that redirection can still take place.

aclline=`ls -led "$home_loc"/Library/Caches | grep "deny delete" | head -1 | awk -F: '{print $1}' | sed 's/^[ \t]*//'`
chmod -a# $aclline "$home_loc"/Library/Caches

aclline=`ls -led "$home_loc"/Library/Fonts | grep "deny delete" | head -1 | awk -F: '{print $1}' | sed 's/^[ \t]*//'`
chmod -a# $aclline "$home_loc"/Library/Fonts

aclline=`ls -led "$home_loc"/Library/Application\ Support/SMART\ Technologies\ Inc/Gallery | grep "deny delete" | head -1 | awk -F: '{print $1}' | sed 's/^[ \t]*//'`
chmod -a# $aclline "$home_loc"/Library/Application\ Support/SMART\ Technologies\ Inc/Gallery

#This section will delete the Fonts, Microsoft User Data, AppleWorks User Data, SMART Board Gallery folder and Microsoft Preferences folders from the current user's network home location
rm -rf "$home_loc"/Library/Caches
rm -rf "$home_loc"/Library/Fonts
rm -rf "$home_loc"/Documents/Microsoft\ User\ Data
rm -rf "$home_loc"/Documents/AppleWorks\ User\ Data
rm -rf "$home_loc"/Library/Preferences/Microsoft
rm -rf "$home_loc"/Library/Application\ Support/Microsoft/Office
rm -rf "$home_loc"/Library/Application\ Support/SMART\ Technologies\ Inc/Gallery
rm -rf "$home_loc"/Library/Application\ Support/Adobe
rm -rf "$home_loc"/Library/Application\ Support/Google

#This section will clean up the local drive, so that iMovie 09 will work with network homes
rm -rf /iMovie\ Events
rm -rf /iMovie\ Projects

#This section will make a folder for the current user in /tmp
mkdir /tmp/$1/
mkdir /tmp/$1/Adobe
#mkdir /tmp/$1/Adobe/Acrobat
#mkdir /tmp/$1/Adobe/Illustrator\ CS4
mkdir /tmp/$1/Google

#This will copy several Microsoft folders of the local admin user (make sure this account was the first account set up on the client - with UID 501) to /tmp.
cp -R /Users/$LocalAdminUser/Library/Preferences/Microsoft /tmp/$1/Microsoft/
rm -f "/tmp/$1/Microsoft/Clip Gallery Preferences"
cp -R /Users/$LocalAdminUser/Library/Application\ Support/Microsoft/Office /tmp/$1/Office2008
cp -R /Users/$LocalAdminUser/Documents/Microsoft\ User\ Data /tmp/$1/Microsoft\ User\ Data/

#This will create the iMovie 09 folders needed to work with network homes
mkdir "$home_loc"/Movies/iMovie\ Events
mkdir "$home_loc"/Movies/iMovie\ Projects

#This will create an AppleWorks User Data folder in /tmp.
mkdir /tmp/$1/Appleworks

#This will create the user's Caches folder in /tmp.
mkdir /tmp/$1/Caches

#This will check for the Notebook application (SMART) and create a SMART folder in /tmp (if needed).
SMART=`test -e /Applications/Notebook\ Software/ && echo Yes`

if [[ "$SMART" == "Yes" ]]; then
mkdir /tmp/$1/SMART
mkdir -p "$home_loc"/Library/Application\ Support/SMART\ Technologies\ Inc/

#This will change ownership of all files in /tmp/$1 to the current user
chown -R `dscl /Search -read /Users/$1 UniqueID | awk '{print $2}'` /tmp/$1

#This will create the Microsoft and Adobe folders, inside the Application Support folder, for the user.
mkdir "$home_loc"/Library/Application\ Support/Microsoft
#mkdir "$home_loc"/Library/Application\ Support/Adobe

#This last section will set up symbolic links for the current user.
ln -s /tmp/$1/Caches/ "$home_loc"/Library/Caches
ln -s /Library/Fonts/ "$home_loc"/Library/Fonts
ln -s /tmp/$1/Appleworks "$home_loc"/Documents/AppleWorks\ User\ Data
ln -s /tmp/$1/Microsoft/ "$home_loc"/Library/Preferences/Microsoft
ln -s /tmp/$1/Microsoft\ User\ Data/ "$home_loc"/Documents/Microsoft\ User\ Data
ln -s /tmp/$1/Office2008/ "$home_loc"/Library/Application\ Support/Microsoft/Office
ln -s /tmp/$1/SMART/ "$home_loc"/Library/Application\ Support/SMART\ Technologies\ Inc/Gallery
#ln -s /tmp/$1/Adobe/Acrobat/ "$home_loc"/Library/Application\ Support/Adobe/Acrobat
#ln -s /tmp/$1/Adobe/Illustrator\ CS4/ "$home_loc"/Library/Application\ Support/Adobe/Illustrator\ CS4
ln -s /tmp/$1/Adobe/ "$home_loc"/Library/Application\ Support/Adobe
ln -s "$home_loc"/Movies/iMovie\ Events /iMovie\ Events
ln -s "$home_loc"/Movies/iMovie\ Projects /iMovie\ Projects
ln -s /tmp/$1/Google "$home_loc"/Library/Application\ Support/

logger - "LoginHook:  Finished for $1"

#sendLogon extras (IP address and Port number has been taken out)

/usr/bin/sendLogon 123.456.32.1 1234 $1
/usr/bin/sendLogon 123.456.32.2 1234 $1
/usr/bin/sendLogon 123.456.32.3 1234 $1

I've commented out a few lines so I could see what I've done in the past.


so, I've now found that Adobe Bridge has trouble opening. After some investigation it looks like Bridge 4 (CS5) doesn't like symbolic links, but prefers to use the networked folder.

After looking into all the Adobe Applications, the only one now which needs the symbolic link is Adobe Acrobat Pro. So I'm re-writing this script to create a symbolic link from ~/Library/Application Support/Adobe/Acrobat a the local folder.

I'm also getting rid of the Adobe symbolic link so that bridge works.

Addition (08/11/2012)

A few months on and I soon realised that although Illustrator is behaving much better then it did do in the past, I found that if it did not have a symbolic link to the local drive it would have trouble saving and exporting files to the desktop, making it appear that the files were saved, when in fact they had 0kb! This caused a bit of trouble with students at the time, and backups had to be retrieved.

I then added a symlink with ~/Library/Application Support/Adobe/Adobe Illustrator CS5.

I also realised that if it was a new student which didn't have an Application Support folder, NHR would be unable to create an Adobe folder inside this. I hence added a few lines to make the folders:
~/Library/Application Support/
~/Library/Application Support/Adobe/

Sending Files over the internet - Zendto

So, just a quick note because I'll probably forget, but Zendto is a very nice system to send and receive files over the internet.

It's a nice simple system which is why I like it.

Tuesday, 31 July 2012

Joomla pop-up logins

I think it's all the rage now-a-days to have fancy pop-up login screens. It means it doesn't take up any 'real-estate' on the home page.

Here's a few free plugins for Joomla which can do it:

  • Q Login Popup
    • requires registration to download
    • as it took a while to get the validation
    • adds itself as a module
      • you just have to "publish" it and put it in a position
      • also, put you want it to appear on all pages
    • colour didn't match, so I re-did the button. Placed it in 
      • /modules/mod_qloginpopup/images/login.png
  • YJ Pop Login
    • downloaded without registration
    • it adds a module
      • you just have to "publish" it and put it in a position
      • also, put you want it to appear on all pages
    • It just showed all of it (not just the button). Javascript must have a conflict somewhere

Monday, 30 July 2012

Creating a Joomla Template

So, I've made a few websites in Joomla now, but I've only been able to 'cobble' them together either by editing existing templates, or by deleting content from a traditional website I've made and putting the right code it.

This second way is close enough to the real thing. I've found this nice tutorial on how to do it for Joomla 1.5. But it's not too different from the latest version (2.5).

I think the easiest way is to have your own machine setup as a webserver (see this blog on setting that up) and editing the files locally, and easily seeing what Joomla makes of it by viewing the pages through the web browser.

On top of this I found this youtube video explaining how you can setup dreamweaver to interact with the website locally so you can edit all files in dreamweaver. To do it:

  1. Set up a new site in Dreamweaver
  2. edit the local folder to that of the joomla site
  3. in server enter the web URL which you need to type in the browser to access the site
  4. Make sure you tick the "testing" box

Here are some screenshots:
locate the local root folder for that particular joomla website

enter the weburl that the computer has to go to view the website

Make sure to tick the "testing" box.
If you havent got a new template in the joomla site yet, just create the folder within the templates folder, make index.php and templateDetails.xml files (found tutorial here), then go to extensions > extension Manager > Discover > press Discover button. If you're templateDetails.xml file is the correct format then you should see it in the list. Tick and click install.

To edit a template:

  1. load up its "index.php" in it's own template folder
  2. click "live view"
  3. click yes to the dialogue box
  4. you will need to change the address of the viewing page to the root of the joomla site. i.e. you are editing the main template, which changes the whole site. So you view the website like normal
I did have a few problems refreshing whatever changes I'd made. The simplist was to just go to File > Save All, which would then work.

Saturday, 28 July 2012

Enabling Smart search in Joomla

Now I'm getting on with my website thought it best to add some sort of search. Just as I'm adding a module I see "Smart Search" and "Search". Which one?

So, did a little search on google and found this article from It seems that "Smart Search" is a newer and fancier "Search" which pretty much replaces the "Search". Even has autocomplete (who needs google now).

So I thought I'd quickly mention the steps to putting this search box onto the Joomla website:
  1. Enable the "Content - Smart Search" plugin in "Plug-in Manager"
    1. by changing the red circle to a green circle.
  2. Index your website
    1. click on "Components" > "Smart Search"
    2. then click on the large icon labelled "Index" at the top
    3. this might take a while depending on the size of your website
  3. Make a "Smart Search" Module with a position on your website
    1. Go to Module Manager
    2. New module
    3. Type = Smart Search
    4. select a position
    5. Save
  4. Cheers

Wednesday, 25 July 2012

Creating a blog and posting using

  1. Load up a web browser, and in the address bar, type:
  2. If you have a ‘Google account’ then you can “Sign In”, if not then click the “Sign Up” button.
  3. Now you have an account you can create a Blog.
  4. Name your blog something relevent to the information you will put on it.
  5. This will be the web-address of your blog. Make it short and relevent.
  6. Choose how you want it to look (this can be changed afterwards) and click “Create blog”
  7. Click “New Post” button to the right of the blog you created
  8. Give your post a title.
  9. Write your article here
  10. Click “Publish” when you’re finished
Finished Tutorial Here:->

Saturday, 21 July 2012

installing Trains and Zeppelin Mod for Minecraft

So, my son would like to play this "Trains and Zeppelin Mod" for minecraft. Talk about complicated! I've got a mac which adds a little more complication. Anyway, here's how to do it:

  1. go to terminal and type:
    1. cp ~/Library/Application\ Support/minecraft/bin/minecraft.jar ~/Library/Application\ Support/minecraft/bin/minecraft_backup1.jar
      1. this creates a backup of your .jar file
    2. mkdir ~/temp
      1. this makes a folder in your home folder called temp
    3. cd ~/temp
      1. this moves you into this folder
    4. jar xf ~/Library/Application\ Support/minecraft/bin/minecraft.jar
      1. this unzips the .jar file into the temp folder
  2. download:

    1. Modloader -> download file here
    2. ModloaderMp -> download file here
    3. Minecraft Forge API -> download file here
    4. Trains and Zeppelin Mod -> download file here
  3. unzip these zip files (double click on them)
  4. copy, in the order downloaded, all the contents of these zip files to the ~/temp/ folder on your home drive
    1. a dialogue box will appear saying something along the lines of:
      1. do you want to overwrite this file
    2. tick the "apply to all" box and click "replace"

  5. finally, go back to "Terminal" and type:
    1. jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./
      1. this zips the temp folder up into the .jar file in the right location
When the game is now loaded, it will tell you down the bottom left that there are 4 mods, and it should all work.

I had a bit of trouble before, but I've found I did things a little different then suggested. Heres some things I did different:
  1. I loaded the game up after just installing the Modloader, ModloaderMp and Minecraft Forge API without the Trains mod installed.
    1. I then went through the process again, and added the Trains and Zeppelin Mod
  2. I didn't delete the META-INF folder in the .jar file
  3. I couldn't find the trainconfig.cfg file.
    1. turns out it is automatically made when minecraft is started.
    2. doesn't look like this file works on Mac OS X 10.6.8?!
    3. None of the Keys work!!!!!!
Hope it helps.

One note I'd like to make is:
  • Why is this such a long winded process. The way I would like to add Mods is to:
    • double click a file which loads and says it's installed!
But, I ask myself, why don't I do this. Well I guess I expect too much.

Thursday, 12 July 2012

sendLogon and NHR for OS X 10.7

So, I'm just setting up some new machines with OS X 10.7.4 installed. I tried to install the NHR and sendlogon scripts which I implemented here, but looking into it, it doesn't seem to work.

The NHR side which redirects folders from the networked home drive to a local folder works beautifully, but when I browse the internet, it doesn't let me on sites which i am authorised to go on? So, to conclude, the LIsendLogon.hook isn't running properly.

The one thing I wanted to happen was to get the loginhook to run a script which in turn ran a sendLogon script and the NHR script. But it was an 'either/or' situation. I could never have both scripts running no mater how hard I tried.

After trying many different things, I ended by just giving up and putting the lines for sendLogon into the LIclean.hook script at the bottom. Very frustrating.

I did find an interesting and useful article on running a centralised login script here.

I also found a nice little course on the subject of scripting which I found very useful here and another here

Wednesday, 11 July 2012

Creating a bootable OS X 10.7 install disk

As i was looking into imaging some new iMacs, I came across this article on how to create a mac bootable 10.7 disk. Simple procedure really:

  1. go into recovery mode (command + R)
  2. plug in external drive
  3. reinstall mac os x
  4. select external drive to install on
  5. after it has finished downloading, and has gone to a black screen, unplug external hard drive.
  6. the file InstallESD.dmg will be on the external. This is what you want.
  7. load up disk utility and restore this image on a volume
  8. done

OS X 10.7 and 10.8 and 802.1X wifi configuration

So, new operating system new things to do. Just read the Help Center bit on "Connect to a network that requires 802.1X authentication". The interesting bit was:

In most cases your network administrator provides a configuration profile that contains the information and settings you need to authenticate with the network.

To get on the 802.1X you now need to do a lot of stuff. Looks like it needs a .mobileconfig file.

Just read this Apple Discussion on it which gives you a nice guide on how to do it.

After much time we finally got around to having a network administrator on the case.

So, we were looking for a way to connect to the wifi without using usernames and passwords. The answer was EAP-TLS. We followed the link above and created a certificate for the computer. Only trouble was we had problems enabling TLS on the wifi. Network administrator looking into this I think.

We resorted to PEAP I think. We made a .mobileconfig file using the iphone configuration utility, got hold of the wifi certificate, put that in the credentials payload of the .mobileconfig file, and loaded it up on the machine in question. It added the certificate to the Users keychain (not system!) and put the old 802.1X stuff in the network settings! When we turned the wifi on it tried to connect to the wifi (with the username and password we set in the .mobileconfig file) but it came up with an error. Could not verify the server. Looks like the configuration file was at fault. Seems that the certificate server is automatically dishing out expired certificates. Network administrator is trying to fix.

A handy page to manually create a .mobileconfig file with more settings then the iphone configuration utility can create was here. You can specify the certificate to be added to the system keychain, and also that the wifi loads at login window!


So far so good. Our network team has now made a new wifi SSID with EAP-TLS. Using this tutorial we made the machine have a signed certificate from the certificate server, and add the profile for the wifi. We used this certificate (with the username - host/DNSnameofMachineHere) to successfully get onto the wifi, but did it manually.

Next time we'll need to set this file up with the wifi details properly (we didn't add system login window stuff here).


We're now giving up on the old 'manually edit the .mobileconfig file' and going for the 'Mavericks Server' option.

Here's the help page on it

So, we've set up a mavericks server (just a computer with Mavericks installed and the "Server" app installed).

I've enabled "Profile Manager" and set it up so in a browser you can go to:

go to groups, general.
from the list of payloads, go to AD Certificate

found this article on how to configure the page

Not quite working yet. Getting an error when installing the profile.

Need to add devices, but I think it looks like you have to add users which are in charge of devices? Not sure.

Tuesday, 10 July 2012

Creating a Master Image for Mac OS X 10.7

So, I've just got a bunch of new iMacs and I'm creating a new master so I thought I could note down what I'm doing.

  1. Go through the initial steps of OS X 10.7.3
    1. username - Administrator
    2. fill in details
  2. setup some System Preferences
    1. in System Preferences > Users
      1. Guests
        1. Tick "Allow Guests to log into this computer"
      2. Login Options
        1. tick the "show username and password fields"
        2. go to Join and open Directory Utility
          1. Active Directory
            1. domain
            2. name the computer
              1. domain admin username and password
          2. LDAPv3
            1. put in mac server address
            2. its all automatic
          3. goto Edit > Enable Root User
            1. enter a special root password
    2. System Preferences > Network
      1. Ethernet > Advanced > Proxies > Automatically Detect Settings
    3. System Preferences > Date and Time
      1. tick "set date and time automatically" and give it a****
    4. System Preferences > Sharing > Remote Management
      1. Tick Remote Management
      2. click "Options"
        1. tick all of these
      3. click "Computer Settings"
        1. tick all of these
        2. put a password for VNC
  3. Install stuff:
    1. Sendlogon
      1. for proxy login
    2. NHR
      1. for Caches and other network folder redirections
    3. Fix NHR and Sendlogon
      1. so that sendlogon is added to the NHR login script
    4. UniFLOW client
      1. for print management info
    5. Intuos drivers
      1. for tablets
    6. Brushes Viewer
    7. Adobe Creative Suite 5
      1. mount the CD Master dmg file and run the normal install file
        1. don't need to drag it to the local drive
    8. Adobe Acrobat Pro 9
      1. just drag it to the Applications folder
      2. run it once to put in serial number
    9. Update Photoshop Camera RAW
    10. Burn 2.5.1
      1. for burning a multitude of different disks and ISO's
    11. Carbon Copy Cloner 3.4.5
      1. just drag app to Applications folder
    12. Celtx 2.9.7
    13. ClickView 2.0.0
      1. comes with Flip4Mac
    14. DivX 7.3
    15. DropBox 0.7.110
      1. drag to Applications folder
    16. Firefox 13.0.1
      1. drag to desktop
      2. if there's no profile in the users library it defaults to "use system settings"
    17. Google Chrome version 20
    18. Sketchup 8.0.14345
    19. Final Cut Studio 2

      1. Running Final Cut Studio 2 from disk it comes up with:
        1. You can't open the application FinalCutStudio.mpkg because PowerPC applications are no longer supported.
        2. Doh!
      2. I did a search on Google and found this Blog Article on how to manage it
        1. Basically run the installer from Command Line by typing the following:
        2. sudo installer -package /Volumes/Final\ Cut\ Studio/Installer/FinalCutStudio.mpkg -target /
        3. Came up with lots of Errors though, as described in the blog:
          1. 2012-07-09 13:02:25.728 installer[26889:9803] PackageKit: Token definition is missing bundle identifier, skipping: {
          2.     path = "/Applications/Final Cut";
          3.     searchPlugin = CheckPath;
          4. }
        4. looks like it's searching for previously installed versions?
      3. In the end it came up with:
        1. installer: The install was successful.
      4. although it usually takes a few hours to install, this took 8 minutes
        1. It's because it didn't install the extras
        2. To do so, you can do it from the disks:
          1. Audio Content for Soundtrack Pro
          2. Motion Content
          3. DVD Studio Content
          4. LiveType Media 1 and 2
            1. comes up with the same PowerPC errors
            2. Type:
              1. sudo installer -package /Volumes/LiveType\ Media\ 1/Installer/LiveTypeMedia1.mpkg -target /
              2. sudo installer -package /Volumes/LiveType\ Media\ 2/Installer/LiveTypeMedia2A.pkg -target /
    20. XDCAM Final Cut Pro Plugin
      1. Needs Final Cut Pro 6.0.3 or above. Installed version is 6.0.1.
        1. Update via Software Update
    21. Handbrake 0.9.6
    22. iWork '09
    23. Logic Studio
      1. Same error as with Final Cut Studio
      2. Found this website with similar results
      3. Typed this:
        1. sudo installer -package /Volumes/Logic\ Studio/Installer/LogicStudio.mpkg  -target / -verbose
        2. decided to use verbose mode to see what exactly happens. Most interesting.
      4. I think it helps if you have all your disks saved as disk images and all mounted at once. Seems to work.
      5. Not sure if it installed the extras. To make sure I ran the Audio Content installer
      6. What might be worth looking into is this forum above for installing extras
        1. ran this as in the website above:
          1. for f in /Volumes/Jam\ Pack\ Content\ 1/Installer/Packages/*.pkg; do sudo /usr/sbin/installer -pkg "$f" -target / -verbose; done
    24. Maya 2008
      1. although not the licence aw.dat file
    25. Microsoft Office 2011
    26. MPlayer OSX Extended R14
      1. Plays nearly all Video formats
    27. Nikon ViewNX 2
      1. for Nikon Camera RAW stuff
    28. Omni Disk Sweeper 1.7.2
      1. for checking disk space issues
    29. Libre Office 3.5.4
      1. basically an off-shoot of OpenOffice
    30. RealPlayer SP 12
      1. for streaming stuff
      2. might have to put in proxy settings?
        1. not even sure if we're using this?
        2. yes, it is setup by autodetect settings
        3. set through ~/Library/Preferences/com.RealNetworks.RealPlayer
        4. particularly "RealPlayer\UseSystemHTTPProxy" string "1"
    31. Skype
      1. you never know!
    32. SMART board 10.8
      1. Apparently rolling out 11 next year
    33. VLC Media Player 2.0.2
    34. Canon MFD drivers
      1. whoops, missed off these!
  4. Log out and back in as Networked user to connect to internet (with sendlogon)
    1. Note: needs to be on the Mac VLAN to use sendlogon
    2. Test Safari and other things for internet connectivity
      1. working
    3. Do an Apple Software Update
      1. update from 10.7.3 to 10.7.4
      2. airport update
      3. iTunes 10.6.3
        1. connection reset by peer
        2. looks like a manual download
      4. Camera RAW update
      5. etc...
    4. Microsoft Update
    5. Adobe Update
    6. App Store Updates!
      1. it's a new one to me
      2. you also NEED an Apple ID!
      3. having a few problems downloading BIG updates for iPhoto and iMovie
        1. seems to stop 400MB into the download and says it's having trouble
        2. Lucky thing is that it carries on from where it left off, so just keep pressing the retry button and it'll eventually download it all
      4. Install more Apps:
        1. iBooks Author
          1. for making iBooks!
      5. SketchBook Express
        1. made by SketchBook Pro people
      6. Need to look into App Store Permissions
        1. can anyone install via the App Store?
        2. is it just saved to their Home Drive?
        3. Confussed!
        4. this forum might help
    7. Test all Applications:
      1. Illustrator
        1. Working
      2. Photoshop
        1. Working
      3. InDesign
        1. Crashes when you try the Spell Check
          1. turns out NHR gives the wrong permissions for the ~/Library/Application\ Support/Adobe folder
          2. I changed NHR so that this Adobe folder is a symlink instead of the child folders for Illustrator and Acrobat
            1. added these lines to LIclean.hook
              1. rm -rf "$home_loc"/Library/Application\ Support/Adobe
              2. mkdir /tmp/$1/Adobe
              3. ln -s /tmp/$1/Adobe/ "$home_loc"/Library/Application\ Support/Adobe
          3. overwrote LIclean.hook in NHR.pkg/Contents/Archive.pax.gz
            1. first unzip it
            2. replace file
            3. zip it back up again:
              1. ditto -c --keepParent /Archive/Library Archive.pax
              2. gzip -9 Archive.pax 
      4. Fireworks
        1. working
      5. Flash
        1. working
      6. Dreamweaver
        1. hangs when loading up.
        2. updating to 11.0.4
          1. now it prompts to load up extension manager every time!
          2. but it does end up loading Dreamweaver
      7. Acrobat Pro
        1. Working
      8. Aperture
        1. Working
      9. Audacity
        1. Working
      10. BookSmart
        1. permissions issue with .app folder
          1. gave everyone read only
        2. crashes on load up
          1. found this entry in Console Log
            1. 06/07/2012 15:21:23.621 [0x0-0xb40b4].com.blurb.booksmart: log4j:ERROR setFile(null,true) call failed.
            2. 06/07/2012 15:21:23.621 [0x0-0xb40b4].com.blurb.booksmart: metrics.log (Permission denied)
            3. 06/07/2012 15:21:26.275 ([0x0-0xb40b4].com.blurb.booksmart[6906]) Exited with code: 1
          2. assuming it's a problem with folder permissions in ~/Library/
          3. not sure it's worth fixing?
      11. Word
        1. worked
      12. Powerpoint
        1. worked
      13. Excel
        1. worked
      14. outlook
      15. Google Chrome
        1. crashes on startup
          1. loads a window with google mail login screen and then sends crash report.
          2. just tried creating a symlink to the local drive for ~/Library/Application\ Support
            1. ln -s /Users/Shared/temp/Google ~/Library/Application\ Support 
          3. Works a treat
          4. Need to add this to NHR scripts
            1. Viewed the Package contents of NHR.pkg
            2. unzipped Archive.pax.gz
            3. went into Library/Scripts/
            4. edited LIclean.hook
              1. added these lines:
              2. mkdir /tmp/$1/Google
              3. rm -rf "$home_loc"/Library/Application\ Support/Google
              4. ln -s /tmp/$1/Google "$home_loc"/Library/Application\ Support/
            5. made it into an Archive.pax.gz file (found in this forum)
              1. ditto -c --keepParent /Volumes/General\ Work/Problem\ Solve/NHR\ with\ new\ redirections/Archive/Library /Volumes/General\ Work/Problem\ Solve/NHR\ with\ new\ redirections/New-12-8-2012/Archive.pax
              2. gzip -9 /Volumes/General\ Work/Problem\ Solve/NHR\ with\ new\ redirections/New-12-8-2012/Archive.pax 
            6. put it back in the Package Contents
          5. done
        2. Picks up Proxy settings from operating system
      16. Firefox
        1. works a charm
        2. Picks up proxy settings from system
      17. Celtx
        1. worked
      18. Clickview
        1. needs the server set as clickview.s*******
          1. set in file: ~/Library/Preferences/clickview.player.server.plist
          2. either set on xserves managed preferences
          3. or on the OS X managed preferences
      19. fix everything please
        1. works beautifully
      20. Sketchup
        1. worked
      21. HandBrake
        1. Worked
      22. iBooks Author
        1. Worked
      23. iMovie
        1. Worked
      24. iPhoto
        1. prompts to upgrade library and fails as it is on an unsupported media
          1. Known Problem
      25. iTunes
        1. worked
      26. Pages
        1. Worked
      27. Keynote
        1. worked
      28. numbers
        1. worked
      29. Libre Office
        1. worked
      30. MPlayer OSX extended
        1. Worked
      31. realPlayer
        1. worked
      32. SketchBook Express
        1. Worked
      33. Skype
        1. worked
      34. Notebook
        1. needed license but we have it
        2. worked
      35. Final Cut Pro
        1. worked
      36. Logic
        1. worked
    8. Log out of Networked user account
  5. Image a Master from the machine
    1. Unbind from Active Directory
    2. delete unwanted files
    3. Boot from another disk. Either:
      1. Netboot (if possible?)
        1. not possible because server is running OS X 10.4.9 with Deploy Studio RC20
      2. boot from install CD, mount server drive and image machine using disk utility
        1. does not come with disks anymore
        2. found this article explaining the new procedures
          1. boot up into Recovery Mode (command + R)
            1. Nice article here about Recovery Mode
      3. target disk mode to a machine which can netboot (or run the /Utilities/Deploy Studio Runtime)
    4. Make a image from a disk
  6. test the master image works
    1. get another machine
    2. Unmount disk which is being re-imaged and image it. Several Ways:
      1. target disk mode to another machine
      2. Recovery mode (command + R)
        1. go to terminal
        2. type:
          1. mkdir /Volumes/Images
          2. mount -t afp afp:// /Volumes/Images
        3. exit terminal
        4. open disk utility
        5. restore
        6. source - select disk image on the server
        7. target -  select partition
      3. done

HP Shortcut Manager

Whilst imaging a machine I noticed a process taking up 100% of one of the cores named HPShortcutManager. After a quick search I found this Apple Discussion on the issue. It appears there's an issue with HP Scanjet Scanners button manager. It isn't very effecient at waiting for someone pressing one of the buttons on the front of the scanner.

Best way to fix is by deleting the
sudo rm -R /Library/Application\ Support/Hewlett-Packard/HP\ Scanjet\ Scanner/