locked
0x80070005 - unable to install .NET 3.5 on Win 8.1 RRS feed

  • 質問

  • Have been trying to get .NET 3.5 installed on my Win 8.1 PC, but have been unsuccessful so far. I've been reading threads about these issues, but none of the suggestions seem to have made a difference.

    Using the "Turn Windows features on or off" route, I get the following message:

    Windows couldn't complete the requested changes.
    Access is denied.
    Error code: 0x80070005

    Using the alternative route in an elevated command prompt results in:

    C:\WINDOWS\system32>dism.exe /online /enable-feature /featurename:NetFX3 /Source
    :v:\sources\sxs /LimitAccess
    
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    
    Image Version: 6.3.9600.17031
    
    Enabling feature(s)
    [==========================100.0%==========================]
    
    Error: 5
    
    Access is denied.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
    
    C:\WINDOWS\system32>
    (V: being my virtual drive where the ISO is mounted)

    I'm located in The Netherlands. I have 2 .ZIP files with my logs, the first one is before and the second one is after running:

    DISM /Online /cleanup-image /CheckHealth
    DISM
    /Online /cleanup-image /RestoreHealth

    Hope anyone can shed some light on my issues, as I'm pretty much lost at the moment  :)  Many thanks in advance!


    • 編集済み E-Steg 2014年9月21日 9:44 added error code to title
    2014年9月20日 16:37

回答

  • For reasons that are unclear to me, yesterday I managed to install .NET 3.5 through the Control Panel in Safe Mode. I tried that earlier to no avail, but now succeeded... Wish I knew what actually caused the problem and what changed to make it work this time around, but I'm afraid that'll remain a mystery.

    Thanks everyone for your help!

    2014年9月24日 21:15

すべての返信

  • Try this path: Start command prompt wit elevated rights (Run as Administrator). Start Powershell and issue command for install windows feature. Follow syntax fro here

    http://technet.microsoft.com/en-us/library/jj205467.aspx

    HTH

    Milos

    2014年9月20日 17:01
  • the /RestoreHealth attempt was unsuccessful.

    There are many errors such as these, which will need to be corrected (and I doubt this can be auto-corrected).
    It seems there is some partial presence of NetFX already, but the permissions (SDDL) are not as they should be.

    2014-09-16 11:10:11, Info                  CSI    000000fd [DIRSD OWNER WARNING] Directory [ml:520{260},l:88{44}]"\??\C:\WINDOWS\Inf\MSDTC Bridge 3.0.0.0\0413" is not owned but specifies SDDL in component Microsoft-Windows-WCFCoreComp.Resources, pA = PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 (10), Culture = [l:10{5}]"nl-nl", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
    2014-09-16 11:10:11, Info                  CSI    000000fe [DIRSD OWNER WARNING] Directory [ml:520{260},l:102{51}]"\??\C:\WINDOWS\Inf\ServiceModelService 3.0.0.0\0413" is not owned but specifies SDDL in component Microsoft-Windows-WCFCoreComp.Resources, pA = PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 (10), Culture = [l:10{5}]"nl-nl", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
    2014-09-16 11:10:11, Info                  CSI    000000ff [DIRSD OWNER WARNING] Directory [ml:520{260},l:168{84}]"\??\C:\WINDOWS\Microsoft.NET\Framework64\v3.0\Windows Communication Foundation\en-US" is not owned but specifies SDDL in component Microsoft-Windows-WCFCoreComp.Resources, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture = [l:10{5}]"en-us", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
    <...>
    2014-09-16 11:10:11, Info                  CSI    00000100 Ignoring duplicate ownership for directory [l:76{38}]"\??\C:\WINDOWS\Microsoft.NET\Framework" in component Microsoft-Windows-NETFXCoreComp, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
    2014-09-16 11:10:11, Info                  CSI    00000101 Ignoring duplicate ownership for directory [l:98{49}]"\??\C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" in component Microsoft-Windows-NETFXCoreComp, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
    2014-09-16 11:10:11, Info                  CSI    00000102 Ignoring duplicate ownership for directory [l:112{56}]"\??\C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG" in component Microsoft-Windows-NETFXCoreComp, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
    2014-09-16 11:10:11, Info                  CSI    00000103 Ignoring duplicate ownership for directory [l:96{48}]"\??\C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705" in component Microsoft-Windows-NETFXCoreComp, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
    2014-09-16 11:10:11, Info                  CSI    00000104 Ignoring duplicate ownership for directory [l:64{32}]"\??\C:\WINDOWS\SysWOW64\MUI\0409" in component Microsoft-Windows-NETFXCoreComp, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral
    <...>
    2014-09-16 11:10:12, Error                 CSI    00000115@2014/9/16:09:10:12.836 (F) base\wcp\sil\merged\ntu\ntsystem.cpp(754): Error STATUS_ACCESS_DENIED originated in function WorkAroundBackupIntentForFilesystem expression: TmpStatus
    [gle=0x80004005]

    <...>

    2014-09-16 11:10:12, Info                  CBS    Failed to create filter driver list file. [HRESULT = 0x80070005 - E_ACCESSDENIED]
    2014-09-16 11:10:14, Error                 CSI    00000116 (F) STATUS_ACCESS_DENIED #776556# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = 0, handle = {provider=NULL, handle=0, name= ("null")}, da = (FILE_GENERIC_WRITE), oa = @0xa8fcdcd080->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[89]"\SystemRoot\WinSxS\Temp\PendingRenames\e960b5058ed1cf01c40300006009840c.topGradRepeat.jpg"; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0xa8fcdcd148, as = 8683 (0x00000000000021eb), fa = (FILE_ATTRIBUTE_NORMAL), sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN_IF, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT|0x00004000), eab = NULL, eal = 0, disp = Invalid)
    [gle=0xd0000022]
    2014-09-16 11:10:14, Error                 CSI    00000117@2014/9/16:09:10:14.040 (F) base\wcp\sil\merged\ntu\ntsystem.cpp(2155): Error STATUS_ACCESS_DENIED originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression: (null)
    [gle=0x80004005]

    <...>


    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)


    • 編集済み DonPick 2014年9月20日 23:32
    2014年9月20日 23:31
  • Your command is missing the "all" switch

    try

    DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs

    if that doesn't work

     uninstall these two updates and try again

    KB2966826 and KB2966828

    2014年9月20日 23:36
  • Thanks for your suggestions. Tried adding the all switch, but this results in the same error message as before.

    KB2966826 is not installed (WU shows no new updates are available. When I try to uninstall KB2966828 through the Control Panel > Programs and Features > Installed updates, I get:

    "An error has occurred. Not all of the updates were successfully uninstalled."

    I'm starting to think the easiest option would be to do a completely fresh installation, especially with all the ownership issues DonPick pointed out... I have no clue where it apparently all went wrong, frustrating.

    If anyone could suggest a solution to fix the permisson issues, I'd love to try and salvage my current installation. Many thanks in advance!

    2014年9月21日 8:39
  • Thanks for your suggestions. Tried adding the all switch, but this results in the same error message as before.

    KB2966826 is not installed (WU shows no new updates are available. When I try to uninstall KB2966828 through the Control Panel > Programs and Features > Installed updates, I get:

    "An error has occurred. Not all of the updates were successfully uninstalled."

    I'm starting to think the easiest option would be to do a completely fresh installation, especially with all the ownership issues DonPick pointed out... I have no clue where it apparently all went wrong, frustrating.

    If anyone could suggest a solution to fix the permisson issues, I'd love to try and salvage my current installation. Many thanks in advance!

    you could try: sfc /scannow
    and if that corrects some of the problems, then after that, again try:
    DISM /Online /cleanup-image /RestoreHealth

    * repairing Component Store corruption can be a very time-consuming task, and, it can still leave you with lingering issues with other aspects e.g. other applications. Cutting your losses, and considering a fresh install, may ultimately be needed...


    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

    2014年9月21日 9:25
  • Just before your reply, I googled the 0x80070005 error message some more, and came across Aaron Stebner's blog with instructions for the use of SubInACL to repair permission issues. Sadly, no improvements.

    Tried your suggestion, but this really isn't starting to look any brighter at all:

    C:\WINDOWS\system32>sfc /scannow

    Beginning system scan.  This process will take some time.

    Beginning verification phase of system scan.

    Windows Resource Protection could not perform the requested operation.

    ==Edit==

    Using the verifyonly switch:

    C:\Users\Etienne\Desktop\AccessChk>sfc /verifyonly

    Beginning system scan.  This process will take some time.

    Beginning verification phase of system scan.
    Verification 100% complete.

    Windows Resource Protection found integrity violations. Details are included
    in the CBS.Log windir\Logs\CBS\CBS.log. For example
    C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not supported in
    offline servicing scenarios.

    Sadly though, there are no new lines in the CBS.log...

    • 編集済み E-Steg 2014年9月21日 9:54
    2014年9月21日 9:31
  • no new lines in the CBS.log...

    Run ProcMon to see what is being recorded (or why it is not being recorded.)  Sounds like a permissions problem with that file, so renaming it may help, e.g. to allow a new one to be created when needed, hopefully with more appropriate permissions.  Filter first with Operation Is WriteFile.



    Robert Aldwinckle
    ---

    2014年9月21日 18:26
  • For reasons that are unclear to me, yesterday I managed to install .NET 3.5 through the Control Panel in Safe Mode. I tried that earlier to no avail, but now succeeded... Wish I knew what actually caused the problem and what changed to make it work this time around, but I'm afraid that'll remain a mystery.

    Thanks everyone for your help!

    2014年9月24日 21:15
  • Hi,

    Thanks for your sharing and update.

    If any further help needed, please feel free to ask in TechNet.

    Best regards


    Michael Shao
    TechNet Community Support

    2014年9月25日 1:40