Compartilhar via


How to troubleshoot error 0x800F081F when installing roles and features

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

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

  • Anonymous
    January 01, 2003
    The comment has been removed

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

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    January 01, 2003
    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.

  • Anonymous
    January 01, 2003
    Andre's right, I'd need the entire folder in this case and I'd also be interested about langpack installations.

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

  • Anonymous
    January 01, 2003
    also upload the CBS log folder. Have you installed a MUI? In this case the setup of 3.5 fails, you need to copy the sxs folder from a DVD which is the language you've installed or expand the MUI package (lp.cab) with expand into the Sxs folder.

  • Anonymous
    January 01, 2003
    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.

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    January 01, 2003
    That looks PowerShell only? No DISM way to do it for All Users? :)

  • Anonymous
    January 01, 2003
    Looking over the logs it looks like we're having a problem with the disk path which is why we're getting the invalid device.  Have you run CHKDSK on this volume?  I'm wondering if this is happening because of a bad sector or something like that 2013-01-21 18:32:05, Error                 CSI    00000084 (F) Volume serial # mismatch. Tempdir is (path:[l:44{22}]"??C:$$PendingFiles", serial:3256174064 (0xc21545f0)). Target is (path:[l:176{88}]"??C:Program FilesMSBuildMicrosoftWindows Workflow Foundationv3.5Workflow.Targets", serial:3468467385 (0xcebc9cb9)) [gle=0x80004005] 2013-01-21 18:32:05, Error                 CSI    00000085@2013/1/22:01:32:05.334 (F) basewcpsilfs_buffered.cpp(3212): Error STATUS_NOT_SAME_DEVICE originated in function Windows::Rtl::SystemImplementation::CBufferedFileSystemProvider::CreateOrOpenContentsFile expression: (null) [gle=0x80004005] 2013-01-21 18:32:05, Info                  CBS    Added C:WindowsLogsCBSCBS.log to WER report. 2013-01-21 18:32:05, Info                  CBS    Added C:WindowsLogsCBSCbsPersist_20130121215437.log to WER report. 2013-01-21 18:32:05, Info                  CBS    Added C:WindowsLogsCBSCbsPersist_20130121190712.log to WER report. 2013-01-21 18:32:05, Info                  CBS    Added C:WindowsLogsCBSCbsPersist_20130121184705.log to WER report. 2013-01-21 18:32:05, Info                  CBS    Added C:WindowsLogsCBSCbsPersist_20130121115520.log to WER report. 2013-01-21 18:32:05, Info                  CBS    Added C:WindowsLogsCBSCbsPersist_20130121095220.log to WER report. 2013-01-21 18:32:05, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND] 2013-01-21 18:32:05, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND] 2013-01-21 18:32:05, Info                  CBS    Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND] 2013-01-21 18:32:05, Error                 CSI    00000086 (F) STATUS_NOT_SAME_DEVICE #410961# from Windows::Rtl::SystemImplementation::CSystemIsolationLayer_IRtlSystemIsolationLayerTearoff::TransferFile(flags = (ReplaceIfExists|OpenForBackupIntent|MissingFileIsOk), op = [24]"HardLinkWithCopyFallback", odir = @0x8951673c08, oname = [l:32{16}]"Workflow.Targets", ndir = @0x8951673398, nname = [l:32{16}]"Workflow.Targets", disp = Unmapped disposition: 0) [gle=0xd00000d4] 2013-01-21 18:32:05, Error                 CSI    00000087 (F) STATUS_NOT_SAME_DEVICE #407479# from CFileInstaller::CommitChanges(...)[gle=0xd00000d4] 2013-01-21 18:32:05, Error                 CSI    00000088 (F) STATUS_NOT_SAME_DEVICE #407478# from PrimitiveInstaller::CCoordinator::FinalizeChanges(...)[gle=0xd00000d4] 2013-01-21 18:32:05, Info                  CSI    00000006 SMI Primitive Installer [done]

  • Anonymous
    January 01, 2003
    Than you guys for your quick responses. I really appreciate it! I have uploaded the CBS folder (and the new DISM log folder since I tried it again after some moreattempts at repairing windows. - you will see that on the CBS logs) http://sdrv.ms/15Ms2VP Please, remember, restoring windows is NOT an option. I use this PC for application development as well, and I have already done A LOT of customization by my company (including some paid propriety software) which took ages (I had to send it over) again, many thanks for your help in advance!

  • Anonymous
    January 01, 2003
    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.

  • Anonymous
    January 01, 2003
    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.

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    December 28, 2012
    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

  • Anonymous
    December 28, 2012
    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

  • Anonymous
    December 31, 2012
    in my laptop 66.5% is successful done.after that error is occurred

  • Anonymous
    January 21, 2013
    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:sourcessxs /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

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

  • Anonymous
    January 22, 2013
    I have put my 6 CBS/.log file in this .zip: http://sdrv.ms/Vp6TYP

  • Anonymous
    January 24, 2013
    I've been haveing problems installing the .Net 3.5 also. The error i get from Windows Update is: 0x800F081F I tried opening and Admin cmd and used: dism.exe /online /enable-feature /featurename:NetFX3 /Source:i:sourcessxs /LimitAccess where i: 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.

  • Anonymous
    May 30, 2013
    We resolved this by using dism.exe and using a capital letter for the drive letter for where the source files are kept.  

  • Anonymous
    July 14, 2013
    check if your windows into dvd/iso is same version ( 32bit or 64bit).

  • Anonymous
    August 09, 2013
    I have download "dotnetfx45_full_x86_x64.exe" NF 3.5 from miscrosoft website ,... but i m not ale to install bcuz It reqire 3.5 again ??

  • Anonymous
    April 13, 2015
    bull's-eye

  • Anonymous
    May 11, 2015
    The comment has been removed