Tried to do it with just the admin account, but it won't delete the last user. Says there must always be one user with admin rights. Problem is I'm short on time at the moment. It's still being used logged in as admin. Not ideal but it'll do for now.
I'll have a go with your other suggestion when the machine comes free. Thanks for your help.
This thread is now locked and can not be replied to.