1 / 25

How to (un)destroy your Active Directory

SIA402. How to (un)destroy your Active Directory. Ralf Wigand wigand@its-technidata.de. Ralf Wigand c/o TechniData IT-Service Karlsruhe, Germany. About me …. Microsoft PreSales Consultant ( since 2000) Microsoft Most Valuable Professional MVP Directory Services ( since 2007)

cassia
Download Presentation

How to (un)destroy your Active Directory

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SIA402 How to (un)destroy your Active Directory Ralf Wigand wigand@its-technidata.de

  2. Ralf Wigand c/o TechniData IT-Service Karlsruhe, Germany Aboutme… Microsoft PreSales Consultant (since 2000) Microsoft Most Valuable Professional MVP • Directory Services (since 2007) Speaker Author Consultant System Engineer

  3. Before we begin… a word of warning! • Whenyoutryto fix a problem(not only) in yourActive Directory… • Take your time! • Bepreparedfortheunexpected! • Think beforeyouchangesomething! • Understandwhatyouaredoing! • Check yourresults! • Re-Check yourresults! • Considerusing a Change/Release Management

  4. Your (complete?) documentation

  5. demo 1 First contact…

  6. Errors found in demo 1 • nodynamic DNS registration on subdc3 • subdc3 canreplicatefromother DCs • noerrorsfound in replicationstatusof subdc3 • other DCs canNOTreplicatefromsubdc3 • Always double-check replication in bothdirections • Service „DHCP Client“ was disabled • responsiblefordynamic DNS updates • requiredevenwithstatic IP addresses • Youmightdisable „DHCP Server“ service…

  7. Even moreerrorsfound in demo 1 • „subdc3“ is not thereal nameoftheserver • subdc3 isonlyregistered as a CNAME • SPNs are registered for real name, not for CNAME • Kerberos does not workasexpected • multihomed subdc2 • eventuallywrong DNS registration: • registerwithexternal IP address, not availableforinternalhosts • choosewhich NIC toregister • Better: Do not usemultihomed DCs, use LDAP Proxy (ADLDS)

  8. demo 2 Dive deeper…

  9. Errors found in demo 2 • Global Catalog not available • Youneeda GC foruniversal groupmembership • No GC? no universal groupmembership! • Global Catalog on Infrastructure Master FSMO • ok, when all DCs are GCs • if not, thenthe Infrastructure Master must notbe a GC

  10. demo 3 even deeper…

  11. Errors found in demo 3 • Time difference • max. toleranceis 5 min (default, see GPO) • Kerberos will not workif time is not in sync • Restore Default Policies • Def. Domain PolicyandDef. Domain Controller Policy • usedcgpofix (check other Server appsforchanges in DefGPOs) • Rule: nevermodifythe DDP andDDCP (except Password Pol)

  12. demo 4 …and deeper…

  13. Lingering Objects • Whenyoudelete an object, itis not reallyremoved • itisflagged (tombstoned) andhas a timestampwhentodelete • itisreplicatedasusual • anddeletedwhenitis time… withoutfurthernotice • So ifit‘s not replicatedwhiletombstoned • or a backupisrestoredfrombeforeit was tombstoned… • theobject will existforever • removeitwithreferenceto a „clean“ DC! • repadmin /removelingeringobjects …

  14. demo 5 Too deep?

  15. USN rollback • Restore DC from „Snapshot“ • Update SequenceNumber USN isset back, too • Other DCs alreadysawthe USNs and will not acceptthem • DC stopsserving after some time • Howtosolve… • Itdepends • Best way: • remove DC • Never use „snapshots“ forDCs (orwaitfor Server 2012)

  16. List of Errors found • nodynamic DNS registration • DHCP Client Service disabled • Computer nameas CNAME • multihomed DC • no GC available • GC on Infrastructure Master • time difference • removed Default Policies • lingeringobjects • USN rollback

  17. Finally… • Check yoursystemsusingtherighttools • System Center Operations Manager • Event Viewer • Repadmin • Dcdiag • Setspn • Understand LDAP / Kerberos / DNS

  18. Beprepared… • Getusedtoyourtools • whileyoursystemisok • Knowyoursystemswell • whichserverhaswhichrole… • Train yourselfforfailures • in test (!) environments(Hyper-V helps…)

  19. andneverforget: Thereis a reasonwhyitiscalled Active Directory

  20. Related Content • Breakout Sessions SIA403, SIA207, SIA341, SIA312, WSV326 Hands-on Labs SIA11-HOL, WSV25-HOL Product Demo Stations: Windows Server 2012 Active Directory Related Certification Exam: Practise, Practise, Practise TLC: Find Me There Wed & Thu Afternoon, or most of the time…

  21. SIA, WSV, and VIR Track Resources Talk to our Experts at the TLC #TESIA402 Hands-On Labs DOWNLOAD Windows Server 2012 Release Candidate microsoft.com/windowsserver DOWNLOAD Microsoft System Center 2012 Evaluation microsoft.com/systemcenter

  22. Resources Learning TechNet • Connect. Share. Discuss. • Microsoft Certification & Training Resources http://europe.msteched.com www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet http://microsoft.com/msdn

  23. Evaluations Submit your evals online http://europe.msteched.com/sessions

  24. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related