Hi all, I am trying to write vb script to change the local admin password. As of now I have this and it does the job. strComputer = "." Set objUser = GetObject("WinNT://" & strComputer & "/Administrator") objUser.SetPassword "1234" I would like to add an If statement that if the password is already 1234 then it should exit. Thanks, Tom