Announcement

Collapse
No announcement yet.

Adding users to NT Groups (Local and Global)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding users to NT Groups (Local and Global)

    Does anyone know of a command line utility that will allow me to add users to a specific group?

    I am using the templates feature and after the template has been applied to new users we run a batch file to do a variety of different things and one of the items is to add that new user to a specific group.

    i.e. The %2 variable is the user so the command line should be something that can incorporate the %2 variable. I have tried the usrtogrp.exe resource kit utility be it needs to read a text file and I cannot get the %2 into that text file?

    Any help would be most appreciated.

    Thank You.

  • #2
    Re: Adding users to NT Groups (Local and Global)

    You should be able to use ntuser.exe for this. It is part of NTSec at http://www.pedestalsoftware.com/ntsec/index.htm

    Comment

    Working...
    X