I was trying to demote my older server (Win2008) from comand prompt using my admin account.While I was trying to run it I was getting errors...
“Active directory domain services installation operation failed access is denied”.
After researching that errors I ran it again but this time I got two errors with messages. I’m wondering if I should try to run dcpromo once again or just remove DNS by deleting it and then use Server Manager to remove AD DS role…?? I’m including two last messages which appeared on the server which I had executed that cmd "dcpromo"…Obviously I rebooted that server already...
I'm  already running two servers with Windows 2012 R2 for last few months and I would like finish this procedure...
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joseph DalyCommented:
It looks like you have already successfully removed AD from this server so running dcpromo again would bring you through the process to add it back as a domain controller.

I would check the roles and features on this server, if DNS role is still installed you could manually remove it. I would take a guess that DNS may already have been removed. Once you confirm dns has been removed you should be safe to shut down.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David Johnson, CD, MVPOwnerCommented:
looks like DCPROMO worked reboot and then you can remove the AD Directory Services and DNS from Server Manager.to free up a bit of disk space
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.