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. 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:
    575
    Sudharshan B S
    Sep 18, 2003
  2. Robert

    Modifying timeout till 'End Program' window is displayed

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

    DiskQuotaControl hangs with new user accounts

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

    How to track new User Accounts being created?

    Guest, Feb 23, 2005, in forum: Microsoft Windows 2000 Developer
    Replies:
    0
    Views:
    357
    Guest
    Feb 23, 2005
  5. Mel
    Replies:
    0
    Views:
    598
Loading...

Share This Page