Does this look right

(imported topic written by boostaz191)

Action Parameter Query “adgrp” with Description “Enter Domain\Group to be added”

run net.exe localgroup administrators {parameter “adgrp” of action} /add

(imported comment written by brolly3391)

Hello boostaz1,

Action Parameter Query “adgrp” with Description “Enter Domain\Group to be added”

rundetached “{pathname of system folder}\net.exe” localgroup administrators {parameter “adgrp” of action} /add

Cheers,

Brolly

(imported comment written by ErnieF91)

Here what we have been using. A word of caution though, the case of the group names must match or it fails.

DOS net localgroup Administrators “{parameter “UserID” of action}” /ADD

(imported comment written by brolly3391)

Ernie and boostaz1,

Upon careful reading of the MS information it appears that I was the one who was confused. Your original action script was fine.

:confused:

Cheers

Brolly