Look...

I want to check with kix the following:

For example our domain is DOM,

I want to check if DOM\Administrator is in de local administrator group on that computer... If NOT then ADD... I think this is very hard to script [Smile]

My second target is:

For example we've got user BLA

DOM\Bla may have local administrator rights... but Bla may have NOT local administrator rights. If he has.. then DELETE and Logoff(1)

It's hard to explain you know, I'm a dutch man (I bet I'd get no more replies from of now [Wink] )