PC Review


Reply
Thread Tools Rate Thread

Logon script issue with "IFMember"

 
 
=?Utf-8?B?RGFu?=
Guest
Posts: n/a
 
      3rd Jun 2005
Is anyone else having issues with the IfMember utility? I have a script with
some pretty basic statements for mapping drives based on group membership
with IfMember and it seems that the tool caches the groups or something.
Seemingly after enough rebbots and time it will update itself but it takes
quite some time. Here's the basics of that area of the script:

If Exist q: (net use /delete q else (echo "No drive currently mapped")
:sales
ifmember "sales"
if not errorlevel 1 goto ops
net use q: \\server\share
GoTo NextSection

ps
ifmember "ops"
if not errorlevel 1 goto finance
net use q: \\server\share2
GoTo NextSection
 
Reply With Quote
 
 
 
 
Jerold Schulman
Guest
Posts: n/a
 
      4th Jun 2005
On Fri, 3 Jun 2005 11:21:01 -0700, Dan <(E-Mail Removed)> wrote:

>Is anyone else having issues with the IfMember utility? I have a script with
>some pretty basic statements for mapping drives based on group membership
>with IfMember and it seems that the tool caches the groups or something.
>Seemingly after enough rebbots and time it will update itself but it takes
>quite some time. Here's the basics of that area of the script:
>
>If Exist q: (net use /delete q else (echo "No drive currently mapped")
>:sales
>ifmember "sales"
>if not errorlevel 1 goto ops
>net use q: \\server\share
>GoTo NextSection
>
>ps
>ifmember "ops"
>if not errorlevel 1 goto finance
>net use q: \\server\share2
>GoTo NextSection



http://support.microsoft.com?kbid=148385 "IFMEMBER.EXE Fails If User Is Member of More Than 15 Groups "
http://support.microsoft.com?kbid=150733 "FPNW Groups Not Recognized from Trusted Domain "
http://support.microsoft.com?kbid=290794 "Ifmember causes Error 122 "

 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGFu?=
Guest
Posts: n/a
 
      6th Jun 2005
Hey Jerold,
So I confirmed that the test user here is not in more than 15 groups and
this is not a trusted domain. The weird thing here is that eventually this
all works but it takes time. Is there a tool like IFMember that doesn't
cache this type of stuff that anyone knows of?
Thanks,
Dan

"Jerold Schulman" wrote:

> On Fri, 3 Jun 2005 11:21:01 -0700, Dan <(E-Mail Removed)> wrote:
>
> >Is anyone else having issues with the IfMember utility? I have a script with
> >some pretty basic statements for mapping drives based on group membership
> >with IfMember and it seems that the tool caches the groups or something.
> >Seemingly after enough rebbots and time it will update itself but it takes
> >quite some time. Here's the basics of that area of the script:
> >
> >If Exist q: (net use /delete q else (echo "No drive currently mapped")
> >:sales
> >ifmember "sales"
> >if not errorlevel 1 goto ops
> >net use q: \\server\share
> >GoTo NextSection
> >
> >ps
> >ifmember "ops"
> >if not errorlevel 1 goto finance
> >net use q: \\server\share2
> >GoTo NextSection

>
>
> http://support.microsoft.com?kbid=148385 "IFMEMBER.EXE Fails If User Is Member of More Than 15 Groups "
> http://support.microsoft.com?kbid=150733 "FPNW Groups Not Recognized from Trusted Domain "
> http://support.microsoft.com?kbid=290794 "Ifmember causes Error 122 "
>
>

 
Reply With Quote
 
Jerold Schulman
Guest
Posts: n/a
 
      6th Jun 2005

Try tips in the 'Tips & Tricks' at http://www.jsifaq.com

4905 » An alternative to the Ifmember command.

5871 » Freeware MemberOf utility.









On Mon, 6 Jun 2005 03:49:17 -0700, Dan <(E-Mail Removed)> wrote:

>Hey Jerold,
> So I confirmed that the test user here is not in more than 15 groups and
>this is not a trusted domain. The weird thing here is that eventually this
>all works but it takes time. Is there a tool like IFMember that doesn't
>cache this type of stuff that anyone knows of?
>Thanks,
>Dan
>
>"Jerold Schulman" wrote:
>
>> On Fri, 3 Jun 2005 11:21:01 -0700, Dan <(E-Mail Removed)> wrote:
>>
>> >Is anyone else having issues with the IfMember utility? I have a script with
>> >some pretty basic statements for mapping drives based on group membership
>> >with IfMember and it seems that the tool caches the groups or something.
>> >Seemingly after enough rebbots and time it will update itself but it takes
>> >quite some time. Here's the basics of that area of the script:
>> >
>> >If Exist q: (net use /delete q else (echo "No drive currently mapped")
>> >:sales
>> >ifmember "sales"
>> >if not errorlevel 1 goto ops
>> >net use q: \\server\share
>> >GoTo NextSection
>> >
>> >ps
>> >ifmember "ops"
>> >if not errorlevel 1 goto finance
>> >net use q: \\server\share2
>> >GoTo NextSection

>>
>>
>> http://support.microsoft.com?kbid=148385 "IFMEMBER.EXE Fails If User Is Member of More Than 15 Groups "
>> http://support.microsoft.com?kbid=150733 "FPNW Groups Not Recognized from Trusted Domain "
>> http://support.microsoft.com?kbid=290794 "Ifmember causes Error 122 "
>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling webpage with logon script, logon script wont close gerryR Microsoft Windows 2000 CMD Promt 16 6th Nov 2009 06:19 PM
BUG: Script blocking strips script parameters during script authorization Jonathan K. Shay Spyware Announcements 3 2nd May 2005 06:18 PM
Logon Credentials set via logon script? =?Utf-8?B?aVF0b255?= Windows XP Networking 5 2nd Dec 2004 12:36 AM
Logon Script/Terminal Server Logon Script Don Jones Microsoft Windows 2000 Networking 5 6th Apr 2004 11:05 AM
Logon script running a Kixtart script doesn't map drives when logging on from XP AcKBaR[KAC] Microsoft Windows 2000 Networking 0 25th Feb 2004 06:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:56 AM.