suddenly i got a problem in my primary domain controller.
i installed additional one and seized all roles in another server now.
but when i tried to uninstall the old corrupted DC then it always refuse and gives the following error message (Failed to detect if active directory domain services binaries were installed. the error was: the requested operation failed. A system reboot is required to roll back changes mode)
by the way i tried to uninstall using the following commands:
dcpromo /forceremoval /uninstallbinaries
but always giving the same error message at the begining of the un-installation process.