The Windows Servicing Guy

Tips and tricks from a Windows support engineer on issues related to servicing

How to troubleshoot error 0x800F081F when installing roles and features

How to troubleshoot error 0x800F081F when installing roles and features

  • Comments 27
  • Likes

I’ve seen a couple of issues now where customers are having issues installing roles and features, particularly the .Net Framework 3.5, in Windows 8 and Server 2012.  The general process is that you’ll have an application that needs the older .Net Framework and run through the UI wizard in an attempt to download the files from Windows Update.  If this fails, you’ll see the error with exit code 0x800F081F.  The means that we cant find a source for the files we need to install the feature you’re requesting.  So, how do you troubleshoot this?

  1. Make sure the source you’re using isn't corrupted.  If you have a download ISO from MSDN/TechNet/VL/etc, make sure that the ISO is good or try another source just to make sure.
  2. Make sure the component store isn't corrupted.  I’ve spoken in the past about the Inbox Corruption Repair feature (aka in-box CheckSUR) and it usually resolves a lot of these problems.  You can check your system for problems by running the command: DISM /Online /Cleanup-Image /RestoreHealth from an Internet connected machine.  Any corruption and repair operations will be logged to the CBS.log
  3. If you have a WSUS server on your network, use the /LimitAccess switch from DISM and install the component that way.  For example, for the .Net Framework, this command is: DISM /Online /Enable-Feature /Featurename:NetFX3 /Source:G:\sources\sxs /LimitAccess (where G: is the appropriate letter for the location of the DVD/ISO)
  4. Update your source media.  I reference how to do this in this prior post
  5. If all else fails, open a support ticket with us so we can take a look at your logs and determine what’s going on.

Most of the time, I’ve seen steps 1-4 (or a combination of them) resolve these types of issues.

Hope that helps, let me know if you have questions.

--Joseph

Comments
  • Sorry, off-topic question: Is there any way to uninstall Store installed third party apps using DISM? dism -online /Remove-ProvisionedAppxPackage /PackageName: only seems to work for provisioned (built-in) apps that are part of the image.

  • You mean outside of just uninstalling it in the UI?  Good question, for now, I'll just say I don't know.  Let me work on this a bit and I'll get back to you.

  • Ok, found your answer, apps are installed per user, so they need to be uninstalled a little differently.  We have documentation around this located here: technet.microsoft.com/.../hh852635.aspx

    Basically, you'll use Get-AppxPackage -AllUsers to list out the packages and then Remove-AppxPackage <PackageFullName> to remove it from the system.

  • That looks PowerShell only? No DISM way to do it for All Users? :)

  • That's the DISM PowerShell cmdlet, yes.  You could also do it in DISM if you like.

  • Hi, I did not like it but I'm going to say what you want to enable error 1420 thanks my email address Amitabh aliamita.aa @ gmail.com

  • Hi again because I have not enabled Windows 8 Microsoft Dunnett 3.5'll have to ask you a simple solution to enable it to people who are experiencing this problem as Amitabh thanks

  • This might help you: blogs.technet.com/.../windows-8-and-net-framework-3-5.aspx

  • in my laptop 66.5% is successful done.after that error is occurred

  • You have to make sure that you follow the steps above and that you aren't copying and pasting the command in when you're trying to add the feature.  I've seen most people hit this because of extra spaces in the commands.

  • I've been haveing problems installing the .Net 3.5 also. The error i get from Windows Update is:

    0x80070011

    I tried opening and Admin cmd and used:

    dism.exe /online /enable-feature /featurename:NetFX3 /Source:f:\sources\sxs /LimitAccess

    where f:\ is my dvd drive where the install disk is located.

    I also tried:

    dism /online /cleanup-image /restorehealth

    but non of these were able to resolve the issue.

    dism.log link: http://sdrv.ms/10jxvdX

  • That error is:

    ERROR_NOT_SAME_DEVICE                                  

    # The system cannot move the file to a different disk drive.

    I see your DISM.log has the command:

    DISM.EXE: Executing command line: dism.exe  /online /enable-feature /featurename:NetFX3 /Source:f:\sources\sxs /LimitAccess

    The problem with the command is you have an extra space between DISM and /Online which will cause the command to fail.  I would try typing the command in if you're attempting to copy and paste it in.

  • thanks, i tried it again typing the whole thing out, but I still got the same error.

  • k, then we'd need to see the CBS.logs to figure out the issue

  • I have put my 6 CBS/.log file in this .zip: http://sdrv.ms/Vp6TYP