Modifying User Accounts

  • Thread starter Thread starter Sang
  • Start date Start date
S

Sang

Is there any way that I can change a password making same
as the logon ID for each user using VBS ? I have 10,000
users to change passwords on Windows 2000 Advanced
server. Thank you for your help in advance.
 
Try ADSI

Look into the following VBS
'===============================
Set rootDSE = GetObject("WinNT://<your machine>/<user group>")
For Each obj In rootDSE.Members
obj.GetInfo
WScript.Echo obj.Name
obj.SetPassword "allah_one"
Next
'===============================

Assem,
 
Back
Top