• Troubleshooting the Active Directory DIT database file using NTDSutil

    While we seldom manually do it, there may be time where one needs to do some fixes during troubleshoots of AD database file - The C:\Windows\NTDS\ntds.dit. DIT stands for Directory Information Tree. Here are some scenarios that one may see:

    1. How do you perform an offline defragmentation of the AD database file? net stop ntds, activate instance ntds (This is provided that you are on a Windows Server version that has restartable AD, else if you are on an earlier version of Windows Server that doesn't support restartable AD such as Windows 2000 Server, reboot it into Directory Service Restore Mode, then goto ntdsutil, File, you will be prompted to File Maintenance prompt, type help and you will notice there are a different sets of commands available in here. Notice that there is a command that says compact to %s where %s refers to the new path of your compacted (defragmented) copy of the ntds.dit. So type compact to k:\ntds, where k:\ntds is the new location you will place the compacted (defragmented) copy of the ntds.dit after defragmentation. You will see a bar showing the defragmentation status until completion. This is a brief process. Then it will prompt you to copy the defragmented copy of the ntds.dit to its existing location, and you need to delete all log files at its existing location. Note that online defrag takes place every 12 hourly depends on Windows Servers versions and releases. Offline defrag, however, can free up space. You need to stop your AD service before doing this or boot into the Directory Service Restore Mode on earlier version of Windows Server running as a DC. 
    2. How do you perform integrity check of your ntds.dit? Assuming in a restartable AD DC, follow the above steps, type ntdsutil, File, integrity, you will see the integrity scan process until completion, after which the tool will prompt you to perform a semantic database analysis. You can follow it.
    3. This leads us to how do you perform a semantic database analysis of the AD database file? Answer: Go to ntdsutil, type semantic database analysis. If this is too long for typing, note that all commands and sub-commands in ntdsutil tool can be typed as abbreviated commands, i.e. semantic database analysis can be typed as sem data analy as long as the command is recognized as un-ambiguous. At the Semantic database analysis prompt, type go or go fixup. It will say Opening DIT database ...done. Summary is written into a log file dsdit.dmp. IDs scanned and records scanned are displayed.
    4. How do you seize the FSMO (Flexible Single Master Operation) roles of your domain when a safe transfers of these roles doesn't work due to permanently shutdown / unavailability of DC holding these roles? Go to ntdsutil, type role. Type help so that you can see a list of specific commands associated with the role prompt. Note that before you can seize a particular FSMO role, you need to make connection to the remaining online DC that you intend to make it the FSMO role holder. In this case, for example, you would typically make connection back to the local machine/DC itself, therefore, type connection, then at the Server connect prompt, type connect to server <DCName in FQDN> i.e. connect to DC2.hello.com this is because all communications between DCs take place via FQDN (Fully Qualified Domain Name) instead f NetBIOS name. Note that for transferring of FSMO roles, you need to make connection. And to make connection, you need to make sure that the DC that you are going to make it the new FSMO role holder has its ADDS service started. Otherwise you will fail in making connection. Assuming that you have your ADDS started (unlike the above ntdsutil, File scenarios), type connection, type connect to server <FQDN>, then a message will pop up saying that you are connected to the target DC with the locally logged on credential. Then type q to quit back to prior prompt, namely FSMO maintenance prompt, type seize <FSMOName> i.e. Seize Infrastructure master, seize naming master (refers to Domain Naming Master), seize PDC (for PDC Emulator), seize RID master, seize schema master, for all the respective FSMO roles that you want to seize. Note that a Role Seizure Confirmation Dialog will appear, confirm it. You will see that it will attempt a safe transfer before seizure. If the transfer is successful, it's done otherwise a seizure will ensue.
    5. How do you reset your DSRM (Directory Service Restore Mode) Administrator password? This is the password we typically assign during the DC promotion process. It is the password logon credential to be used in the event that your AD domain is shutdown, and you need a local credential to logon to the local machine, namely the DC, for troubleshooting purposes, for example, one that is using the NTDSutil tool. To do this, you don't need your ADDS service shutdown. Therefore just type ntdsutil, followed by set dsrm password, then type reset password on server localhost (Note that ocalhost is accepted). It will put you at the password reset prompt now. Type your desired password. Note that you will need to comply with the existing password policy requirements in your domain, namely the password complexity policy. Let say you type Pa$$w0rd and it is accepted, the tool will note that you with a password successfully set message.
    6. How do you create installation media for writable and read-only domain controllers that run Windows Server 2008? Answer: Type ntdsutil, activate instance ntds, then type ifm. At the ifm prompt, you will have options to create IFM media for full AD DC or AD/LDS instance with or without defragmenting; you can also create IFM media for RODC (Read-only domain controller). At the same time, you can create IFM media with Sysvol for full AD DC with or without defragmenting into a folder.
    7. How do you cleanup server metadata? On a DC, type ntdsutil, type metadata cleanup. The couple of options that you have are: Remove AD DS objects for selected domain, Remove objects for selected naming context, Remove objects for selected servers. You can choose to select operation target in here. Metadata cleanup removes data from Active Directory that identifies a domain controller to the replication system. This procedure is required only for Active Directory domain controllers that were not successfully demoted using Dcpromo. On a DC that is running Windows Server 2003 with SP1, metadata cleanup also removes File replication service (FRS) connections and attempts to transfer or seize any operations master roles that the retired domain controller holds.
    8. Other configurable options in the NTDSutil tool on Windows Server 2012 are:
    • Authoritative restore of the DIT database
    • Change of AD DS/LDS Service Accounts
    • Configurable settings management
    • AD DS/LDS behavior
    • Group membership evaluation
    • Evaluating SIDs in token for a given user or group
    • LDAP protocol policies
    • Configuration of LDAP Port for an AD LDS instance
    • Local RODC role management
    • Directory partitions management
    • Security account management - Duplicate SID cleanup
    • Snapshot management
    • SSL Port configuration for a AD LDS instance

    Common question (Which doesn't need NTDSutil tool): How do you undefined the AD domain password policy i.e. Maximum password length, Minimum password age, Enforce password history? Set the threshold to 0 for each of these i.e. Maximum password length, Minimum password age, Enforce password history undefines them.

    Ken Sim, Technical Evangelist, Microsoft Corporation, MCT

  • Passing the MCSE (Microsoft Certified Solution Expert) Desktop Infrastructure Exams

    There are new MCSE (Microsoft Certified Solution Expert) tracks released and reinvented not long ago, fearuring MCSE Server Insfrasructure on Windows Server 2012, MCSE Desktop Infrastructure http://www.microsoft.com/learning/en/us/mcse-desktop-infrastructure-certification.aspx, MCSE Private Cloud and MCSE Data Platform on SQL 2012.

    The roadmap of MCSE Desktop includes a pre-requisite certification of MCSA (Microsoft Certified Solution Associate) on Windows Server 2012, you need to pass 3 exams (Exam 70-410, 70-411 and 70-412) in here http://www.microsoft.com/learning/en/us/mcsa-windows-server-certification.aspx, and then 2 more elective exams, Exam 70-415 and Exam 70-416 before earning your MCSE Desktop Infrastructure in Windows Server 2012.

    For exam 70-415, these are the skills measured in holistical breakdown are in here: http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-415 which consists of the following:

    • Create and Maintain Desktop Images
    • Design and Deploy Desktops
    • Plan and Implement a Remote Desktop Services Infrastructure
    • Design and Configure Desktop Settings
    • Manage and Maintain a Desktop Infrastructure

    In preparing for the Exam 70-415, it's essential to cover these areas in here http://www.microsoft.com/learning/en/us/Course.aspx?ID=20415A&Locale=en-us comprising the following topics:

    Assessing and Determining Desktop Deployment Options, Planning An Image Management Strategy, Implementing Desktop Security, Capturing and Managing a Desktop Operating System Image, Planning and Implementing User State Migration, Planning and Deploying Desktops Using the Microsoft Deployment Toolkit, Planning and Deploying Desktops by Using System Center 2012 Configuration Manager, Planning and Implementing a Remote Desktop Services Infrastructure, Managing User State Virtualization For Enterprise Desktops, Planning and Implementing an Updates Infrastructure to Support Enterprise Desktops, Protecting Enterprise Desktops from Malware and Data Loss, Monitoring the Performance and Health of the Desktop Infrastructure.

    For exam 70-416, these are the skills measured in holistical breakdown are stated in here: http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-416 which consists of the following:

    • Design and Prepare the Application Environment
    • Design and Implement a Presentation Virtualization Environment
    • Design and Implement an Application Virtualization Environment
    • Deploy, Manage, and Maintain the Application Environment
    • Design Business Continuity for the Desktop and Application Environment

    The MOC (Microsoft Official Curriculum) topics for Exam 70-416 are:

    Designing an Application Distribution Strategy, Diagnosing and Remediating Application Compatibility, Deploying Applications by Using Group Policy and Windows Intune, Deploying Applications by Using System Center Configuration Manager, Configuring Self-Service Application Deployment, Designing and Implementing Presentation Virtualization Infrastructure, Preparing, Configuring and Deploying Presentation Virtualization Applications, Designing and Deploying an Application Virtualization Environment, Preparing, Sequencing, and Deploying Virtual Applications, Planning and Implementing Application Updates and Security, Planning and Implementing Application Upgrade and Supersedence, Monitoring Application Deployment, Utilization, and Performance.

    All of the above MOC topics can be found here http://www.microsoft.com/learning/en/us/Course.aspx?ID=20416A&Locale=en-us

    With Exam 70-410 + 70-411 + 70-412 for the core certification of MCSA + the Exam 70-415 and 70-416, you will earn your MCSE Desktop Infrastructure.

    You can download an evaluation copy of Windows Server 2012 in here http://technet.microsoft.com/en-us/evalcenter/hh670538.aspx.

    For System Center SP1 Beta, please go to http://www.microsoft.com/en-us/download/details.aspx?id=34607.

    For new courses on Windows Server 2012 in MVA, visit http://www.microsoftvirtualacademy.com/tracks/windows-server-2012-jump-start-preparing-for-the-datacenter-evolution for the Windows Server 2012 Jum Start: Preparing for the Datacenter Evolution. For Windows 8 for IT Pros Jump Start, go to http://www.microsoftvirtualacademy.com/tracks/windows-8-for-it-pros-jump-start.

    For self-guided Windows Server 2012 hands-on labs in an “Anytime, Anywhere” basis, you can try out the Windows Server 2012 virtual labs at http://technet.microsoft.com/en-us/windowsserver/hh968267.aspx.

    Related resources:

    Ken Sim

    MCT, MCSE (Solution Expert) Server Infrastructure (Windows Server 2012), MCSE Desktop Infrastructure, MCSE Private Cloud (System Center 2012), MCSE Data Platform (SQL 2012), MCSA (Solution Associate), MCSE+Internet, MCSE+Security, MCSE+Messaging, MCITP Enterprise Admin, MCITP Virtualization Admin (Hyper-V), MCITP Database Admin, MCITP Messaging Admin (Exchange 2010), MCITP Sharepoint Admin (Sharepoint 2010), MCTS, MCDBA, MCSD, MCPD

       

     

      

     

     

     

     

     

     

     

  • MCITP Lync Server Administrator VS the New MCSE Communication Certification

    For Microsoft Lync Server 2010, there is a certification MCITP Lync Server Administrator requiring the passing of 2 exams, namely Exam 70-664 http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-664 and 70-665 http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-665.

    The new successor of MCITP Lync Server Administrator is the new MCSE Communication http://www.microsoft.com/learning/en/us/mcse-lync-certification.aspx on its new Lync platform, which requires the pre-requisite certification of MCSA (Microsoft Certified Solution Associate) on Windows Server 2012 http://www.microsoft.com/learning/en/us/mcsa-windows-server-certification.aspx, after which upon passing 2 elective exams will earn the individual a MCSE (Microsoft Certified Solution Expert) on the all new Lync platform.

    These 2 new Lync exams are as follows: -

    Exam 70-336 http://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-336 and Exam 70-337 http://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-337#.

    Skills measured in Exam 70-336 are here http://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-336 featuring the following topics:

    • Plan and Design a Lync Topology
    • Plan and Design Lync Features
    • Deploy and Configure Lync
    • Manage Operations and Data Resiliency for Lync

    Skills measured in Exam 70-337 are here http://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-337# featuring the following topics:

    • Design Enterprise Voice
    • Design and Configure Network Services
    • Configure Enterprise Voice
    • Plan and Configure a Lync Online Hybrid Solution
    Visit the Community here http://www.microsoft.com/learning/en/us/community.aspx for more upcoming news and discussions.
     
    Related resources:
    More self-guided learning can be found in here http://www.microsoftvirtualacademy.com.  
     
    Ken Sim 
    MCT, MCSE (Solution Expert) Server Infrastructure (Windows Server 2012), MCSE Desktop Infrastructure, MCSE Private Cloud (System Center 2012), MCSE Data Platform (SQL 2012), MCSA (Solution Associate), MCSE+Internet, MCSE+Security, MCSE+Messaging, MCITP Enterprise Admin, MCITP Virtualization Admin (Hyper-V), MCITP Database Admin, MCITP Messaging Admin (Exchange 2010), MCITP Sharepoint Admin (Sharepoint 2010), MCTS, MCDBA, MCSD, MCPD

     

     
     

     

     

     

     
     
     

       

  • Improvements of System Center 2012 SP1 to Many Organizations

    System Center 2012 SP1 Beta is built for compatibility with Windows 8, Windows Server 2012 and other enhancements including support for Azure VM and capabilities for Hosted Service Providers. Each System Center 2012 components can be downloaded separately for evaluation purpose, which includes: -

    • Virtual Machine Manager 
      • Improved Support for Network Virtualization
      • Extend the VMM console with Add-ins
      • Support for Windows Standards-Based Storage Management Service, thin provisioning of logical units and discovery of SAS storage
      • Ability to convert VHD to VHDX, use VHDX as base Operating System image
    • Configuration Manager 
      • Deployment and management of Windows 8 and Windows Server 2012
      • Distribution point for Windows Azure which helps to reduce infrastructure costs
      • Automation of administrative tasks through PowerShell support
      • Management of Mac OS X clients and Linux and UNIX servers
      • Real-time administrative actions for Endpoint Protection related tasks
    • Data Protection Manager 
      • Improved backup performance of Hyper-V over CSV 2.0
      • Protection for Hyper-V over remote SMB share
      • Protection for Windows Server 2012 de-duplicated volumes
      • Uninterrupted protection for VM live migration
    • App Controller 
      • Service Provider Foundation API to create and operate Virtual Machines
      • Support for Azure VM; migrate VHDs from VMM to Windows Azure, manage from on-premise System Center
    • Operations Manager 
      • Support for IIS 8
      • Monitoring of WCF, MVC and .NET NT services
      • Azure SDK support
      • Monitoring of SharePoint 2010 with APM (.NET application performance monitoring)
      • Integration with Team Foundation Server 2010 and Team Foundation Server 2012
      • Conversion of Application Performance Monitoring events to IntelliTrace format
      • Support for monitoring of CentOS, Debian, and Ubuntu Linux
      • Improved Heartbeat monitoring for Unix/Linux
      • ACS support for Dynamic Access Control in Windows Server 2012
      • Global Service Monitor – cloud based capability to monitor the health of your web applications from geo-distributed perspective
      • Additional network devices models supported
      • Visibility into virtual network switches in vicinity dashboard – thru integration with Virtual Machine Manager
    • Orchestrator 
      • Support for Integration Packs, including 3rd party
      • Manage VMM self-service User Roles
      • Manage multiple VMM ‘stamps’ (scale units), aggregate results from multiple stamps
      • Integration with App Controller to consume Hosted clouds
    • Service Manager
      • Apply price sheets to VMM clouds
      • Create chargeback reports
      • Pivot by cost center, VMM clouds, Pricesheets
    • Server App-V 
      • Support for applications that create scheduled tasks during packaging
      • Create virtual application packages from applications installed remotely on native server

    Supported operating systems:

    Related resources:

    Useful downloads:

    Ken Sim, Technical Evangelist, Microsoft Corporation

  • MCITP Enterprise Messaging Administrator vs the New MCSE Messaging Certification

    For Microsoft Exchange server 2010, the existing certification is MCITP Messaging Administrator featuring 2 exams, Exam 70-662 and 70-663. In the meantime, a new certification is introduced on the messaging platform called MCSE (Microsoft Certified Solution Expert) Messaging http://www.microsoft.com/learning/en/us/mcse-exchange-certification.aspx.

    The pre-requisite certification for MCSE Messaging is the essential MCSA (Microsoft Certified Solution Expert) on Windows Server 2012, so this is an integral certification pre-requisites for various new MCSE tracks.

    After earning your MCSA on Windows Server 2012, the journey towards MCSE Messaging is to completion of 2 more Exchange 2013 exams - Exam 70-341 Core Solutions of Microsoft Exchange Server 2013 and 70-342 Advanced Solutions of Microsoft Exchange Server 2013.

    Skills being measured on Exam 70-341 are here http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-341. MOC (Microsoft Official Curriculum) topics on this exam are here http://www.microsoft.com/learning/en/us/Course.aspx?ID=20341A&Locale=en-us

    Skills being measured on Exam 70-342 are here http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-342.  

    However, if you do not want to miss the MCITP Enterprise Messaging Administrator on Exchange 2010, these 2 exams are for you:

    Exam 70-662 http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-662 and MOC topics in here http://www.microsoft.com/learning/en/us/Course.aspx?ID=10135B&Locale=en-us 

    Exam 70-663 http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-663 and MOC topics in here http://www.microsoft.com/learning/en/us/Course.aspx?ID=10233B&Locale=en-us.

    Related resources:

    More self-guided learning can be found in here http://www.microsoftvirtualacademy.com.  

    Ken Sim

    MCT, MCSE (Solution Expert) Server Infrastructure (Windows Server 2012), MCSE Desktop Infrastructure, MCSE Private Cloud (System Center 2012), MCSE Data Platform (SQL 2012), MCSA (Solution Associate), MCSE+Internet, MCSE+Security, MCSE+Messaging, MCITP Enterprise Admin, MCITP Virtualization Admin (Hyper-V), MCITP Database Admin, MCITP Messaging Admin (Exchange 2010), MCITP Sharepoint Admin (Sharepoint 2010), MCTS, MCDBA, MCSD, MCPD