Q
Problem solve Get help with specific problems with your technologies, process and projects.

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.

Dig Deeper on Exchange Server setup and troubleshooting

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.

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchSQLServer

SearchEnterpriseDesktop

SearchVirtualDesktop

Close