VBS Scripted computer account creation

Home Forums Scripting General Scripting VBS Scripted computer account creation

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    Oby
    Member
    #122919

    Hallo,

    I posted my question in an old 3d and been suggested to open a new one..
    Here is the problem:

    I have applied all the goods from the

    VBS/Batch: creating ou’s and computers and users” 3d.

    I just have one struggle: how can I set who can join the computers to the domain as I would do pre-creating the Computer Account by hand? Searching the Internet I found and attribute named

    “edsaJoinComputerToDomain”.
    I have entered it in the script for the computer account creation as follows:

    -…………….
    -…………….

    objComputer.Put “edsaJoinComputerToDomain”, “groupName”

    Once I run the script I get the error message:

    “The specified directory service attribute or value doesn’t exist”.

    Any idea on how to set this value, in case it is correct, or what attribute should I enter in the script in order to set the correct group?

    Thanks!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.