13
How To Make Windows Home Server into a Domain Controller  Active Dire ctory lets compani es manage users, computers, p rinters, and more fro m a centrali zed location. Have you wanted this functionality at home but don’t have money for Windows Server? Here’s how you can promote W indows Home Serve r to a domain controller. Maybe you don’t have 100+ computers in your closet but sometime s it may feel that way. Active Directory all ows you to central ly manage the us ers t hat can log into t he machi nes as wel l as help quickl y set up machine preferences and can even help manage your virtual machines. If you have been wanting a better way to manage it all, or even just want to dive into Active Directory here’s ho w you can do it on t he cheap. Pl ease be aware that Microsoft specifically says you are not allowed to do this according to their end user li cense agreement (EULA) that you have to agree to when inst al li ng or sett ing up a W indows Home Serve r. As  such, this article will be strictly for educational purposes. If you are allergic to breaking EULA s I s uggest you purchase W indows Server from Mi crosof t. S el ect students on the ot her ha nd can freel y download Windows Server from Micr oso ft DreamSpark. Set Up Windows Home Server After you r initi al setup of Windows Home Serv er you wil l need to t urn on remote desktop abil itie s fro m the Windows Home Server cons ole. I f you are reading this article I am goi ng t o ass ume you know how to do that yourself. You wi ll a lso need a couple of dedic ated disks o r partitions f or s toring Act ive Di rectory informati on. A ctive directory uses the folders NTDS and SYSVOL to store its database and public files and if they are not on dedicated disks you most likel y see s lowdown with your s erve r and with your network. Active Directory requires that you have DNS and a static IP address on your server. You don’t have to do these two steps right now, but you will need to be prepared to do them during the process. Promoting your WHS to a domain controller is going to do a few things that you may not want. Please read the below preca utions before continuing. You will no longer be able to add computers to WHS with the WHS connector. From now on you will have to join computers to your new domain that you will set up. In order to be able to add computers How-To Geek

how to make windows home server into a domain controller

  • Upload
    perac

  • View
    223

  • Download
    0

Embed Size (px)

Citation preview

Page 1: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 1/13

How To Make Windows Home Server into a Domain Controller 

Active Directory lets companies manage users, computers, printers, and more from a centralized location.Have you wanted this functionality at home but don’t have money for Windows Server? Here’s how youcan promote Windows Home Server to a domain controller.

Maybe you don’t have 100+ computers in your closet but sometimes it may feel that way. Active Directoryallows you to centrally manage the users that can log into the machines as well as help quickly set upmachine preferences and can even help manage your virtual machines. If you have been wanting a betterway to manage it all, or even just want to dive into Active Directory here’s how you can do it on thecheap.

Please be aware that Microsoft specifically says you are not allowed to do this according to their end userlicense agreement (EULA) that you have to agree to when installing or setting up a Windows Home Server.As such, this article will be strictly for educational purposes.

If you are allergic to breaking EULAs I suggest you purchase Windows Server from Microsoft. Select

students on the other hand can freely download Windows Server from Microsoft DreamSpark.

Set Up Windows Home Server 

After your initial setup of Windows Home Server you will need to turn on remote desktop abilities from theWindows Home Server console. If you are reading this article I am going to assume you know how to dothat yourself.

You will also need a couple of dedicated disks or partitions for storing Active Directory information. Activedirectory uses the folders NTDS and SYSVOL to store its database and public files and if they are not ondedicated disks you most likely see slowdown with your server and with your network.

Active Directory requires that you have DNS and a static IP address on your server. You don’t have to do

these two steps right now, but you will need to be prepared to do them during the process.

Promoting your WHS to a domain controller is going to do a few things that you may not want. Pleaseread the below precautions before continuing.

You will no longer be able to add computers to WHS with the WHS connector. From now on you willhave to join computers to your new domain that you will set up. In order to be able to add computers

How-To Geek

Page 2: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 2/13

to a domain you cannot use any of the “home” variants of Windows and instead will need to use thebusiness, professional, or enterprise tiers.

All of your users in WHS will be erased and only the default user accounts (e.g. administrator, guest,etc.) will be left in WHS.

Your WHS webpage will be broken. You can “fix” this by installing another web server (e.g. Apache)but it will take more setup and work.

All in all, be prepared to do a fresh install on your WHS and do not do this on a machine youare actively keeping information on. It would probably be a better idea to have a second computer to set

up AD and migrate any information over that you want.

Always have backups, if this is a computer you use it is your responsibility to make a backup before youstart this process.

Promote Your Server 

Domain controller promotion is done through the dcpromo.exe command. Go remote with your server andthen open the run dialog and run the command.

Click next a couple times and then select the option to create a new controller for a new domain.

Then select new domain forest.

Page 3: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 3/13

Next it is best to select to set up DNS on the local machine. This is the easiest way to get the controllerconfigured. You will just have to make sure you turn off DNS on your router.

If you are going to keep DHCP issued from your router you will also need to point DNS responsibilities toyour server. Please check your router manual for how to do that.

Finally we can name the new domain. If you own a web domain name don’t name it the same thing as yourdomain name because in this case it may cause problems unless you are also running the web service anddynamic DNS updater from this computer.

Instead it is a better idea to come up with a .local name for your domain.

Page 4: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 4/13

Next you will need to put in a NETBIOS name. You should be able to select the default and just click next.

We need to tell the domain controller where to store the database, log files, and public files. It isrecommended to store all of this on a separate hard drive. In my installation I have a separate 20 Gb harddrive plugged in (E:) where I have put the required files.

Page 5: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 5/13

If you have any pre-Windows 2000 computers I feel bad for you. In most cases you can leave out support

for anything that old in the next step.

Page 6: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 6/13

Select a new Administrator password.

And then review your changes and click next.

Page 7: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 7/13

Your promotion will start the process for you.

You will probably be asked for your installation CD at some point so make sure you have your CD (or thefiles from your CD) available to you.

Page 8: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 8/13

You will also probably be prompted to change your IP address from dynamic to static during the process.

Click OK and then continue to change your IP address to a suitable static address.

Your setup should finish with this screen. Once you click finish go ahead and restart your new domaincontroller.

Don’t worry if the reboot takes a while. It needs to start up a lot new services and will probably take awhile for the first reboot.

Page 9: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 9/13

Once the machine reboots you may get an error about a service failing to start. You should also have anew option at your login screen to log into the new domain you just created.

Post Installation Settings

Now that you have a domain and a domain controller there are just a couple of things we need to do to

make sure things run smoothly.

First we can fix the services error we got before by going to start -> run -> “services.msc” 

Find the “SSDP Discovery Service” and the “Universal Plug and Play Device Host” services and set them tostart automatically. Then start the services manually.

Page 10: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 10/13

Now browse to C:\Windows\Temp. Right click on the folders and choose properties.

On the security tab click add and then type network service and click check names. Once the name isverified (it will be underlined) click OK.

Repeat the above two steps for the c:\Windows\Microsoft.NET\Framework\v2.0.50727\TemporaryASP.NET Files directory too.

Page 11: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 11/13

Now we need to configure the Windows Firewall to allow for the correct programs to get through. Youcould just disable the firewall but you will take a performance hit by just disabling it. Here are the portsand programs you will need to allow access through your firewall.

To add a program exception click on the exceptions tab and then click add program. Browse to thedns.exe located in the c:\windows\system32 folder and then click change scope.

Change the scope to only be on your local subnet because you don’t want anyone outside of yournetwork using your DNS for lookups.

Page 12: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 12/13

By Justin Garrison on 04/4/11

Next do the same thing for the DHCP server located at C:\WINDOWS\system32\tcpsvcs.exe but don’tlimit the scope. Instead allow any computer to connect to DHCP otherwise the computers will never get anIP address after we turn that on.

We won’t set up DHCP in this article but may revisit this in the future. If you want to know how to set upDHCP check out the we got served link at the end of this post.

Go back to the main exceptions tab and then click add port. Type in LDAP for the name and 389 for theport number. Change the scope to my network (subnet) only and then click OK.

Repeat these steps for the following additional ports.

LDAP – 389 – UDP

LDAP – 636 – TCP

LDAP – 3268 – TCP

Kerboros – 88 – TCP and UDP

You now have Active Directory all set up and the necessary ports required to join computers to your newdomain and begin managing users, computers, printers, and much more from a central location.

we got served wiki

Page 13: how to make windows home server into a domain controller

8/13/2019 how to make windows home server into a domain controller

http://slidepdf.com/reader/full/how-to-make-windows-home-server-into-a-domain-controller 13/13

Comments are closed on this post.

If you'd like to continue the discussion on this topic, you can do so at our forum.

Go to the Forum