I found the code I was looking for. I might be from one of the previously mentioned KB articles but if you send me your e-mail via a private message. I'll send it to you.
It this doesn't work I think your stuck and will have to recreate the logins and loose the passwords.
David