Hi guys,

Sorry for the late response, I've been ill... Anyway, I've tried the script exactly as posted above, and all works, except the flags for Password never expires and User cannot change password. The account is created as expected, is also placed in the Administrators group, bu the flags are not set. Any ideas?
_________________________
Regards, Jeroen. There are two ways to write error-free programs. Only the third one works.