Are there any functions in netapi32.dll or in some other .dll that can remove a remote user account from the Administrators group? Is it possible to do with NetLocalGroupDelMembers ? If it is possible, where are parameters of admin’s name and password in this function ?
Are there any functions in netapi32.dll or in some other .dll that can remove
Share
Yes it is possible, as per the documentation you just pass “domainname\username” in the
LOCALGROUP_MEMBERS_INFO_3structure.You don’t specify the username and password when calling it, you just need to be running as that user.