This article describes an issue when you try to create a new key in Windows Server 2012 R2. A hotfix is available to resolve this issue. The hotfix has a prerequisite.
Symptoms
This issue occurs when new key creation fails in distributed key management (DKM). Additionally, it takes a long time to find a valid key, which affects Active Directory Federation Services (AD FS) extranet access, device authentication, and device registration.cause of the issue in this article.
See theHotfix information
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.
If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix. Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
Prerequisites
To apply this hotfix, you must have update 2919355 installed in Windows Server 2012 R2.
Registry information
To use the hotfix in this package, you do not have to make any changes to the registry.
Restart requirement
You may have to restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Server 2012 R2 file information and notes
Important Windows 8.1 hotfixes and Windows Server 2012 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 8.1/Windows Server 2012 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
-
The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
Version
Product
Milestone
Service branch
6.3.960 0.17xxx
Windows Server 2012 R2
RTM
GDR
-
The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information" section. MUM, MANIFEST, and the associated security catalog (.cat) files, are very important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x64-based versions of Windows Server 2012 R2
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Microsoft.identityserver.dkm.dll |
6.3.9600.17564 |
92,672 |
08-Jan-2015 |
07:59 |
x86 |
Additional file information
Additional file information for Windows Server 2012 R2
Additional files for all supported x64-based versions of Windows Server 2012 R2
File property |
Value |
---|---|
File name |
Amd64_03a0f3e1cccd3b48b91cbeceaed9cf11_31bf3856ad364e35_6.3.9600.17566_none_65bd011f8725bb09.manifest |
File version |
Not applicable |
File size |
701 |
Date (UTC) |
08-Jan-2015 |
Time (UTC) |
08:01 |
File name |
Msil_microsoft.identityserver.dkm_31bf3856ad364e35_6.3.9600.17566_none_0dd7d9dafb6e7daa.manifest |
File version |
Not applicable |
File size |
3,318 |
Date (UTC) |
08-Jan-2015 |
Time (UTC) |
08:01 |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More Information
Cause
This issue occurs because the service account for the Device Registration service (DRS) service does not have the correct permissions, and leaves an incomplete object whena new key is created in DKM. The next time that DRS configuration is read, it will run this logic again and create another object. Then, it takes a long time to find a valid key because there are many objects. Specifically, the DKM key objects creation started when the key that is created during Initialize-ADDeviceRegistration became invalid and a new key had to be created. Therefore, an explosion of DKM objects in the DRS configuration causes time-out failures in DRS and AD FS.References
See the terminology that Microsoft uses to describe software updates.