Create a local user and add him to Administrators

BatchPatch Forums Home Forums BatchPatch Support Forum Create a local user and add him to Administrators

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14287
    avicho
    Participant

    Hi there.

    Can you please guide me how to use BatchPatch to create a local user and add him to the Administrators local group on a remote PC.

    Thanks,
    Avi

    #14288
    doug
    Moderator

    This tutorial demonstrates how you can use BatchPatch to execute a script to modify local group membership on multiple computers:

    Using BatchPatch to Modify Local Group Membership on Multiple Remote Computers

    You can also use the same concept that is described in the tutorial above to create a local user account first. In the tutorial above we use the following command to add an account to the local administrators group:

    net localgroup Administrators USERNAME /add

    But you can use this command to first create a local account:

    net user USERNAME PASSWORD /add

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.