The problem with Net User is that it doesn't do recursive searches.
IfMember actually searches the token to see which groups SIDs you have
so it works whether or not you're a direct member of the group or not.l

 

From: James Rankin [mailto:[email protected]] 
Sent: Monday, December 14, 2009 9:36 AM
To: NT System Admin Issues
Subject: Re: Is IFMEMBER still OK to use on a modern network?

 

Bin your logon scripts, and use Group Policy Preferences. Vastly easier.

You can use net user rather than ifmember if you want to use native
Windows commands in logon scripts. I'd still go the Group Policy
Preferences route though

2009/12/14 RM <[email protected]>

My boss wants to add some intellegence to our logon scripts with
IFMEMBER.  I had planned to use Group Policy user logon scripts.

 

Is IFMEMBER still kosher on modern Windows networks?  I know it's pretty
old technology...

 

Thx,

RM

 

 




-- 
"On two occasions...I have been asked, 'Pray, Mr Babbage, if you put
into the machine wrong figures, will the right answers come out?' I am
not able rightly to apprehend the kind of confusion of ideas that could
provoke such a question."

 

 

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to