Review the following known issues before you install Active Directory Domain Services (AD DS):
Disk space and component location issues
Disk space requirements for upgrading to Windows Server 2008
The upgrade process from Windows Server 2003 to Windows Server 2008 requires free disk space for the new operating system image, for the Setup process, and for any installed server roles. An error is logged when the domain controller role has detected insufficient disk space to perform the upgrade.
Additional disk space information may appear in the compatibility report displayed by Setup.
In some cases, the upgrade from Windows Server 2003 to Windows Server 2008 or Windows Server 2008 R2 (or from Windows Server 2008 to Windows Server 2008 R2) can fail silently if there is insufficient disk space. In this situation, the installation rolls back to the previous operating system.
You may also find more information in the Setupact.log file located in the Drive:\$WINDOWS.~BT\Sources\Panther folder, where Drive represents the drive that contains the existing Windows installation.
For the domain controller role, the volume or volumes that host the following resources also have specific free disk space requirements:
- Application Data (%AppData%)
- Program Files (%ProgramFiles%)
- Users Data (%SystemDrive%\Documents and Settings)
- Windows Directory (%WinDir%)
The free space on the %WinDir% volume must be equal or greater than the current size of the resources listed above and their subordinate folders when they are located on the %WinDir% volume. By default, Dcpromo.exe places the Active Directory database and log files under %Windir%, in which case, their size would be included in the free disk space requirements for the %Windir% folder.
For example, suppose that you have the following resources located on the %WinDir% volume, with the sizes listed in the following table.
| Resource |
Size |
|
Application Data (%AppData%)
|
100 MB
|
|
Program Files (%ProgramFiles%)
|
100 MB
|
|
Users Data (%SystemDrive%\Documents and Settings)
|
50 MB
|
|
Windows Directory (%WinDir%)
|
1 GB
|
|
Total size
|
1.25 GB
|
In this example, the free space on the %WinDir% volume must be equal to 1.25 gigabytes (GB) or greater.
However, if the Active Directory database is hosted outside any of the folders above, then the hosting volume or volumes must only contain additional free space equal to at least 10 percent of the current database size or 250 megabytes (MB), whichever is greater. Finally, the free space on the volume that hosts the log files must be at least 50 MB.
A default installation of Active Directory in Windows Server 2003 has the Active Directory database and log files under %WinDir%\NTDS. With this configuration, the Ntds.dit database file and all the log files are temporarily copied over to the quarantine location and then copied back to their original location; this is why additional free space is required for those resources. Although the SYSVOL directory is also under %WinDir% (that is, %WinDir%\SYSVOL), it is moved and not copied. Therefore, it does not require any additional free space.
After the upgrade, the space that was reserved for the copied resources will be returned to the file system.
Disk space requirements for upgrading to Windows Server 2008 R2
The Active Directory database, NTDS.dit, on Windows Server 2008 R2 domain controllers can be larger than in previous versions of Windows for the following reasons:
- The changes in the online defragmentation process on Windows Server 2008 R2 domain controllers.
- Windows Server 2008 R2 domain controllers add two new indices on the large link table.
- The Windows Server 2008 R2 Recycle Bin preserves attributes on deleted objects for the Recycle object lifetime.
For Recycle Bin, the database increases in size at the following moments:
- After Windows Server 2008 R2 adprep /forestprep completes and the first Windows Server 2008 R2 domain controller is installed, there is a new indexed attribute, isRecycled, whose value is set for all deleted objects.
- After the Recycle Bin is enabled, all attributes are kept on deleted objects. More disk space is required as more object deletions occur.
In a production Windows Server 2008 R2 domain at Microsoft, the Recycle Bin feature increased the AD DS database size by an additional 15 to 20 percent of the original database size, using the default deletedObjectLifetime and recycledObjectLifetime values of 180 days. Additional space requirements depend on the size and count of the objects that are recycled.
An in-place upgrade of a domain controller to Windows Server 2008 R2 requires sufficient disk space for the upgrade process to copy the following folders:
- %SystemRoot%
- %ProgramFiles%
- %SystemDrive%\Program Files
- %ProgramFiles(x86)%
- %SystemDrive%\build
- %SystemDrive%\InstalledRepository
- %ProfilesFolder%
- %ProgramData%
- %SystemDrive%\Documents and Settings
The following table shows the test results for an upgrade of a domain controller from Windows Server 2008 to Windows Server 2008 R2. In this table:
- <i> = 15 GB (the minimum amount of free space on a Windows hard drive that Windows setup requires)
- The original size of Ntds.dit was 5 GB.
| Ntds.dit location |
Free space (GB) on the system drive |
Result |
|
Ntds.dit is located on the same drive as the system, but it is out of %windir%.
|
1
|
In this scenario, Ntds.dit does not have to be copied from the Windows.old folder to the Windows folder, but there is not enough space to copy Windows setup files.
The compatibility report finds there is not enough space to copy Windows files.
The upgrade is blocked at the compatibility report.
|
|
Ntds.dit is located on a different drive than the system.
|
<i>
|
In this scenario, the disk meets the minimum free-space requirements for the Windows files to be installed, and Ntds.dit does not have to be copied from the Windows.old folder to the Windows folder.
The compatibility report warns the user that the amount of free space meets the minimum requirements and that the upgrade process would take longer.
The domain controller is upgraded successfully.
|
|
Ntds.dit is located on the default folder:
%windir%\ntds\
|
<i> + 1
|
In this scenario, the disk meets the minimum free-space requirements for the Windows Files to be installed, which causes the compatibility report to be bypassed. However, Ntds.dit is located under the Windows folder, which causes the upgrade to copy it from the Windows.old folder to the Windows folder. This last step fails because there is not enough space on the disk to fit Ntds.dit because the database was not copied to the new operating system. On its first start, Windows Server 2008 R2 is not able to locate Ntds.dit, which causes an error and forces the computer to roll back to the previous operating system.
ERROR_CODE: (NTSTATUS) 0xc00002ec - Directory Services could not start because of the following error: %hs Error Status: 0x%x. Click OK to shut down the system. You can use the recovery console to diagnose the system further.
Err 0xc00002ec = STATUS_DS_INIT_FAILURE_CONSOLE
The domain controller is rolled back to Windows Server 2008 successfully.
|
|
Ntds.dit is located on the same drive as the system, but it is out of %windir%.
|
<i>
|
In this scenario, the disk meets the minimum free-space requirements for the Windows Files to be installed, and Ntds.dit does not have to be copied from the Windows.old folder to the Windows folder.
The compatibility report warns the user that the amount of free space meets the minimum requirements and that the upgrade process would take longer.
The domain controller is upgraded successfully.
|
SYSVOL location on an RODC
On an RODC that uses Distributed File System (DFS) Replication for SYSVOL, you should place the SYSVOL shared folder on a separate volume than the Windows folder. Storing a DFS, read-only, replicated folder on the same volume as the Windows installation will result in decreased performance for that volume, unless there are other minifilter drivers installed, such as an antivirus program or a backup program.
AD DS installation failure if SYSVOL is located at the root of a drive
You cannot place SYSVOL at the root of drive, such as C:\. Although the Active Directory Domain Services Installation Wizard allows you to specify the root of a drive as the SYSVOL location, the AD DS installation will subsequently fail.
A Stop error occurs if Active Directory database and log files are located in the root of a directory of a disk that does not contain %systemroot%
If you place the Active Directory database and log files in the root directory of a disk other than the disk that contains %systemroot%, a Stop error will occur. You will also receive a Stop error if you place these files on an iSCSI drive that is not available as a boot device. This applies to Windows Server 2008 or Windows Server 2008 R2, and it applies to new AD DS installations and upgrades.
To avoid this, ensure that the Active Directory database and log files are in a volume other than the root volume of a local, nonremovable drive.
Some iSCSI devices incorrectly report that they are local drives even when they are not. If this occurs, contact the drive vendor to determine if the hardware can be configured as a boot device. If the hardware cannot be configured as a boot device, perform the following procedure.
To move the Active Directory database and log files
-
Restart the computer, and then enter Directory Services Restore Mode (DSRM) by pressing F8 while the computer starts.
-
Move the Active Directory database and log files to a subdirectory at least one level beneath the root of a local drive.
-
Use Regedit.exe to find this registry key: HKLM\System\CurrentControlSet\Services\NTDS\Parameters
-
Change the DSA Database File value to the new path from step 2, for example, x:\ntds.
-
Change the DSA Working Directory value to the new path from step 2, for example, x:\ntds\logs.
AD DS installation can fail if directory components or operating system files are placed on advanced drive types such as iSCSI devices
The AD DS installation in Windows Server 2008 R2 and Windows Server 2008 can fail if you place Active Directory components, such as the Active Directory database or SYSVOL, on an advanced drive type such as an iSCSI device. In Windows Server 2008 R2, the AD DS installation can fail to find an NTFS formatted drive if the operating system files are installed on an iSCSI device.
The issue with placing Active Directory components on an advanced drive type can occur after the AD DS installation wizard is finished and the server is restarted inn order to complete the installation. After the restart, the server fails to start in normal mode. You might see error 0xc00002e1 in the dcpromoui.log file or a Stop error with code c00002e2 appearing on screen.
The error is caused by Active Directory components such as the database not being available at startup. Placing the Active Directory database on a Storage Area Network (SAN) is supported only if the database is available at startup. Generally, if you cannot install the operating system onto the device in question and have the operating system boot off of it, you cannot host the Active Directory database on it, because Active Directory is a key part of the operating system boot process on computers hosting the domain controller server role.
As a workaround in this situation, install the Active Directory components on a hard drive that is accessible at startup.
The issue with AD DS installation failing to find an NTFS formatted drive if the operating system files are installed on an iSCSI device occurs only in Windows Server 2008 R2 and will be fixed in Service Pack 1. In this situation, the AD DS installation wizard fails with the following error:
This computer has no disk drives formatted for the NTFS file system. Because the SYSVOL folder is replicated among Active Directory domain controllers, that folder must be on a disk formatted with NTFS
(You can convert drives formatted with the FAT file system with the convert.exe command-line tool.)
Changes to performance counters
In Windows 2000 and Windows Server 2003, the Active Directory performance counters are single-instance and located under NTDS. Also, in Windows Server 2003, the Active Directory Application Mode (ADAM) performance counters were multi-instance and located under ADAM. In Windows Server 2008 and Windows Server 2008 R2, performance counters for both AD DS and Active Directory Lightweight Directory Services (AD LDS) are located under those same locations and also under DirectoryServices, which is multi-instance. The AD DS performance counters are under the NTDS instance, while the AD LDS performance counters are located under the instance that corresponds to the AD LDS service name (the same as they were in Windows Server 2003).
For example, on a computer running Windows Server 2003 with Active Directory installed and two ADAM services named ADAM_instance1 and ADAM_instance2, the following names appear under Instances of selected object in Performance Monitor (where the square brackets indicate the names shown):
-
NTDS
-
ADAM [ADAM_instance1]
-
ADAM [ADAM_instance2]
On a computer running Windows Server 2008 or Windows Server 2008 R2, the following names appear:
-
NTDS
-
DirectoryServices [NTDS]
-
DirectoryServices [ADAM_instance1]
-
DirectoryServices [ADAM_instance2]
On a computer running Windows Server 2003 that has only Active Directory installed, the following name appears:
On a computer running Windows Server 2008 or Windows Server 2008 R2 that has only AD DS installed, the following name appears:
-
NTDS
-
DirectoryServices [NTDS]
On a computer running Windows Server 2008 or Windows Server 2008 R2 that has only AD LDS instances named ADAM_instance1 and ADAM_instance2 installed, the following name appears:
-
DirectoryServices [ADAM_instance1]
-
DirectoryServices [ADAM_instance2]
The counters in the NTDS block are an exact copy of those in the DirectoryServices [NTDS] block. In the future, applications should start to use the DirectoryServices [NTDS] counters. The NTDS block is simply for backwards compatibility and may not continue to exist in future versions of Windows.