[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Error demoting running DCPROMO - failed to stop file replication service

Posted on 2009-12-22
Medium Priority
Last Modified: 2012-05-08
We have three DCs.  The oldest of them failed (partition table corruption) and we were able to actually get it to boot enough to move all the FISMO roles to other servers.  It also runs DNS.  I have another DNS server as well.  

As I understand it I do not need to do anything with the DNS, they are all primary.

When I try to run dcpromo to demote the corrupt server it gives me an error saying it could not stop the file replication service.  I checked it and it's stuck on stopping.

I can't reboot the server as it took two hours just to start up and login and I don't know if it would start up again.

What can I do to stop the service ?  Can I force the removal of the DC from the domain on the other machines?  What are the drawbacks of doing this?
Question by:norcalty
LVL 57

Expert Comment

by:Mike Kline
ID: 26105940
You can run a metadata cleanup on that box from one of your good DCs
For you the FSMO roles were already taken care of....just for others that may come across this question if the FSMO roles were not transferred then you can seize those  http://www.petri.co.il/seizing_fsmo_roles.htm
Is your other DNS server also a DC?
LVL 10

Expert Comment

ID: 26105947
Before depromoting the main DC promote (seize) other DC.

make sure all FSMO roles are transferred to other DC and than try to decpromote the existing one.
LVL 18

Expert Comment

ID: 26105949
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.


Expert Comment

ID: 26106135
run dcpromo /forceremoval

Author Comment

ID: 26106148
Hi Mike,

Yes the other DNS server is also a DC.  

One question... They all are global catalog DCs and when I was moving the roles it said I could not move the role of infrastructure master to a DC that is also a GC but the one I was trying to move it from that failed was both the infrastructure master and a GC.  I didn't do anything with it since I read online it doesn't matter if you move it if they are all GC DCs.  Is this true?
LVL 57

Accepted Solution

Mike Kline earned 2000 total points
ID: 26106198
ok then you are running AD integrated DNS so your DNS is fine.  The only thing there is if you have clients make sure they are pointing to the current DNS server in their DNS settings (DHCP scopes, static IPs etc)
Yes if all GCs are DCs then you are fine and in a single domain environment.  In both those cases the GC infrastructure master role doesn't matter.
Also for anyone else that comes across this question.  Try to make all your DCs GCs (true for the vast majority of environments).  See bullet one here:
LVL 24

Expert Comment

ID: 26111459
As i can see from your comment "As I understand it I do not need to do anything with the DNS, they are all primary."
Are they primary or AD-Integrated.
If its primary dns zone,right click the zone & make it AD-Integrated dns,give time for replication or force replication by right click on zone & update server in dns server.
if client is getting IP from DHCP,change the primary & secondary dns server into dhcp.
For static configured dns on server, need to change else Server pointing to wrong dns will logged unwanted events also failover will not happen when primary fails alternate will not take over.
After doing dcpromo /forceremoval make sure you run metadata cleanup.
Verify the records are removed from MSDCS folder in dns admin console as well as from cleanup the object from ADSIedit.msc.
If there is any old entry there will create an issue & log the events.

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question