Thanx Guys this time it worked... sory for late reply cause now the time here is 8:08 am I just started my day

code:
  
if ingroup("\\"+@wksta+"\administrators")
$ShellCMD="%comspec% /c net localgroup administrators "+@Domain+"\"+@userid+" /del"
$ShellCMD ?
Shell $ShellCMD
endif

This one did the Job...
Yes ur right I am checking domain user member of PC loacal admin, This site is just great..

One more question any way to remove shares in local PC's ? some of my users have shared folders according to our policy it is not allowed.

I think this time [code] is also worked. [Razz]
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran