Modifying User Accounts

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.
 
A

ASSEM

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top