Note: This article was originally published in 2013. Some steps, commands, or software versions may have changed. Check the current Windows Servers documentation for the latest information.

If you’re encountering this issue, this troubleshooting guide will help you identify the root cause and apply the appropriate fix. This applies to Windows Servers environments.

Error 0x800f0922 while adding DHCP role on (http://www.windowsserver.com “Windows Server”)

If you are installing the (http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol “Dynamic Host Configuration Protocol”) role on a Windows Server machine you might get the following 0x800f0922 (http://en.wikipedia.org/wiki/Error_message “Error message”):

Feature Installation The request to add or remove features on the specified server failed. Installation of one or more roles, role services, or features failed. Error: 0x800f0922

It actually turns out the reason behind this is very simple but somewhat dumb I think. If you already have an active DHCP server on your network then you are going to get error 0x800f0922 thrown every time you try to install another DHCP server. This makes sense specially back in the old day when having multiple DHCP servers was a bad idea as there is no shared central database to keep lease information and IP conflicts may arise from it (two or more computers with the same (http://en.wikipedia.org/wiki/IP_address “IP address”)). So the reason why I think this behavior is not ideal is because a simple warning/pre-requisite check would be more informative than a plain old (http://en.wikipedia.org/wiki/Error_code “Error code”). Furthermore, (http://www.microsoft.com/en-us/server-cloud/windows-server/default.aspx “Windows Server 2012”) Server allows you to have more than one DHCP server to balance or fail over. So based on that functionality it should let you install as now it is a valid scenario for an infrastructure.

So, to install the DHCP server the solution is simple (and perhaps obvious once you understand what throws the error 0x800f0922): Install the DHCP server by doing either one of the following two things first:

  • Disconnect the server from the network so it does not detect another active DHCP server

  • Temporarily Stop other DHCP servers on your network

And after that, at least to me, the DHCP server role installs successfully and no more 0x800f0922 errors.

(http://img.zemanta.com/zemified_e.png?x-id=09eee361-b4bc-47b4-9ec4-457de3952ef3)](http://www.zemanta.com/?px “Enhanced by Zemanta”)

Summary

This guide covered the common causes and solutions for this Windows Servers issue. If the problem persists, check the official documentation or system logs for additional diagnostic information.