1. Click Start, click Run, and then type the following command: dcpromo /forceremoval Click Ok. 2. At the Welcome to the Active Directory Installation Wizard page, click Next. 3. At the Force the Removal of Active Directory page, click Next
4. In Administrator Password, type the password and confirmed password that you want to assign to the Administrator account of the local SAM database, and then click Next. 5. In Summary, click Next 6. Watch as the process runs. Do not disturb it. Go drink some coffee. It should take no longer than a few minutes. 7. When Dcpromo finishes it will prompt you to click Finish. 8. Restart the server. After you use the dcpromo /forceremoval command, all the remaining metadata for the demoted DC is not deleted on the surviving domain controllers, and therefore you must manually remove it by using the NTDSUTIL command.
its really usefull for all
ReplyDeleteHow can I forcibly remove AD from a server? Can I
ReplyDeleteget user passwords from the AD database?
1. Click Start, click Run, and then type the following command:
ReplyDeletedcpromo /forceremoval
Click Ok.
2. At the Welcome to the Active Directory Installation Wizard page, click Next.
3. At the Force the Removal of Active Directory page, click Next
4. In Administrator Password, type the password and confirmed password that you want to assign to the Administrator account of the local SAM database, and then click Next.
5. In Summary, click Next
6. Watch as the process runs. Do not disturb it. Go drink some coffee. It should take no longer than a few minutes.
7. When Dcpromo finishes it will prompt you to click Finish.
8. Restart the server.
After you use the dcpromo /forceremoval command, all the remaining metadata for the demoted DC is not deleted on the surviving domain controllers, and therefore you must manually remove it by using the NTDSUTIL command.
User password stored as hashed mode in AD data base file (i.e ntds.dit) so that can't be retrive.but you can change it anytime by admin rights.
ReplyDelete