none
Unable to install DHCP server role on Windows 2012 Server Essential

    Question

  • I am unable to install the DHCP server role.
    Getting the following error in the DISM log, any suggestions?

    2012-10-25 21:35:21, Warning               DISM   DISM Package Manager: PID=728 TID=4956 CBS AddSource failed with HRESULT=0x80070057! - CDISMPackageManager::Internal_Finalize
    2012-10-25 21:35:21, Info                  DISM   DISM Package Manager: PID=728 TID=4956 CBS session options=0x40100! - CDISMPackageManager::Internal_Finalize
    2012-10-25 21:35:57, Info                  DISM   DISM Package Manager: PID=728 TID=5508  Error in operation: (null) (CBS HRESULT=0x800f0922) - CCbsConUIHandler::Error
    2012-10-25 21:35:57, Error                 DISM   DISM Package Manager: PID=728 TID=4956 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0922)
    2012-10-25 21:35:57, Error                 DISM   DISM Package Manager: PID=728 TID=4956 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x800f0922)
    2012-10-25 21:35:57, Error                 DISM   API: PID=8720 TID=8512 Failed to process features change - CEnableDisableFeatureCommandObject::InternalExecute(hr:0x800f0922)
    2012-10-25 21:35:57, Error                 DISM   API: PID=8720 TID=8512 InternalExecute failed - CBaseCommandObject::Execute(hr:0x800f0922)

    Thursday, October 25, 2012 7:44 PM

Answers

  • Thanks for the reply.

    I finally got it working by unplugging the network cable from the server, logging into the server and installing the role. 
    Apparently it was trying to access the network for some installation files, which was causing an error.

    Thanks for the help guys.

    -Bjorn

    • Marked as answer by Hr0bjartz Monday, October 29, 2012 2:08 PM
    Monday, October 29, 2012 2:08 PM

All replies

  • How are you trying to install the role (PowerShell, Server Manager, DISM?) and what is the exit code that method is giving when it fails?

    --Joseph [MSFT] http://blogs.technet.com/b/joscon/

    Friday, October 26, 2012 4:31 PM
    Moderator
  • Thanks for the reply Joseph.

    Using the Server Manager. The error message is pretty general but gives the error code "0x800f0922".
    I have tried using an alternative source (Window Server 2012 Essentials img) but no luck (pointing to the sources/sxs folder of the img).

    I even tried setting the system/user locale to the same regional setting (read that was a problem in the BETA version).

    It could be the roles are missing or corrupt from the img but if so, then why are the alternative source not working?

    Thanks.
    -Bjorn 

    Friday, October 26, 2012 5:14 PM
  • Bjorn,

    Its possible that you might have corruption on the component store holding the role.  Run this command from an elevated command prompt (with an Internet connection) and try the operation again:

    DISM /Online /Cleanup-Image /RestoreHealth


    --Joseph [MSFT] http://blogs.technet.com/b/joscon/

    Friday, October 26, 2012 6:41 PM
    Moderator
  • Thanks, but no luck there - Went through the process and even rebooted afterwards but still getting same error.
    Cannot install the DHCP server. Windows update and installing other roles seems to be working.

    Any ideas?

    Friday, October 26, 2012 8:30 PM
  • Can you send me your CBS.log and DISM.log please

    --Joseph [MSFT] http://blogs.technet.com/b/joscon/

    Friday, October 26, 2012 9:06 PM
    Moderator
  • To what email address? The CBS.log files are pretty big. 
    Forgot to mention that earlier I tried running sfc/scannow, which fixed some errors apparently, but did not help with the problem. 
    Friday, October 26, 2012 9:17 PM
  • Here are some interesting parts of DISM.log:

    012-10-26 23:01:14, Info                  DISM   DISM Provider Store: PID=5412 TID=9816 Connecting to the provider located at C:\Windows\SYSTEM32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-10-26 23:01:14, Info                  DISM   DISM Provider Store: PID=5412 TID=9816 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-10-26 23:01:14, Info                  DISM   DISM Provider Store: PID=5412 TID=9816 Loading Provider from location C:\Windows\SYSTEM32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-10-26 23:01:14, Info                  DISM   DISM Provider Store: PID=5412 TID=9816 Connecting to the provider located at C:\Windows\SYSTEM32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    [5412] [0x8007007b] FIOReadFileIntoBuffer:(1415): The filename, directory name, or volume label syntax is incorrect.
    [5412] [0xc142011c] UnmarshallImageHandleFromDirectory:(511)
    [5412] [0xc142011c] WIMGetMountedImageHandle:(2568)
    2012-10-26 23:01:14, Info                  DISM   DISM WIM Provider: PID=5412 TID=9816 [C:\] is not a WIM mount point. - CWimMountedImageInfo::Initialize
    2012-10-26 23:01:14, Info                  DISM   DISM VHD Provider: PID=5412 TID=9816 [C:\] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
    2012-10-26 23:01:14, Info                  DISM   DISM Provider Store: PID=5412 TID=9816 Getting Provider VHDManager - CDISMProviderStore::GetProvider
    2012-10-26 23:01:14, Info                  DISM   DISM Provider Store: PID=5412 TID=9816 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2012-10-26 23:01:14, Info                  DISM   DISM VHD Provider: PID=5412 TID=9816 [C:\] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
    2012-10-26 23:01:14, Info                  DISM   DISM Imaging Provider: PID=5412 TID=9816 The provider VHDManager does not support CreateDismImage on C:\ - CGenericImagingManager::CreateDismImage
    2012-10-26 23:01:14, Info                  DISM   DISM Provider Store: PID=5412 TID=9816 Getting Provider WimManager - CDISMProviderStore::GetProvider
    2012-10-26 23:01:14, Info                  DISM   DISM Provider Store: PID=5412 TID=9816 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    [5412] [0x8007007b] FIOReadFileIntoBuffer:(1415): The filename, directory name, or volume label syntax is incorrect.
    [5412] [0xc142011c] UnmarshallImageHandleFromDirectory:(511)
    [5412] [0xc142011c] WIMGetMountedImageHandle:(2568)
    2012-10-26 23:01:14, Info                  DISM   DISM WIM Provider: PID=5412 TID=9816 [C:\] is not a WIM mount point. - CWimMountedImageInfo::Initialize
    2012-10-26 23:01:14, Info                  DISM   DISM Imaging Provider: PID=5412 TID=9816 The provider WimManager does not support CreateDismImage on C:\ - CGenericImagingManager::CreateDismImage
    2012-10-26 23:01:14, Info                  DISM   DISM Imaging Provider: PID=5412 TID=9816 No imaging provider supported CreateDismImage for this path - CGenericImagingManager::CreateDismImage
    2012-10-26 23:01:14, Info                  DISM   DISM Manager: PID=5412 TID=9816 physical location path: C:\ - CDISMManager::CreateImageSession
    2012-10-26 23:01:14, Info                  DISM   DISM Manager: PID=5412 TID=9816 Copying DISM from "C:\Windows\System32\Dism" - CDISMManager::CreateImageSessionFromLocation
    2012-10-26 23:01:16, Info                  DISM   DISM Manager: PID=5412 TID=9816 Successfully loaded the ImageSession at "C:\Windows\TEMP\C43ECCF8-7A29-4DEA-B05D-106C46FC024A" - CDISMManager::LoadRemoteImageSession


    Friday, October 26, 2012 9:29 PM
  • You can throw them on SkyDrive or send them to my email via my blog link in my sig.

    --Joseph [MSFT] http://blogs.technet.com/b/joscon/

    Friday, October 26, 2012 9:29 PM
    Moderator
  • And this...

    2012-10-26 21:17:57, Info                  DISM   DISM Provider Store: PID=3488 TID=6524 Loading Provider from location C:\Windows\TEMP\47139124-FA8B-4471-AC91-6513F77C4294\CbsProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-10-26 21:17:57, Info                  DISM   DISM Provider Store: PID=3488 TID=6524 Connecting to the provider located at C:\Windows\TEMP\47139124-FA8B-4471-AC91-6513F77C4294\CbsProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-10-26 21:17:57, Info                  DISM   DISM Provider Store: PID=3488 TID=6524 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
    2012-10-26 21:17:58, Info                  DISM   DISM Package Manager: PID=3488 TID=6524 Finished initializing the CbsConUI Handler. - CCbsConUIHandler::Initialize
    2012-10-26 21:17:58, Info                  DISM   DISM Package Manager: PID=3488 TID=6524 CBS is being initialized for online use. More information about CBS actions can be located at: %windir%\logs\cbs\cbs.log - CDISMPackageManager::Initialize
    2012-10-26 21:17:58, Info                  DISM   DISM Package Manager: PID=3488 TID=6524 Loaded servicing stack for online use only. - CDISMPackageManager::RefreshInstanceAndLock
    2012-10-26 21:17:58, Info                  DISM   DISM Package Manager: PID=3488 TID=6524 Initiating Changes on Package with values: 5, 7 - CDISMPackage::Internal_ChangePackageState
    2012-10-26 21:17:58, Info                  DISM   DISM Package Manager: PID=3488 TID=6524 CBS session options=0x40100! - CDISMPackageManager::Internal_Finalize
    2012-10-26 21:18:57, Info                  DISM   DISM Package Manager: PID=3488 TID=8352  Error in operation: (null) (CBS HRESULT=0x800f0922) - CCbsConUIHandler::Error
    2012-10-26 21:18:57, Error                 DISM   DISM Package Manager: PID=3488 TID=6524 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0922)
    2012-10-26 21:18:57, Error                 DISM   DISM Package Manager: PID=3488 TID=6524 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x800f0922)
    2012-10-26 21:18:57, Error                 DISM   API: PID=6456 TID=4956 Failed to process features change - CEnableDisableFeatureCommandObject::InternalExecute(hr:0x800f0922)
    2012-10-26 21:18:57, Error                 DISM   API: PID=6456 TID=4956 InternalExecute failed - CBaseCommandObject::Execute(hr:0x800f0922)
    2012-10-26 21:18:57, Error                 DISM   API: PID=6456 TID=7988 CEnableDisableFeatureCommandObject internal execution failed - DismEnableDisableFeatureInternal


    Friday, October 26, 2012 9:32 PM
  • Is this instance of Windows virtual or physical?  The first logs basically point to a bad parameter, the second show the CBS error occurring but I dont have context without the CBS.log.

    --Joseph [MSFT] http://blogs.technet.com/b/joscon/

    Friday, October 26, 2012 9:36 PM
    Moderator
  • Its a physical instance. You got mail.

    Thanks.
    -Bjorn

    • Proposed as answer by Internetwerx Monday, October 29, 2012 2:01 PM
    • Unproposed as answer by Internetwerx Monday, October 29, 2012 2:01 PM
    Friday, October 26, 2012 9:48 PM
  • Try deleting all files from C:\Windows\System32\DHCP\. You can leave the DHCP directory in place, but delete it's contents. Then install the role again.

    MO

    • Proposed as answer by Chad Simmons Friday, January 25, 2013 6:34 AM
    Monday, October 29, 2012 2:02 PM
  • Thanks for the reply.

    I finally got it working by unplugging the network cable from the server, logging into the server and installing the role. 
    Apparently it was trying to access the network for some installation files, which was causing an error.

    Thanks for the help guys.

    -Bjorn

    • Marked as answer by Hr0bjartz Monday, October 29, 2012 2:08 PM
    Monday, October 29, 2012 2:08 PM
  • I had the exact same error.

    I'm running under a virtualised instance on esxi rather than a physical instance. Same problem occurs on a fresh installation too. 

    Disconnecting the vm from the network was the only way to get it to complete the service installation.

    Saturday, November 03, 2012 5:04 PM
  • Just a fyi folks...the Essentials forum is over here >>>> http://social.technet.microsoft.com/Forums/en-IE/winserveressentials/threads
    Friday, November 09, 2012 12:07 AM
  • Deleting the contents of the DHCP folder allowed me to install the DHCP server role.

    Thanks for the suggestion.

    Friday, January 25, 2013 6:35 AM
  • Had same issue with DHCP service role.  It had been previously installed but wasn't working or listed as installed any more.  Tried to install and got the 800f0922 error.

    Clearing out the contents of the DHCP folder allowed the install of the role to succeed.

    Thanks Chad.


    Tim Mangan MVP for App-V and Citrix CTP Author of AppV books: "The Client Book" and "OSD Reference Book" (http://www.tmurgent.com/Books )

    Thursday, May 02, 2013 2:39 PM
  • I found that if there is already a DHCP server running (like on the router or gateway), the DHCP service role will not install correctly.  Try disabling all other DHCP servers and then install again.  Probably clear the contents of c:\windows\system32\dhcp
    • Proposed as answer by Getnoldfast Friday, July 25, 2014 2:06 PM
    Tuesday, September 24, 2013 1:00 AM
  • Unplugging the network cable and clearing the DHCP folder worked for me. I did have another DHCP server running which could have been the cause, but it was easier to unplug the NIC rather than shutdown the other DHCP server.
    Wednesday, September 25, 2013 8:33 PM
  • Please check internet explorer proxy settings and system proxy settings and if it is activated... deactivate all proxys (include the search of automatic proxy configuration)

    We ran into that problem with two domain controllers:

    1. Install Win 2012 Server

    2. Promote to DC

    3. Install DCHP - Server with Server-Manager -> It failed

    4. Ok, powershell is my friend - Install DHCP via Powershell - everything fine... DHCP console works, but Server manager shows that I have to configure DHCP finally

    5. Trying to configure DHCP via Server Manager ran into a ServerManager timeout...

    6. Set a registry key that hide the DHCP-Configure task and now everything fine !! Configured dhcp-failover and went home....

    7. 1 Day later we installed our monitoring agent, a couple of hours later the domain controller 1 ran into 100% cpu usage... | Ok, could happened, reboot and everyhing fine...

    8. Two or three hours later DC2 run into 100% cpu usage and so on....

    9. Hours/days of troubleshooting later...... : We find out that service WinRM is the problem. Run a simple: winrm get winrm/config  shows the same problem (cpu usage up to 100%). And also you get no information about the winrm config. 

    10. At some point I installed a new Windows server 2012 and try again to install dhcp-server and it did not work again...winrm get winrm/config did not work too. Don't ask why, but after that I try to disable the automatic search for proxy-server configuration at IE (we use wpad) and voilà DHCP-Install via ServerManager is working, winrm get winrm/config is working, everything is fine....finally!!

    I don't really know how winRM and DHCP-Server does work together or what does the proxy has to do with it, but it works now...

    Friday, October 18, 2013 12:15 PM
  • 

    Dear all,,

    finally it have been solved. 

    Here our solution:

    As daughter company we have a trust to our parent company configured. And for that trust our parent company has defined firewall rules. All normal ports for a Trust with windows server 2003 were open (e.g. 389,135,445....and so on). But some high ports were not openend (as required with 2008 Trusts) [Reference at technet: http://technet.microsoft.com/de-de/library/dd772723(v=ws.10).aspx)2. And that has killed the server manager with windows server 2012. 

    It was not a problem with DHCP-Server Role installation, all roles were affected. Start installation and the winRM went crazy....

    If you run into that problem...check:

    1. Exist a Trust?

    2. All requiered Ports are open?

    Monday, July 14, 2014 12:51 PM
  • Thank you that works for me too.
    Sunday, July 20, 2014 1:20 PM
  • If another DHCP server is active and passing out addresses, the DHCP Role will not install because of this. Unplugging the network cable obviously cuts the connection to the network and active DHCP server. Disabling the active DHCP server or unplugging the network cable will do the trick.
    Friday, July 25, 2014 2:08 PM
  • Thank you. This was my issue. It would be nice if the error would just state that.

    I full well knew I had another DHCP server on the network.  I was setting up a new one on the new DC and was waiting to cut off the old one until after I had the new one setup.  Thank you Microsoft for all the hand holding, but not necessary.

    Thanks for your post -very helpful!

    Monday, April 27, 2015 3:51 PM