Access is Denied when trying to demote Windows Server 2012 Domain Controller

I have a newly build Windows Server 2012 Domain with 2 Domain Controllers. This domain is not in production yet. I wish to demote them both. I moved all FSMO roles to DC1, and performed the DCPROMO via Server Manager Remote Roles. I also attempted the demote using Power Shell. Each ends the same way. I have used the Administrator account and another account I created. I have checked DNS, etc.

The error I get is "Access is Denied", here is the verbiage from the PowerShell attempt.

PS C:\Users\ADMINISTRATOR> + Uninstall-ADDSDomainController -RemoveApplicationPartitions
At line:1 char:2
+ + Uninstall-ADDSDomainController -RemoveApplicationPartitions
+  ~
Missing expression after unary operator '+'.
At line:1 char:3
+ + Uninstall-ADDSDomainController -RemoveApplicationPartitions
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token 'Uninstall-ADDSDomainController' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator
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.

Seth SimmonsSr. Systems AdministratorCommented:
so you built a domain with 2 domain controllers and you are looking to remove them both, thus deleting the domain?
why not just rebuild the servers from scratch since you are starting over anyway?

and why do you have + in front of your command line?
full documentation is here:

CanOfWormsAuthor Commented:
choosing 'force' during the demote allowed the domain controllers to demote. Because i didnt care what state the domain was left in, it suited me fine.

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
CanOfWormsAuthor Commented:
Choose force
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 2012

From novice to tech pro — start learning today.