Please refer to Creating a Dev Environment

Running SharePoint 2013 in an AD environment that can be played around with is quite high on my 'Gimme Gimme' list.

  1. Open Server Manager.
  2. Click AD DS (if it's not there, first add the AD DS feature).
  3. Click the More... link behind the text Configuration required for Active Directory Domain Services at MOON.
  4. Click Promote this server to a domain...
  5. Select Add a new forest.
  6. My company is called Lois & Clark IT services, so I use the following root domain name (which is nice and short): lc.corp.
  7. Click Next.
  8. Accept defaults and type a super secret DSRM password.
  9. Click Next.
  10. Ignore the warning about the fact that DNS delegation can't be created and click Next again.
  11. Wait until you can verify the NetBIOS name assigned to the domain. In my case, it's LC and that's exactly what I want.
  12. Click Next 3 times.
  13. The prerequisites dialog window displays some warnings, but should pass never the same.
  14. Click Install.

After installation was successful, the server restarts.