You can get a third party utility to do it.. or write your own program.. Here is how Microsoft says to do things:

http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q64108&

Brian