Yeah, I was going to point out the same thing. Under what circumstance does IFMEMBER not work?
It's working just fine for me on Win7 x64 * * *ASB* *http://about.me/Andrew.S.Baker* *Harnessing the Advantages of Technology for the SMB market… * On Mon, Aug 8, 2011 at 3:39 PM, Crawford, Scott <[email protected]>wrote: > The version of ifmember that I'm using is from 2003 from a resource kit. > Anyway, it still works fine on Win7-64. I don't believe it came as part of > any OS so I'm not sure what this blog post is referencing. > > Note that Net User doesn't do recursive group searching like ifmember.exe > does. So, if you're a member of GroupA and GroupA is a member of GroupB, > Net User will not show that you're a member of GroupB, but IfMember will. > > > -----Original Message----- > From: Kurt Buff [mailto:[email protected]] > Sent: Monday, August 08, 2011 2:06 PM > To: NT System Admin Issues > Subject: Re: Drive mapping via login script > > Huh. > > Didn't know that. > > No wonder my minion's mapping drives manually. > > Time to refactor our login scripts. > > Kurt > > On Mon, Aug 8, 2011 at 08:25, Randal, Phil <[email protected]> > wrote: > > Ifmember.exe is cool, but see here: > > > > http://clintboessen.blogspot.com/2011/02/ifmemberexe-doesnt-work-windo > > ws.html > > > > There comes a point where it's easier to do it in Kixtart than mess about > like this... > > > > Cheers, > > > > Phil > > > > -- > > Phil Randal | Infrastructure Engineer > > NHS Herefordshire & Herefordshire Council | Deputy Chief Executive's > > Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, > > Hereford, HR2 6JT > > Tel: 01432 260160 > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] > > Sent: 08 August 2011 17:21 > > To: NT System Admin Issues > > Subject: Re: Drive mapping via login script > > > > IFMEMBER.EXE can parse out Group memberships and is a part of several > Windows Resource Kits. > > > > usage: ifmember.exe [/verbose] > > [/list] groupname ... > > /verbose will print out all matches. > > /list will print out all groups user is a member of. > > Return Code shows number of groups this user is a member of. > > Example: ifmember.exe /v /l "MyDomain\Domain Users" Users > > Everyone > > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin
