Changing a password using ADSI.

发表于:2007-06-30来源:作者:点击数: 标签:
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 suclearcase/" target="_blank" >ccessful!
End if

原文转自:http://www.ltesting.net