Script Error - A member could not be added to or removed from the local group because the member
I was able to create a user successfully and when looking at the local users it is listed there. Also when looking at the groups "Network Configuration Operators," is listed. Tried adding the new local user I created to that group and received the error "A member could not be add to or remvoed from the local group because the member does not exist." I can see the user so I know if fact it does exist. Below is the code I'm using. The error also states that the error is in line 5 char 1.
strComputer = "."
Set objGroup = GetObject("WinNT://" & strComputer & "/Network Configuration Operators,group")
Set objUser = GetObject("WinNT://" & strComputer & "/testuser,user")
objGroup.Add(objUser.ADsPath)

