Q

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?
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 last published in April 2005

Dig Deeper on Microsoft Exchange Server Administration Tools

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchEnterpriseDesktop

SearchCloudComputing

SearchSQLServer

Close