Microsoft Server OS
--
Questions
--
Followers
Top Experts
Any ideas? Thanks
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
At this point, I have to ask, what is your goal? If this server will be promoted for a lab, or as part of a learning experience... then it's a worthy goal, and lets see we can get it to work. If this will be a domain controller for a production environment that you'll need to support for the next several years... then I'd stop now, and build a clean server for your domain controller.
Assuming the lab/learning environment case: When you uninstalled the previous installation of the AD role, and rebooted -- did you run netstat -anb (or -ano, and look up the pid)? Could you see whether port tcp/88 was then clear?
I did remove AD role and restart, but the port was still in use. I will try using the Nirsoft tool to see if it is actually kerberos using 88.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
I can't close port 88. So I'm not sure what to do.
The machine isn't likely be in use for a long time, but I need to promote it as the current DC seems quite old and I'm concerned that it might crash.
If I'm reading this statement correctly that means you should start again - rebuild this server and then promote it to a DC...like @Razmus has already mentioned...since its not doing anything else at minute I'd say that's the quickest way to get back up and running
I'd still tend towards the server rebuild solution, if remotely possible.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
But; is there any chance there was another server acting as the PDC at the old site?
What I meant is that I need it working now, but it won't be used say past 6 months, so a long term solution isn't needed, just a short term one.
Yes there was another PDC, this is why I'm making this one a DC as the PDC seems to have some hardware problems and I am concerned it will crash and leave us without a DC.
I'm not in that office at the moment, but I'll see what other services are running. thanks

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
(2) Your domain controller isn't Pre-Windows 2000. (You don't really have a PDC. You have one server which operates as a PDC-emulator, and that role can be switched to any healthy domain controller in your domain.)
(3) You aren't missing any FSMO roles. (Running 'netdom query fsmo' from a command prompt on the domain controller will identify all your fsmo roles, and where they currently live.)
(4) You have a domain with a single domain controller in it, and that single domain controller isn't healthy. (DON'T demote that DC. As you indicate, if this assumption is valid, that is almost exactly opposite of what you want to accomplish. Your instinct on this question is sharp.)
(5) Folks other than you have built and maintained the server you are working with, and it isn't a tightly controlled environment.
(6) The existing domain controller is Windows 2008. (So, for example, we don't have a Windows 2003 DC, which doesn't have the schema extended to support Windows 2008. We also don't have a Windows 2008 R2 DC, where the Forest/Domain functional level have already been elevated to Windows 2008 R2.)
Let me know if any of these assumptions are invalid. Some I think you've already stated (for example, we're dealing with Windows 2008, not NT 4.0 or 3.51...)
I'm increasingly concerned that the server you're trying to promote has the MIT implementation of Kerberos installed. It would be identified as krb5. What I don't know is whether the Microsoft implementation of Kerberos would also identify itself as krb5. :-( ) As you say, you'll be able to look closer when you get into the office. (I'll be waiting with, as they say, bated breath.)
1) All servers are turned on and connected
2) The DC is Server 2003
3) I don't appear to have netdom. I see it has service pack1, so I'm getting SP2 now, netdom should be with that download.
4) The setup seems fine, there aren't any errors, but the machine is very old and I think the hardware might fail.
5) Yes, someone else set this all up, its come from an office that closed and they have mess everywhere that I need to clean up :(
6) The DC server 2003 and I want to make a newer machine a DC, it is running server 2008 R2. There is only one DC and its the 2003 box.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Can you post the errors from the Event Log?

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Okay, that leaves open the possibility that the AD schema won't support a Windows 2008 DC, but I don't believe you'd get an error anything like the kerberos error you've already received. (There are a couple easy ways to determine what level your schema is running. If you're running something older than 44, you'll just need to run adprep a couple times before advancing. (Microsoft rolled this into the process of adding the first Server 2012 DC... it'll do it for you in the background if it hasn't already been done. Well, it will if you have sufficient permissions to update the schema.)
> I ran netdom query fsmo and got - the security context is invalid
That is worrying, which leads me to wonder if the account you are using has sufficient permissions to run DCPromo. The account you are using is a member of domain admins, enterprise admins, or the domain built-in administrators group?
> Migrating AD to a new server
I'm assuming Impressionist doesn't wish to migrate AD to a new server, but wishes to have more than one domain controller as per best practices.
I might have to give up :(






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Run the following commands in the command prompt:
netstat -ano | find /I ":88"
Make a note of the last number in the results.
This is the PID of the application using port 88
Then run:
tasklist | find /I "PID"
where PID is the number you noted from the previous command.
e.g. using port 135
C:\Users\Leon>netstat -ano | find /I ":135"
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 876
TCP [::]:135 [::]:0 LISTENING 876
C:\Users\Leon>tasklist | find /I "876"
svchost.exe 876 Services 0 9 664 K
> netstat -ano | find /I ":88"
I believe Impressionist has already said that netstat didn't identify the PID in this instance, twice. Both in the original question question, and in a latter comment.
The kerberos function which gets loaded on a domain controller comes from c:\windows\system32\kdsSvc
There is still the low probability that a previous administrator has loaded MIT Kerberos , possibly for another project, which would identify itself as krb5. Try doing a search for any file that contains 'krb5', or the string 'krb5' in the registry. (I keep coming back to krb5, because you mention that specifically in the error in the original question, and I'm still not sure why you would see reference to that specifically if it weren't the MIT Kerberos...)

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
I don't have the kdssvc.dll and there is nothing with reference to krb5 in the registry. At first I didn't find what was holding onto port 88 using netstat, but cports tells me its kerberos. Someone has done something to this machine, but who knows what?! Is there anyway to force a port closed, even if it is temporary? If I could do that, at least dcpromo would continue and I could see if it would complete.
I may have to give up and see if I can acquire all the install files for the software on this machine and then wipe it and start again.
thanks for all your help.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Microsoft Server OS
--
Questions
--
Followers
Top Experts
The Microsoft Server topic includes all of the legacy versions of the operating system, including the Windows NT 3.1, NT 3.5, NT 4.0 and Windows 2000 and Windows Home Server versions.