Modifying User Accounts

Discussion in 'Microsoft Windows 2000 Developer' started by Sang, Aug 6, 2003.

  1. Sang

    Sang Guest

    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.
     
    Sang, Aug 6, 2003
    #1
    1. Advertisements

  2. Sang

    ASSEM Guest

    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,

    "Sang" <> wrote in message
    news:025a01c35c50$3cf9d190$...
    > 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.
    >
    >
    >
    >
    >
     
    ASSEM, Aug 10, 2003
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tony
    Replies:
    1
    Views:
    1,271
    William DePalo [MVP VC++ ]
    Aug 11, 2003
  2. Sudharshan B S

    registry access for Guest user and not a admin priviliged user

    Sudharshan B S, Sep 18, 2003, in forum: Microsoft Windows 2000 Developer
    Replies:
    0
    Views:
    703
    Sudharshan B S
    Sep 18, 2003
  3. Rory

    Edit AD accounts from Outlook contacts

    Rory, Oct 15, 2003, in forum: Microsoft Windows 2000 Developer
    Replies:
    0
    Views:
    462
  4. Robert

    Modifying timeout till 'End Program' window is displayed

    Robert, Oct 17, 2003, in forum: Microsoft Windows 2000 Developer
    Replies:
    0
    Views:
    656
    Robert
    Oct 17, 2003
  5. Mark

    DiskQuotaControl hangs with new user accounts

    Mark, Sep 30, 2004, in forum: Microsoft Windows 2000 Developer
    Replies:
    0
    Views:
    721
  6. Guest

    How to track new User Accounts being created?

    Guest, Feb 23, 2005, in forum: Microsoft Windows 2000 Developer
    Replies:
    0
    Views:
    451
    Guest
    Feb 23, 2005
  7. Mel
    Replies:
    0
    Views:
    690
  8. Denis @ TheOffice
    Replies:
    3
    Views:
    839
    Ben Voigt
    Jun 20, 2006
Loading...