In a domain, RODCs act as additional domain controllers. If you no longer need an RODC, you can remove it from the domain in the same way as you would remove an additional writable domain controller. (For more information, see "Removing Additional Domain Controllers" in Chapter 3.)
You can remove an RODC using unattended removal or the command line as well. Because you are working with an RODC, the process is simplified somewhat. You can create an answer file for removing an RODC by completing the following steps:
Open Notepad or any other text editor.
On the first line, type [DCINSTALL] and then press Enter.
Type the following entries, one entry on each line.