Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Add domain group to local administrator remotely

Keywords:   wntMemberSetAdd domain group to local administrator remotely

Question:

Is there any easy way to add a domain group, such as "domain\domain admin" to the local administrators group of computers remotely? I have to add a group to the local admin group on about 3000 computers.

Answer:

Use the NT extender (WWWNT34I.DLL). Specifically, what you want to do is shown in the sample code in the help file. Refer to the documentation for the function wntMemberSet() to see the sample code.
Article ID:   W14877