I have a list of servers where I have to add the SYSTEM to a security group
Set objLocalSystem = GetObject("WinNT://" & strComputer & "/SYSTEM,group")
Set objLocalGroup = GetObject("WinNT://" & strComputer & "/Backup operators,group")
objLocalGroup.add(objLocalSystem)
however I cannot select SYSTEM this way.
I have tried several scripts, which show me all the users and groups, but system does not appear.
I also added system to a group, and then retrieved the group and listed the members, and then it just printed SYSTEM
So does anyone how I can get the object :
NT AUTHORITY/SYSTEM, so I can add it to the group ??
Set objLocalSystem = GetObject("WinNT://" & strComputer & "/SYSTEM,group")
Set objLocalGroup = GetObject("WinNT://" & strComputer & "/Backup operators,group")
objLocalGroup.add(objLocalSystem)
however I cannot select SYSTEM this way.
I have tried several scripts, which show me all the users and groups, but system does not appear.
I also added system to a group, and then retrieved the group and listed the members, and then it just printed SYSTEM
So does anyone how I can get the object :
NT AUTHORITY/SYSTEM, so I can add it to the group ??