IFMEMBER not showing all groups - HELP!
Posted on 2005-03-07
I am having trouble using the IFMEMBER utility for Windows Servers. What I am trying to do, for example, is use a line like this in my script:
if not errorlevel 1 goto nextTrusteeUser
net use t: \\server\trustee$
For some reason, though, ifmember is not seeing all of the group associations. If I run "ifmember.exe /l /v" it will show only some of the groups I am associated with. If I add myself to the trustee group and run the command again, for example, the trustee group does not appear.
WHAT AM I DOING WRONG? I have tried using:
1. ifmember "groupname"
2. ifmember groupname
3. ifmember "domain\groupname" and
4. ifmember domain\groupname
and it still does not see the domain group membership. Additionally, I have tried creating both a Domain Local group for this, and a Global security group... neither works.
Any help will be greatly appreciated.