STOP. Just THINK about what you said for a second:
Quote:
I am using the following code to change the administrator password from the guest account
How secure do you think a system would be if you could allow a guest or user account to change the password on an Admin account? It doesn't matter what reason you have stuck in your head to justify doing this.
You will NEVER be able to reset the password on an Admin account from anything other that another Admin account.