Create Local User with VBScript

This script allows to create a local user using VBScript.

 

In this example:

  • Creation of a local user (login “dam” / Password “dampwd”)
  • Selection of the option “User cannot change password”
  • Selection of the option “Password never expire”
  • Selection of the option “Account deactivated”

To play with local users, we use the property ComputerName of the object “WScript.Network