I used to query group memberships using net user. Problems if you have long 
group names. But can be done.

Sent from my POS BlackBerry  wireless device, which may wipe itself at any 
moment

-----Original Message-----
From: Kurt Buff <[email protected]>
Date: Mon, 8 Aug 2011 12:05:30 
To: NT System Admin Issues<[email protected]>
Reply-To: "NT System Admin Issues" 
<[email protected]>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-windows.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
> Any opinion expressed in this e-mail or any attached files are those of the 
> individual and not necessarily those of Herefordshire Council.
> You should be aware that Herefordshire Council monitors its email service.
> This e-mail and any attached files are confidential and intended solely for 
> the use of the addressee. This communication may contain material protected 
> by law from being passed on. If you are not the intended recipient and have 
> received this e-mail in error, you are advised that any use, dissemination, 
> forwarding, printing or copying of this e-mail is strictly prohibited. If you 
> have received this e-mail in error please contact the sender immediately and 
> destroy all copies of it.
>
> ~ 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
>
>

~ 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


~ 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

Reply via email to