Change to the ServiceRegistry-base/install directory.
Run the following command (all on one line):
Ant-base/ant -f build-install.xml Dinstall.properties=props-file appserver.domain.delete
where props-file is the path name of the copy of install.properties file that you edited in To Configure Service Registry as Root Using Custom Properties After a Configure Later Installation or To Configure Service Registry as a Non-Root User Using Custom Properties After a Configure Later Installation.
This target stops the domain and then deletes it.