Quick Fix: DHCP Server Role Fails To Install With Error Code 0x800706BE

I came across this problem while installing the DHCP server role on my Windows Server 2008 VM on my ESXi host. I was preoccupied with trying to fix this that the thought of writing about it didn’t come to mind hence I never took a screenshot of the error message. I can’t remember exactly what the error message said (something about RPC call having failed) but I do have the error code – 0x800706be.

I found a fix in a TechNet forum which I thought would be useful to post here for anyone who experiences the exact same problem. So here’s the fix:

  • Stop the wuauserv and Cryptsvc services (Windows Automatic Update Services and Cryptographic Services)
  • Delete the DataStore directory in C:\Windows\SoftwareDistribution\
  • Rename C:\Windows\system32\catroot2 to catroot2.old
  • Restart the wuauserv and Cryptsvc services

Alternatively for a one-click fix simply copy the following commands in a batch file and run it on your server.

net stop wuauserv
net stop Cryptsvc
cd /d %windir%\SoftwareDistribution
rd /s /q DataStore
ren %windir%\system32\catroot2 catroot2.old
net start wuauserv
net start Cryptsvc

After a quick reboot you should find the DHCP server role installs just fine. Hope someone somewhere finds this useful. PS. I can only vouch that this fix will work if you had the error code while attempting to install the DHCP server role (which was what happened in my case). Having trawled through the various forums looking for this fix it seems other people have come across the same error code but in different situations.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s