I am looking for a way to change the password of a local user account (local Administrator) on a Windows (XP in this case) machine. I have read the CodeProject article about
Try the DirectoryEntry class instead of ManagementObject class.
DirectoryEntry
ManagementObject