Domain rename under Windows Server 2008 R2

What does the message "Failed to prepare pdc.olddomain.local : 5" mean when running "rendom /prepare" ?

This is the setup: There are several servers, all running as VMs under server 2008 R2 hosted hyper-V. All servers are running. There are two DCs (called pdc and bdc).

This is what I did:

on PDC, I created new forward lookup zone for newdomain.co.uk

I created another 2k8R2 server for the "control station" and added the Remote Server Admin Tools feature.

on the control station, copied Rendom.exe, Repadmin.exe, Dfsutil.exe, and Gpfixup.exe to a temporary folder, but running rendom from that folder gets "unable to load resource string 1067", so I followed the advice in http://is.gd/baa03 and run rendom by "c:\windows\system32\rendom ..."

"rendom /list" produces the expected xml file which I edited, changing three instances of "olddomain.local" to "newdomain.co.uk" and one (NetBIOS) of OLDDOMAIN to NEWDOMAIN.

"rendom /showforest" shows changes are correct and complete.

"rendom /upload" creates a dclist.xml which correctly contains both domain controllers

"rendom /prepare" then returns "Failed to prepare pdc.olddomain.local : 5". Retrying produces the same result again

I tried "c:\windows\system32\repadmin.exe /bind pdc.olddomain.local" (and bdc) as suggested by http://is.gd/baa03 - both succeed, but have no beneficial effect.

I do note that p.1055 of Minasi's "Mastering Windows Server 2008 R2" includes in prerequisites the need for a stand-alone DFS server which we don't have. But I haven't seen that prerequisite anywhere else including on Technet, so I'm far from sure that we need it.


So what am I meant to do with the rather unhelpful "Failed to prepare pdc.olddomain.local : 5"
peterpanicAsked:
Who is Participating?
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.

AkhaterCommented:
usually Error 5 is Access is Denied.

run net helpmsg 5 and you will see


did you run the cmd as administrator ?
0
peterpanicAuthor Commented:
Yes, logged in as, and therefore (presumably) running as, administrator.
0
AkhaterCommented:
right click on command prompt and run-as administrator
0
peterpanicAuthor Commented:
Yes, I have tried running cmd.exe as administrator. No change - it still fails with identical results.
0
peterpanicAuthor Commented:
I've given up and rebuilt the domain members from scratch
0

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
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.