Here is a quick guide of how to unregister and register a mailbox for Auto Accept.
Note: The cscripts are found on the Exchange server under Program FilesExchsrvrAgentsAutoAccept
Unregister the mailboxes
The first thing we need to do is get a list of the AAA mailboxes. To get this list we will run the command below that will output the list to a text file.
cscript registermailbox.vbs /f:name of test file /t:domainAAA account
Now that we have a list of all the AAA mailboxes we can run the command below to unregister the accounts
cscript registermailbox.vbs /u /f:<name of text file>
Example:
C:Program FilesExchsrvrAgentsAutoAccept>cscript registermailbox.vbs /u /f:aaa.txt
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Deleting OnSave event at file://./backofficestorage/ccfive.com/mbx/Con1/Inbox/OnSaveForAutoAcceptAgent
Done deleting event binding for Con1@ccfive.com
Deleting OnSave event at file://./backofficestorage/ccfive.com/mbx/Con2/Inbox/OnSaveForAutoAcceptAgent
Done deleting event binding for Con2@ccfive.com
Register the mailboxes
We can create a text file with the aliases of the mailboxes the we want to convert to AAA mailboxes.
The text file should look like this:
Con1@ccfive.com Con2@ccfive.com
Once you have your text file created run the command below to register the mailbox
cscript registermailbox.vbs /f:name of test file /t:domainAAA account
C:Program FilesExchsrvrAgentsAutoAccept>cscript registermailbox.vbs /f:aaa.txt /t:ccfivechcrand
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Registering Con1@ccfive.com with Auto Accept Agent.
New Event Binding created:
Event: OnSave
Sink: AutoAccept.EventSink
FullBindingUrl: file://./backofficestorage/ccfive.com/mbx/Con1/Inbox/OnSaveForAutoAcceptAgent
Registering Con2@ccfive.com with Auto Accept Agent.
New Event Binding created:
Event: OnSave
Sink: AutoAccept.EventSink
FullBindingUrl: file://./backofficestorage/ccfive.com/mbx/Con2/Inbox/OnSaveForAutoAcceptAgent
Links
Registering Mailboxes
http://technet.microsoft.com/en-us/library/bb124104(EXCHG.65).aspx
Registering Event Sink on Mailboxes
http://technet.microsoft.com/en-us/library/aa997282(EXCHG.65).aspx
Troubleshooting Exchange 2003 Auto Accept Agent using scripts