日期:2009-07-12  浏览次数:20940 次

Set oUser = GetObject("WinNT://machinename/username")
oUser.ChangePassword "oldpassword", "newpassword"

oUser.SetInfo
Set oUser = Nothing

If (err.number <> 0) Then
    It Failed!
Else
    It was successful!
End if