Unregistering Bindings
You can use the smtpreg.vbs and nntpreg.vbs scripts to unregister transport event sink bindings. The syntax for using the script is as follows:
cscript [smtpreg | nntpreg].vbs
/remove
instance
event
display name
- instance
- The number of the NNTP or SMTP virtual server instance; for example, 1.
- event
- The event for which you are registering the sink. For the SMTP event service, this value must be OnArrival. For the NNTP event service, the values are OnPost, OnPostFinal, and OnPostEarly. These values are case-insensitive. Quotes around the name are optional.
- display name
- The display name of the sink. When using the scripts, each binding should have a unique display name for each virtual server instance and event. The display names are case-sensitive. Use quotes around the name if it contains spaces.
Example
cscript smtpreg.vbs /remove 1 onarrival MyGeneralSink
cscript nntpreg.vbs /remove 1 onpost MyPostSink