ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Error Demoting Domain Controller

    Scheduled Pinned Locked Moved IT Discussion
    domain controllerdcpromoerror
    32 Posts 5 Posters 3.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • momurdaM
      momurda
      last edited by

      Ah well then it looks like adsiedit for you then.

      wirestyle22W 1 Reply Last reply Reply Quote 1
      • wirestyle22W
        wirestyle22 @momurda
        last edited by

        @momurda First time. Good learning experience for me 😄

        dafyreD 1 Reply Last reply Reply Quote 0
        • dafyreD
          dafyre @wirestyle22
          last edited by

          @wirestyle22 said in Error Demoting Domain Controller:

          @momurda First time. Good learning experience for me 😄

          Don't break AD!

          1 Reply Last reply Reply Quote 1
          • momurdaM
            momurda
            last edited by

            Yes be careful. First and easiest place to look is under the Domain Controllers section in adsi edit
            You can also use
            dsquery to find the location and use adsiedit to view and delete the erroneous entry.

            wirestyle22W 1 Reply Last reply Reply Quote 0
            • wirestyle22W
              wirestyle22 @momurda
              last edited by wirestyle22

              @momurda This domain controller I'm looking for no longer exists though. It's just in event viewer.

              The domain controllers listed in adsi edit are correct.

              momurdaM 1 Reply Last reply Reply Quote 0
              • momurdaM
                momurda
                last edited by

                You might also get interesting results using
                netdom query fsmo /domain:forest
                netdom query fsmo /domain:child1
                netdom query fsmo /domain:child2
                from different DCs

                1 Reply Last reply Reply Quote 0
                • momurdaM
                  momurda @wirestyle22
                  last edited by

                  @wirestyle22
                  It might not exist 'for real' anymore but your AD thinks it does, somewhere.
                  You have to find the reference to it within the depths of AD and get rid of it.

                  1 Reply Last reply Reply Quote 2
                  • DashrenderD
                    Dashrender @wirestyle22
                    last edited by

                    @wirestyle22 said in Error Demoting Domain Controller:

                    @Dashrender found this: http://khellman.blogspot.com/2014/02/ad-ds-operation-failed-dcpromo-error.html

                    Using this link, Wire and I did find that his Domain did have a left over Forest based entry in ADSI edit for the DC that no longer exists. Now trying to find the best way to resolve the problem.

                    It's likely the DC was removed without running through DCPromo. It's likely that ADSI edit Metadata cleanup will be needed.

                    1 Reply Last reply Reply Quote 2
                    • wirestyle22W
                      wirestyle22
                      last edited by wirestyle22

                      Update: Within ASDI Edit we connected to:
                      DC=ForestDNSZone,DC=subdomain,DC=rootdomain,DC=com

                      CN=Infrastructure (Text File) lists fSMORoleOwner in the Attribute Editor. The value showed a lot of garbled code instead of clean names, etc. A part of it was referencing the Domain Controller that hasn't been in production for a long time.

                      GreyG 1 Reply Last reply Reply Quote 0
                      • wirestyle22W
                        wirestyle22
                        last edited by wirestyle22

                        I logged into a domain controller on the root domain using enterprise admin credentials and was able to edit fSMORoleOwner in the Attribute Editor. I then attempted to demote the Domain Controller again and got past the initial error, but it then gave me an access denied error. I had already gone into sites and services to disable the deleted protection so I spent a long time trying to figure out why this was occurring. It simply had not replicated to the DC yet.

                        Domain Controller successfully demoted.

                        Big shoutouts to @Dashrender for going completely out of his way to help me resolve this issue. Can't thank you enough man.

                        1 Reply Last reply Reply Quote 2
                        • GreyG
                          Grey @wirestyle22
                          last edited by

                          @wirestyle22 said in Error Demoting Domain Controller:

                          ForestDNSZone

                          I'm trying to do this now and my ADSI edit doesn't show the ForestDNSZone. Assuming my TLD/Domain was contoso.com, I should be plugging in this, right? No worky... Not sure why.
                          hvqjF5V.png

                          wirestyle22W 1 Reply Last reply Reply Quote 0
                          • wirestyle22W
                            wirestyle22 @Grey
                            last edited by

                            @Grey said in Error Demoting Domain Controller:

                            @wirestyle22 said in Error Demoting Domain Controller:

                            ForestDNSZone

                            I'm trying to do this now and my ADSI edit doesn't show the ForestDNSZone. Assuming my TLD/Domain was contoso.com, I should be plugging in this, right? No worky... Not sure why.
                            hvqjF5V.png

                            Are you working on a single domain or one root domain with multiple subdomains?

                            GreyG 2 Replies Last reply Reply Quote 1
                            • GreyG
                              Grey @wirestyle22
                              last edited by Grey

                              @wirestyle22 said in Error Demoting Domain Controller:

                              @Grey said in Error Demoting Domain Controller:

                              @wirestyle22 said in Error Demoting Domain Controller:

                              ForestDNSZone

                              I'm trying to do this now and my ADSI edit doesn't show the ForestDNSZone. Assuming my TLD/Domain was contoso.com, I should be plugging in this, right? No worky... Not sure why.
                              hvqjF5V.png

                              Are you working on a single domain or one root domain with multiple subdomains?

                              Single root. No subdomains.

                              wirestyle22W 1 Reply Last reply Reply Quote 0
                              • wirestyle22W
                                wirestyle22 @Grey
                                last edited by wirestyle22

                                @Grey said in Error Demoting Domain Controller:

                                @wirestyle22 said in Error Demoting Domain Controller:

                                @Grey said in Error Demoting Domain Controller:

                                @wirestyle22 said in Error Demoting Domain Controller:

                                ForestDNSZone

                                I'm trying to do this now and my ADSI edit doesn't show the ForestDNSZone. Assuming my TLD/Domain was contoso.com, I should be plugging in this, right? No worky... Not sure why.
                                hvqjF5V.png

                                Are you working on a single domain or one root domain with multiple subdomains?

                                Single root. No subdomains.

                                Your screenshot looks right to me. What does it say when you click OK

                                GreyG 1 Reply Last reply Reply Quote 0
                                • GreyG
                                  Grey @wirestyle22
                                  last edited by

                                  @wirestyle22 said in Error Demoting Domain Controller:

                                  @Grey said in Error Demoting Domain Controller:

                                  @wirestyle22 said in Error Demoting Domain Controller:

                                  @Grey said in Error Demoting Domain Controller:

                                  @wirestyle22 said in Error Demoting Domain Controller:

                                  ForestDNSZone

                                  I'm trying to do this now and my ADSI edit doesn't show the ForestDNSZone. Assuming my TLD/Domain was contoso.com, I should be plugging in this, right? No worky... Not sure why.
                                  hvqjF5V.png

                                  Are you working on a single domain or one root domain with multiple subdomains?

                                  Single root. No subdomains.

                                  Your screenshot looks right to me. What does it say when you click OK

                                  nB2MKxB.png

                                  wirestyle22W 1 Reply Last reply Reply Quote 0
                                  • wirestyle22W
                                    wirestyle22 @Grey
                                    last edited by wirestyle22

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • wirestyle22W
                                      wirestyle22
                                      last edited by wirestyle22

                                      Do you see any DC's listed in the computer dropdown shown below? Might need to manually select a server. It should be able to see itself.

                                      0_1491509098605_etc.jpg

                                      GreyG 1 Reply Last reply Reply Quote 0
                                      • GreyG
                                        Grey @wirestyle22
                                        last edited by

                                        @wirestyle22 said in Error Demoting Domain Controller:

                                        Do you see any DC's listed in the computer dropdown shown below? Might need to manually select a server. It should be able to see itself.

                                        0_1491509098605_etc.jpg

                                        Yup. Oddly, not all of them. Out of 1 RODC and 5 DCs, only 2 show in the dropdown.

                                        wirestyle22W 1 Reply Last reply Reply Quote 0
                                        • wirestyle22W
                                          wirestyle22 @Grey
                                          last edited by wirestyle22

                                          @Grey You don't even want to know what my network looks like. It's held together by bubblegum

                                          dafyreD GreyG 2 Replies Last reply Reply Quote 1
                                          • dafyreD
                                            dafyre @wirestyle22
                                            last edited by

                                            @wirestyle22 said in Error Demoting Domain Controller:

                                            @Grey You don't even want to know what my network looks like. It's held together by bubblegum

                                            You don't even have duct tape? It's time for an upgrade!

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post