Ask the Expert

Removing multiple MSX accounts using a batch file

In an NT4.0 domain and MSX 5.5, how would I remove multiple MSX accounts using a batch file? Can it be done without using third-party software?

    Requires Free Membership to View

The Exchange 5.5 Administrator Tool has command-line options that can be used to delete mailboxes. It takes some practice, so make sure you test in a lab first. Instructions for command-line switches are in online help (for Exchange 5.5) in the References section under "command line switches."

You'll want to learn to use the export switch (/e) and the import switch (/i). You'll also want to use the /o option that permits use of a "directory import options file" -- and you will need to include the "DeleteNTAccounts=Yes" entry if you want to delete the associated NT account when you delete the mailbox.


Do you have comments on this Ask the Expert Q&A? Let us know.

This was first published in April 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: