How can I script adding the group "Authenticated Users" into the local
"Administrators" group on a computer?
I have tried the following script and it cant find the group:-
Set objLocalGroup = GetObject("WinNT://" & strComputer &
"/Administrators,group")
Set objDomGroup2 = GetObject("WinNT://NT Authority/Authenticated Users")
objLocalGroup.Add(objDomGroup2.ADsPath)
Is what I want to do even possible ?
Bookmarks