I have come across this problem a few times before....
On a few occasions I've tried to delete/archive local users from OS X ( Mountain Lion and Mavericks) and after you wait ages (with spinny wheel) it says 'cannot delete user'. No matter how many times you try it - it never works.

Has anyone else had this problem at all?