Announcement

Collapse
No announcement yet.

Script to add Group to the local group.

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

  • Script to add Group to the local group.

    hi!how to write a script to add group to the client local group.Example like below.

    Add "RG-CHI-Hhelpdesk" to PENLT0010 PC local group without knowing the PENLT0010 administrator id and password.

  • #2
    Re: Script to add Group to the local group.

    What is "RG-CHI-Hhelpdesk" is it a domain group with Global group scope?

    run the script as computer logon script.
    http://windows.stanford.edu/Public/I...ocalgroup.html

    btw,
    Instead of using a script, you can also use a 'Restricted Groups' policy to accomplish this.


    \Rems

    This posting is provided "AS IS" with no warranties, and confers no rights.

    __________________

    ** Remember to give credit where credit's due **
    and leave Reputation Points for meaningful posts

    Comment

    Working...
    X