Logon Script using IFMEMBER - Windows 7 PROBLEM!


J

jonniestyle

I hope this is the right forum for a question like this. I've done
days worth of reading and haven't found a solution to this yet...

So here's the scoop:

My network has got Windows XP Pro clients, and I've been using logon
scripts and 'ifmember' to check domain group membership and assign
resources when users log on. Everything has been great so far.

I dropped in my first Windows 7 clients this weekend, and everything
mostly works except - as I discovered - the ifmember program.

If I execute ifmember /list on a Windows XP client, I get a list of
all the DOMAIN groups I'm a member of.

If I execute ifmember /list on a Windows 7 client, I get a list of
some local workstation groups, but nothing on the domain.

So what gives? What do I need to do to my Windows 7 client to get
this command functional?

Is there an alternative?
 
Ad

Advertisements

Joined
Sep 28, 2010
Messages
1
Reaction score
0
We had more or less the same problem with ifmember on Win 7

We solved it by using net user instead of ifmember:
What you can do in your logon script:

net user /domain %username% | find "YOURDOMAIN"
if not errorlevel 1 call yourscript

Regards,

Hans
 
Ad

Advertisements

A

Andrei Mikhailovsky

Hi Jonnie,

Did you manage to find solution to your problem? I am experiencing
exactly the same problem. Would be interested to share information on
this.

Andrei
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top