Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Add Domain User Local Group Administrators Admin ADSI LDAP WINNT COM
; Add a domain user ( named fflintstone in the bedrock domain) to the ; local Administrators group on the computer dino-01 ; ; Note: Must use WINNT provider when dealing with local groups ; strComputer = "dino-01" Set objGroup = GetObject("WinNT://" & strComputer & "/Administrators") Set objUser = GetObject("WinNT://bedrock/fflintstone") objGroup.Add(objUser.ADsPath)
Article ID: W18045
Filename: Add Domain User to Local Group.txt
File Created: 2012:10:03:09:32:24
Last Updated: 2012:10:03:09:32:24