Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win NT password programm manipulation

Status
Not open for further replies.

lullcat

Programmer
Jun 5, 2001
3
UA
Hi all, i have next problem:
1. I have nearly 200 NT 4 (sp 5/6a) WS in workgroup (not in domain)
2. I want to change administrator password on all workstation
3. VBS f.e.
Dim usr As IADsUser
Set usr = GetObject("WinNT://Microsoft/administrator,user")
usr.ChangePassword "oldpassword", "newpassword"
to generate the message:
Line: 1
Char: 9
Error: Expected end of statement
Code: 800A0401
Source : Microsoft VBScript compilation error

Anybody know how resolve this problem or offer other way for programm change NT password
LullCat \O/
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top