Please Read: Significant Update Planned, Migrating Forum Software This Month

See more
See less

vbscript script writing

  • Filter
  • Time
  • Show
Clear All
new posts

  • vbscript script writing

    Could you please develop an automated script for changing passwords for local user accounts on servers. The script should read in a list of servers from a text file, loop through each server, determine and loop through each local account on the server, and change the password for the account -- UNLESS the account is ASPNET or starts with IUSR or IWAM. The script should also create a comma-separated output file with the server name, account name, and new password. The new password can by dynamically generated by adding the server name to the end of a preset character string.

    It would be helpful to write two versions of this script -- one that simply queries the servers and reports the local accounts found on each and one that actually resets the password for the accounts found. Better still, you could have a line at the beginning that asks the user if they want to QUERY or RESET PASSWORDS and use an if/then block to control what action the script performs.

  • #2
    Re: vbscript script writing

    To whom should the invoice be sent?
    Thank you
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    IT Trainer / Consultant
    Ossian Ltd

    ** Remember to give credit where credit is due and leave reputation points where appropriate **