Произошла ошибка microsoft windows netfx3 ondemand package ошибка 0x800f0818

Привет друзья! Несколько дней назад при установке на свой ноутбук с Windows 10 одной необходимой мне программы я получил ошибку «Приложению на вашем компьютере требуется следующий компонент Windows: .NET Framework 3.5 (включает .NET 2.0 и 3.0)». Нажав «Скачать и установить этот компонент»

я получил другую ошибку «Windows не удалось найти файлы, необходимые для выполнения запрошенных изменений. Код ошибки 0x800F081F»

С данной проблемой я уже встречался. Дело в том, что платформа NET Framework 3.5 интегрирована в Windows 10 и её не нужно устанавливать заново, а необходимо просто подключить, делается это так. Открываем вкладку «Включение и отключение компонентов Windows» и отмечаем пункт .NET Framework 3.5 (включает .NET 2.0 и 3.0), затем жмём на OK и все дела.

Но после данных действий я опять получил ошибку «Произошла ошибка. Некоторые компоненты установить не удалось»

Пришлось обратиться за помощью к моему другу Владимиру и он как всегда нашёл оригинальное решение!

Как интегрировать пакет NET Framework 3.5 в установленную Windows 10 с помощью Dism

Если у вас не получается интегрировать пакет NET Framework 3.5 в установленную Windows 10 привычным способом, то поступаем так.

В дистрибутиве Windows 10 есть пакет NET Framework 3.5 в виде файла с разрешением .cab. Cab файлы — это пакетные файлы, которые можно интегрировать в операционную систему с помощью Dism. Смотрим подробности.

Скачиваем оригинальный ISO-образ Windows 10 на сайте Майкрософт и подсоединяем его к виртуальному дисководу, в моём случае буква диска (D:).

Пакет NET Framework 3.5 в виде файла с разрешением .cab, находится по пути D:\sources\sxs и называется microsoft-windows-netfx3-ondemand-package.cab.

Открываем Windows PowerShell от имени администратора


и вводим команду: 

dism /online /add-package /packagepath:d:\sources\sxs

Опять открываем вкладку «Включение и отключение компонентов Windows» и видим, что компонент NET Framework 3.5 включен в нашей Windows 10.

Fix Unable to install net Framework 3.5 on Windows 10. Getting an error Windows could not complete the requested changes: Error 0x800f081f, 0x800f0805, 0x80070422, 0x800f0922, 0x800f0906, etc while installing .net framework 3.5 On Windows 10? Let’s understand what .NET Framework is and how to fix .net framework installation error 3.50x800f0950 windows 10.

What is .NET Framework?

The .NET Framework is a software framework used by many Windows applications. For developers, the .NET Framework provides a consistent programming model for building applications. Some programs developed on a specific version of Visual Studio require a specific version of the .NET Framework. Many companies develop their applications to run using the .NET Framework and these applications target a specific version.

Normally Windows 8.1 and 10 come with net framework 4.5 and 4.6 pre-installed. But the apps are developed with. Net framework 3.5 does not run on Windows 10 and 8.1 systems until you install .net framework 3.5 on your system.

To run a Program built for net framework 2.0 and 3.0 versions, you must have .net framework 3.5 installed. You can enable .net Framework 3.5 on Windows Programs and Features from Control Panel -> Programs and Features, choosing to enable or disable Windows features. Select .NET Framework 3.5 (includes 2.0 and 3.0).

But some windows users report while installing and enabling .net framework 3.5 on Windows 10 failed to install with error message Windows cannot connect to Internet to download required files. Make sure you are connected to the Internet and click Retry to try again. Error codes 0x800F0906, 0x800f081f, 0x800f0805, 0x80070422, 0x800f0922, 0x800f0906, etc.

Check for and install the latest windows updates

When you get error code 0x800F081F or 0x800F0906, you should first check for windows updates and install all available updates.

You can do this from settings -> update & security -> windows update -> check for updates . Then try to activate/install .NET framework from programs and features. However, need help following the next solution.

Enable the .NET Framework with the DISM . command

And the easy solution If the above methods fail, you can try to activate NET framework 3.5 manually using the DISM command. To do this, first Download microsoft-windows-netfx3-ondemand-package.cab from below and copy the downloaded netfx3-onedemand-package.cab file to Windows Installation Drive (C: Drive) .

Then select Open Command Prompt As an administrator, type the command below and press Enter to execute the command.

Dism.exe /online /enable-feature /featurename:NetFX3 /source:C: /LimitAccess 

Command to explain

/Online: target the operating system you’re running (instead of an offline Windows image).

/Enable-Feature /FeatureName  : NetFx3 specifies that you want to enable the .NET Framework 3.5.

/All:  Enables all key features of the .NET Framework 3.5.

/LimitAccess:  prevents DISM from contacting Windows Update.

Wait until 100% completion of the Command, Then you will get the message Operation completed successfully. Close the Command prompt window and Restart to start over. That’s all you have successfully installed .NET Framework 3.5 on your PC running Windows 10, 8.1.

Download 3.5 offline .net framework

Since error code 0x800f0950 is related to .net framework 3.5, you can download it directly from Windows 10 website

Download with full package net framework 3.5 and install with administrator privileges. Restart windows for the changes to take effect.

Fix Can’t install .Net Framework 3.5 in Windows 10 x64 Enterprises

The .NET Framework is an integral part of many applications running on Windows and provides common functionality for those applications to run. Normally, before running/installing such applications, we need to enable .NET Framework from the Control Panel on the computer.  So, you may first check if the .NET Framework 3.5 is available in the Control Panel on Windows 10 and if available, you may enable it from the Control Panel to install it on the computer. To check if the.NET Framework 3.5 is available in Control Panel and to enable it, please follow these steps:

a) Press “Windows Logo” + “R” keys on the keyboard.

b) Type “appwiz.cpl” in the “Run” command box and press “ENTER”.

c) In the “Programs and Features” window, click on the link “Turn Windows features on or off”.

d) Check if the “.NET Framework 3.5 (includes .NET 2.0 and 3.0)” option is available in it.

e) If yes, then enable it and then click on “OK”.

f) Follow the on-screen instructions to complete the installation and restart the computer, if prompted.

This will install the .NET Framework 3.5 feature on the computer. There is also another way by which .NET Framework 3.5 gets installed on the computer. This is done by the apps on demand.

If an app requires the .NET Framework 3.5, but doesn’t find that version enabled on your computer, it displays the prompt for installing the .NET Framework 3.5 on demand, either during installation, or when you run the app for the first time after its installation. In this prompt, you can choose the option “Install this feature” to enable the .NET Framework 3.5 on the computer.

You can also refer the below link:

try these also:

1. Download Windows Update Assistant. Run it..

2. Wait Until update is done.

3. Go to Control panel > Programs and features > Turn windows feature on and off> check .net framework 3.5>ok

if that dose not work then

4. add a flash drive to your pc

5. copy all windows 10 setup file to your flash drive or mount windows 10 setup iso file.

6. in start > search “edit group policy” > Computer configuration > Administrative templates > system> search for specify settings for optional component installation

7. click enabled and in alternative source file path write  X:\sources\sxs\

where x is path for your mount drive or flash drive. 

8. then ok.

and do the steps 1,2,3.

Hopefully, the above sharing can help you solve the .Net Framework 3.5 error 0x800f0950 in Windows 10. If you have any questions related to this content, please leave the comment below. See you in the next posts. Follow Ngolongtech to get the latest updates! 

you have just installed a fresh new Windows Server 2012R2 on premise or in Azure and you need to install .Net Framework 3.5 Features

But it fails with an error 0x800f081f

a quick search says you need this command to do this well eh why ? but any way it is on the web so it must be right .

dism.exe /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\sources\sxs  <> Will not Work

But why everybody says thanks! let me that you to the real problem. Reminder this is for all Servers even in Azure !

image

We checked the .Net Framework 3.5 Features and failed

image

Next attempt Give the Source to the installation. not very handy in Azure first download a ISO then mount this to the OS.

But it is on the Web so it must be true and the installation says he I need a Source I do not have these files and the OS is not lying or does it ?

image

So we put in the Source and give it a try.

image

image

Same error and with the source, maybe my source is not right , yeh right.

Test tis one more time form the Command

Then there is this line, this should work eh yes is did not.

dism.exe /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\sources\sxs

image

See it did not work, I told you so in the first line So what is really going on in this system.

The Real fix for installing .NET Framework 3.5 Feature and Error 0x800f081f

If you open a PowerShell window and query the roles and features Get-WindowsFeature take a look at .NET Framework 3.5.

image

In the last column the Install state is different, it says Removed ?

  1. Removed means that you can install the feature but the source files for that are not available for this OS (not always)
  2. Installed means that the role or feature is already enabled and in use
  3. Available means that you can install the feature and the source files are on the machine and the OS can use them

But Removed, If the @Azure Team has removed this feature could this be the problem ?

Let me check if there are Updates for my system.

image

image

What there is an update for me and I do not have the .NET 3.5 Framework features installed.

then there must be an update there for me that is nagging me. Let me search the updates for .NET 3.5 Framework and compare them to the Installed updates.

KB2966828  http://support2.microsoft.com/kb/2966828

This is an .NET 3.5 Framework update ad must be installed when the .NET 3.5 Framework was installed and patched

image

I uninstalled this update

Reinstalled .NET 3.5 Framework feature and see now it is working.

So all the time a Windows Update is keeping me from installing the .NET 3.5 Framework Feature.

Sometimes Windows can be a pain, But you are in control !

Happy Clustering!

Robert Smit

Http://robertsmit.wordpress.com

@clustermvp

Technorati Tags: Framework,Feature,Windows,Server,Azure,Error,Solution
WordPress Tags: Framework,Feature,Windows,Server,Azure,Error,Solution

Robert Smit is Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009.
Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries.
Robert’s past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals
who are trying to address real concerns around business continuity, disaster recovery and regulatory compliance issues. Robert holds the following certifications:
MCT — Microsoft Certified Trainer, MCTS — Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on Hyper-V, Failover Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization.
Follow Robert on Twitter @ClusterMVP
Or follow his blog https://robertsmit.wordpress.com
Linkedin Profile Http://nl.linkedin.com/in/robertsmit

Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues.

A customer says » Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. »

Details of the Recommendation: «I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project
View all posts by Robert Smit [MVP]

Привет друзья! Несколько дней назад при установке на свой ноутбук с Windows 10 одной необходимой мне программы я получил ошибку «Приложению на вашем компьютере требуется следующий компонент Windows: .NET Framework 3.5 (включает .NET 2.0 и 3.0)». Нажав «Скачать и установить этот компонент»

я получил другую ошибку «Windows не удалось найти файлы, необходимые для выполнения запрошенных изменений. Код ошибки 0x800F081F»

С данной проблемой я уже встречался. Дело в том, что платформа NET Framework 3.5 интегрирована в Windows 10 и её не нужно устанавливать заново, а необходимо просто подключить, делается это так. Открываем вкладку «Включение и отключение компонентов Windows» и отмечаем пункт .NET Framework 3.5 (включает .NET 2.0 и 3.0), затем жмём на OK и все дела.

Но после данных действий я опять получил ошибку «Произошла ошибка. Некоторые компоненты установить не удалось»

Пришлось обратиться за помощью к моему другу Владимиру и он как всегда нашёл оригинальное решение!

Как интегрировать пакет NET Framework 3.5 в установленную Windows 10 с помощью Dism

Если у вас не получается интегрировать пакет NET Framework 3.5 в установленную Windows 10 привычным способом, то поступаем так.

В дистрибутиве Windows 10 есть пакет NET Framework 3.5 в виде файла с разрешением .cab. Cab файлы — это пакетные файлы, которые можно интегрировать в операционную систему с помощью Dism. Смотрим подробности.

Скачиваем оригинальный ISO-образ Windows 10 на сайте Майкрософт и подсоединяем его к виртуальному дисководу, в моём случае буква диска (D:).

Пакет NET Framework 3.5 в виде файла с разрешением .cab, находится по пути D:sourcessxs и называется microsoft-windows-netfx3-ondemand-package.cab.

Открываем Windows PowerShell от имени администратора

и вводим команду: 

dism /online /add-package /packagepath:d:sourcessxs

Опять открываем вкладку «Включение и отключение компонентов Windows» и видим, что компонент NET Framework 3.5 включен в нашей Windows 10.

I know what you are thinking, «Not this again, this has been answered a thousand times»

.Net 3.5 will NOT install.  I have tried everything i can find and more.  It is windows 10 Pro, 1809.  these have all failed;

Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:sourcessxs /LimitAccess
dism /online /add-package /packagepath:D:sourcessxs

Set the WSUS server key to 0

The actual error, (for the add-package command) is

2020-04-15 11:13:52, Info                  DISM   DISM Package Manager: PID=8764 TID=9848 Package Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.17763.1 with CBS state
0(CbsInstallStateAbsent) being mapped to dism state 1(DISM_INSTALL_STATE_NOTPRESENT) — CDISMPackage::LogInstallStateMapping
2020-04-15 11:13:52, Info                  DISM   DISM Package Manager: PID=8764 TID=9848 Initiating Changes on Package with values: 4, 7 — CDISMPackage::Internal_ChangePackageState
2020-04-15 11:13:52, Error                 DISM   DISM Package Manager: PID=8764 TID=9848 Failed initiating changes — CDISMPackage::Internal_ChangePackageState(hr:0x800f0818)
2020-04-15 11:13:52, Error                 DISM   DISM Package Manager: PID=8764 TID=9848 Failed to Install the package Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.17763.1.
— CDISMPackage::InstallEx(hr:0x800f0818)
2020-04-15 11:13:55, Info                  DISM   DISM Package Manager: PID=8764 TID=9848 Package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.17763.1 with CBS state 0(CbsInstallStateAbsent)
being mapped to dism state 1(DISM_INSTALL_STATE_NOTPRESENT) — CDISMPackage::LogInstallStateMapping
2020-04-15 11:13:55, Info                  DISM   DISM Package Manager: PID=8764 TID=9848 Initiating Changes on Package with values: 4, 7 — CDISMPackage::Internal_ChangePackageState
2020-04-15 11:13:55, Error                 DISM   DISM Package Manager: PID=8764 TID=9848 Failed initiating changes — CDISMPackage::Internal_ChangePackageState(hr:0x800f0818)
2020-04-15 11:13:55, Error                 DISM   DISM Package Manager: PID=8764 TID=9848 Failed to Install the package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.17763.1. —
CDISMPackage::InstallEx(hr:0x800f0818)
2020-04-15 11:13:55, Error                 DISM   DISM Package Manager: PID=8764 TID=9848 Failed while processing command add-package. — CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0818)

==============

More gory details

==============

C:WINDOWSsystem32>Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:sourcessxs /LimitAccess

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.752

Enabling feature(s)
[==========================100.0%==========================]

Error: 0x800f081f

The source files could not be found.
Use the «Source» option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.

The DISM log file can be found at C:WINDOWSLogsDISMdism.log

C:WINDOWSsystem32>dism /online /add-package /packagepath:D:sourcessxs

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.752

Processing 1 of 4 — Adding package Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~en-US~11.0.17763.1
[==========================100.0%==========================]
Processing 2 of 4 — Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~en-US~10.0.17763.1
[==========================100.0%==========================]
Processing 3 of 4 — Processing 4 of 4 —
Error: 0x800f0818

Package Microsoft-Windows-InternetExplorer-Optional-Package may have failed due to pending updates to servicing components in the image. Try the command again.Package Microsoft-Windows-NetFx3-OnDemand-Package may have failed due to pending updates to servicing
components in the image. Try the command again.The command completed with errors.
For more information, refer to the log file.

The DISM log file can be found at C:WINDOWSLogsDISMdism.log

C:WINDOWSsystem32>


BlankMonkey

  • Remove From My Forums
  • Question

  • OS is Win server 2019

    What is the problem and how to fix it, thanks.

    FROM openjdk:8-jdk-windowsservercore

    # Install .Net 3.5 Framework
    RUN
            $ErrorActionPreference = ‘Stop’;
            $ProgressPreference = ‘SilentlyContinue’;
            Invoke-WebRequest
                -UseBasicParsing
                -Proxy http://proxy.bob.com:8080 -ProxyUseDefaultCredentials
                -Uri «https://dotnetbinaries.blob.core.windows.net/dockerassets/microsoft-windows-netfx3-ltsc2016.zip»
                -OutFile microsoft-windows-netfx3.zip;
            Expand-Archive microsoft-windows-netfx3.zip;
            Remove-Item -Force microsoft-windows-netfx3.zip;
            Add-WindowsPackage -Online -PackagePath .microsoft-windows-netfx3microsoft-windows-netfx3-ondemand-package.cab;
            Remove-Item -Force -Recurse microsoft-windows-netfx3

  • Remove From My Forums
  • Question

  • OS is Win server 2019

    What is the problem and how to fix it, thanks.

    FROM openjdk:8-jdk-windowsservercore

    # Install .Net 3.5 Framework
    RUN
            $ErrorActionPreference = ‘Stop’;
            $ProgressPreference = ‘SilentlyContinue’;
            Invoke-WebRequest
                -UseBasicParsing
                -Proxy http://proxy.bob.com:8080 -ProxyUseDefaultCredentials
                -Uri «https://dotnetbinaries.blob.core.windows.net/dockerassets/microsoft-windows-netfx3-ltsc2016.zip»
                -OutFile microsoft-windows-netfx3.zip;
            Expand-Archive microsoft-windows-netfx3.zip;
            Remove-Item -Force microsoft-windows-netfx3.zip;
            Add-WindowsPackage -Online -PackagePath .microsoft-windows-netfx3microsoft-windows-netfx3-ondemand-package.cab;
            Remove-Item -Force -Recurse microsoft-windows-netfx3

Обновление системы это очень важное составляющая для безотказной работы сервера, но при установки обновлений, особенно SP, иногда случаются ошибки. О решении одной из таких ошибок, а именно ошибки 0x800f0818 пойдет речь в этой статье.

Итак, при входе в «Диспетчер сервера- Роли или Компоненты» получаем ошибку 0x800f0818.

А логах системы видим ошибку Serice Pack insallation failed with error code 0x800f0818.

Для ее устранения необходимо скачать с сайта Microsoft Средство проверки готовности системы к обновлению для своей версии операционной системы.
После скачивания, запускаем ее установку. После успеной установки заходим в папку C:WindowslogsCBS открываем файл CheckSUR.log
Увидим примерно следующую картину (у каждого соответственно она будет своя)

=================================
Checking System Update Readiness.
Binary Version 6.1.7601.21645
Package Version 18.0
2013-04-06 19:09
Checking Windows Servicing Packages
Checking Package Manifests and Catalogs
(f)    CBS MUM Corrupt    0x00000000    servicingPackagesPackage_for_KB2347290_RTM~31bf3856ad364e35~amd64~~6.1.1.1.mum        Expected file name Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7600.16385.mum does not match the actual file name
(fix)    CBS MUM Corrupt    CBS File Replaced    Package_for_KB2347290_RTM~31bf3856ad364e35~amd64~~6.1.1.1.mum from Cabinet: C:WindowsCheckSurv1.0windows6.1-servicing-x64-2jan13.cab.
(fix)    CBS Paired File    CBS File also Replaced    Package_for_KB2347290_RTM~31bf3856ad364e35~amd64~~6.1.1.1.cat from Cabinet: C:WindowsCheckSurv1.0windows6.1-servicing-x64-2jan13.cab.
Checking Package Watchlist
Checking Component Watchlist
Checking Packages
Checking Component Store
Summary:
Seconds executed: 338
 Found 1 errors
 Fixed 1 errors
  CBS MUM Corrupt Total count: 1
  Fixed: CBS MUM Corrupt.  Total count: 1
  Fixed: CBS Paired File.  Total count: 1

Согласно этому логу проблема возникла при неправильной установки обновления KB2347290 (в вашем случае возможно другое обновление установилось неправильно, возможно даже не одно, а несколько). Необходимо скачать это обновление на сайте Micrsoft.

После этого распаковывать скачанный архив командой:
expand -F:* {имя скачанного файла.msu } С:Temp
В итоге в папке Temp на диске С должен появиться файл с расширением .CAB, распаковываем его тоже, командой:
expand -F:* {имя файла.cab} С:Temp
В результате на диске С в папке Temp появиться куча файлов, находим нужный нам (судя по логам в моем случае это KB2347290_RTM~31bf3856ad364e35~amd64~~6.1.1.1.mum), этот файл нам необходимо скопировать в папку C:WindowsServicingPackages, но для начала нам нужно дать права на эту папку, для этого в командной строке запускаем команду:
takeown /F c:WindowsServicingPackages /D y /R
и даем полные права на папку с помощью команды:
cacls c:WindowsServicingPackages /E /T /C /G «DomainUserName»:F
Далее, скачанный файл вставляем в папку C:WindowsServicingPackages
В результате всех этих действий вы успешно избавитесь от ошибки 0x800f0818.

Я очень надеюсь, моя статья помогла Вам! Просьба поделиться ссылкой с друзьями:

It’s been almost 3 days and I have tried almost all the methods provided on internet to install .NET framework on Windows 10 but no luck.

Method 1. When I tried to install it from control panel by enabling the feature it gets stuck for at «Downloading required files screen and never completes.

Method 2. After that I found on internet that it can be installed using DISM from iso image, for that I mounted the iso image of windows 10 which I used to install windows on my system and run the following command from windows power shell —
E:sourcessxs — It is the location of folder inside mounted windows image where microsoft-windows-netfx3-ondemand-package.cab file is present.

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:sourcessxs

but it is giving the below error —

Enabling feature(s)
[==========================100.0%==========================]

Error: 0x800f081f

The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.

The DISM log file can be found at C:WindowsLogsDISMdism.log

Method 3. Tried another command providing the package name this time

dism /online /add-package /packagepath:E:sourcessxsmicrosoft-windows-netfx3-ondemand-package.cab

But is also failed with below error

Processing 1 of 1 - An error occurred - Microsoft-Windows-NetFx3-OnDemand-Package Error: 0x800f0818

Error: 0x800f0818

DISM failed. No operation was performed.
For more information, review the log file.

The DISM log file can be found at C:WindowsLogsDISMdism.log

Method 4. Then I tried one another solution
which suggests to uninstall already installed .NET Framework version 4.0 and then try method 2 above but is also did not work and I am getting the same erorr.

I am really stumped on this issue and not sure what I am doing wrong or what should I do next, It would be really helpful If I get a solution for this problem here.

PS: When I try this command — DISM.EXE /Online /Add-Capability /CapabilityName:NetFX3~~~~
every time after restarting the system it completes till a certain percentage and the stuck, seems like some other process stops it after a while, not sure if this gives any clue

Не секрет, что в Windows 8 / Windows Server 2012 / R2 .Net Framework 3.5 не идет в комплекте поставки ОС (в рамках концепции Features on Demand), и для его установки требует дистрибутив ОС или прямой доступ к сайту обновлений Microsoft. В одной из предыдущих статей мы уже показывали, как установить .NET Framework 3.5 в Windows Server 2012 R2 / Windows 8. На днях сразу на нескольких системах столкнулись с ошибкой установки .Net Framework 3.5. Проблема наблюдалась при установке компонента как на серверной Windows Server 2012, так и на клиентской Windows 8.1.

Что самое интересное, победить проблему получилось разными методами : ).

Содержание:

  • Невозможно установить .NET Framework 3.5 в Windows 8 / Windows Server 2012
  • Некорректные обновления, препятствующие установке .NET 3.5
  • Конфликт Language Pack и .NET Framework 3.5

Невозможно установить .NET Framework 3.5 в Windows 8 / Windows Server 2012

При онлайн установке .NET Framework 3.5 в Windows 8 через Панель управления (Control Panel -> Programs and Features -> Turn Windows features on or off) появляется ошибка 0x800F0906:

Error: 0x800F0906

Windows couldn’t connect to the Internet to download necessary files. Make sure that you’re connected to the Internet and click «Retry» to try again.

Ошибка установки 0x800F0906 .net frawework 3.5 в Windows 8.1

Примечание. Каких либо проблем с доступом в Интернет на проблемных машинах не было.

При попытке офлайн установки .NET 3.5 со смонтированного диска с дистрибутивом ОС (использовался именно тот установочный диск, с которого разворачивалась система) командой:

dism /online /enable-feature /featurename:NetFX3 /All /Source:e:sourcessxs /LimitAccess

Выполнение команды DISM завершается с ошибкой 0x800F081F:

Deployment Image Servicing and Management tool Version: 6.2.9200.16384
Image Version: 6.2.9200.16384

Enabling feature(s) [===========================66.5%====== ]

Error: 0x800f081f
The source files could not be found.
Use the «Source» option to specify the location of the files that are required to restore the feature. For more informat
ion on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:WindowsLogsDISMdism.log

Ошибка 0x800f081f установки .NET 3.5 с помощью DISM

В локализованной версии Windows 8 ошибка, соответственно:

Включение функций
[===========================66.5%====== ]
Ошибка: 0x800f081f
Не удалось найти исходные файлы.

Лог C:WindowsLogsDISMdism.log содержит такие ошибки:

2014-10-24 10:11:22, Info                  DISM   DISM Package Manager: PID=776 TID=4024  Error in operation: source for package or file not found, ResolveSource() unsuccessful. (CBS HRESULT=0x800f081f) - CCbsConUIHandler::Error
2014-10-24 10:11:22, Error                 DISM   DISM Package Manager: PID=776 TID=2856 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)
2014-10-24 10:11:22, Error                 DISM   DISM Package Manager: PID=776 TID=2856 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg
2014-10-24 10:11:22, Error                 DISM   DISM Package Manager: PID=776 TID=2856 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x800f081f)
2014-10-24 10:11:22, Error                 DISM   DISM Package Manager: PID=776 TID=2856 Failed ProcessChanges. - CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x800f081f)
2014-10-24 10:11:23, Error                 DISM   DISM Package Manager: PID=776 TID=2856 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f081f)

Некорректные обновления, препятствующие установке .NET 3.5

В одной из свежей статей базы знаний Microsoft http://support2.microsoft.com/kb/3005628 описывается проблема с августовскими обновлениями безопасности Windows, установка которых приводит к ситуации, когда невозможно установить компонент .NET Framework 3.5. Речь идет о двух обновлениях:

  • KB2966828 — MS14-046: Security update for the .NET Framework 3.5 on Windows 8.1 and Windows Server 2012 R2: August 12, 2014
  • KB2966827 — MS14-046: Security update for the .NET Framework 3.5 on Windows 8 and Windows Server 2012: August 12, 2014

Как мы видим из описаний, указанные обновления безопасности предназначены для .NET Framework 3.5 в Windows 8.1 и Windows Server 2012 R2, причем устанавливаются эти обновления не зависимо от того, установлен ли компонент .NET Framework 3.5 в системе или нет.

Понять установлены ли данные обновления в системе можно так или с помощью такой команды Powershell:

Get-HotFix |? {$ _. Hotfixid -like "*2966828*"}

Если любое из этих обновление установлено в системе, его нужно удалить (процедура подробно описана в статье Как правильно удалить обновление в Windows ). После этого можно установить .Net Framework 3.5 как обычно (он установится без ошибки), а затем еще раз установить удаленные обновления (дабы не оставлять дыру в системе).

Совет. Альтернативно на портале Microsoft вместо удаления/установки обновлений рекомендуют установить хотфикс 3005628. Данный фикс удалит обновления 2966827 2966828 в системах, где не установлен.NET Framework 3.5. Какой способ удобнее – решать вам.

Конфликт Language Pack и .NET Framework 3.5

На машине с Windows 8.1, на которой также присутствовала рассматриваемая проблема, указанные выше обновлений отсутствовали. В попытках решить проблему перебрали множество вариантов, начиная от последовательного удаления всех обновлений и заканчивая восстановлением хранилища компонентов. Но эффекта так и не достигли…

Как не странно, помогло удаление дополнительного (русского) языкового пакета (команда lpksetup).

lpksetup- установка/удаление языкового пакета в Windows 8 / Server 2012

После удаления языкового пакета, .NET Framework устанавливается корректно. Затем можно заново установить нужный Language Pack.

  • Remove From My Forums
  • Question

  • OS is Win server 2019

    What is the problem and how to fix it, thanks.

    FROM openjdk:8-jdk-windowsservercore

    # Install .Net 3.5 Framework
    RUN
            $ErrorActionPreference = ‘Stop’;
            $ProgressPreference = ‘SilentlyContinue’;
            Invoke-WebRequest
                -UseBasicParsing
                -Proxy http://proxy.bob.com:8080 -ProxyUseDefaultCredentials
                -Uri «https://dotnetbinaries.blob.core.windows.net/dockerassets/microsoft-windows-netfx3-ltsc2016.zip»
                -OutFile microsoft-windows-netfx3.zip;
            Expand-Archive microsoft-windows-netfx3.zip;
            Remove-Item -Force microsoft-windows-netfx3.zip;
            Add-WindowsPackage -Online -PackagePath .microsoft-windows-netfx3microsoft-windows-netfx3-ondemand-package.cab;
            Remove-Item -Force -Recurse microsoft-windows-netfx3

Обновление системы это очень важное составляющая для безотказной работы сервера, но при установки обновлений, особенно SP, иногда случаются ошибки. О решении одной из таких ошибок, а именно ошибки 0x800f0818 пойдет речь в этой статье.

Итак, при входе в «Диспетчер сервера- Роли или Компоненты» получаем ошибку 0x800f0818.

А логах системы видим ошибку Serice Pack insallation failed with error code 0x800f0818.

Для ее устранения необходимо скачать с сайта Microsoft Средство проверки готовности системы к обновлению для своей версии операционной системы.
После скачивания, запускаем ее установку. После успеной установки заходим в папку C:\Windows\logs\CBS открываем файл CheckSUR.log
Увидим примерно следующую картину (у каждого соответственно она будет своя)

=================================
Checking System Update Readiness.
Binary Version 6.1.7601.21645
Package Version 18.0
2013-04-06 19:09
Checking Windows Servicing Packages
Checking Package Manifests and Catalogs
(f)    CBS MUM Corrupt    0x00000000    servicing\Packages\Package_for_KB2347290_RTM~31bf3856ad364e35~amd64~~6.1.1.1.mum        Expected file name Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7600.16385.mum does not match the actual file name
(fix)    CBS MUM Corrupt    CBS File Replaced    Package_for_KB2347290_RTM~31bf3856ad364e35~amd64~~6.1.1.1.mum from Cabinet: C:\Windows\CheckSur\v1.0\windows6.1-servicing-x64-2jan13.cab.
(fix)    CBS Paired File    CBS File also Replaced    Package_for_KB2347290_RTM~31bf3856ad364e35~amd64~~6.1.1.1.cat from Cabinet: C:\Windows\CheckSur\v1.0\windows6.1-servicing-x64-2jan13.cab.
Checking Package Watchlist
Checking Component Watchlist
Checking Packages
Checking Component Store
Summary:
Seconds executed: 338
 Found 1 errors
 Fixed 1 errors
  CBS MUM Corrupt Total count: 1
  Fixed: CBS MUM Corrupt.  Total count: 1
  Fixed: CBS Paired File.  Total count: 1

Согласно этому логу проблема возникла при неправильной установки обновления KB2347290 (в вашем случае возможно другое обновление установилось неправильно, возможно даже не одно, а несколько). Необходимо скачать это обновление на сайте Micrsoft.

После этого распаковывать скачанный архив командой:
expand -F:* {имя скачанного файла.msu } С:\Temp\
В итоге в папке Temp на диске С должен появиться файл с расширением .CAB, распаковываем его тоже, командой:
expand -F:* {имя файла.cab} С:\Temp\
В результате на диске С в папке Temp появиться куча файлов, находим нужный нам (судя по логам в моем случае это KB2347290_RTM~31bf3856ad364e35~amd64~~6.1.1.1.mum), этот файл нам необходимо скопировать в папку C:\Windows\Servicing\Packages, но для начала нам нужно дать права на эту папку, для этого в командной строке запускаем команду:
takeown /F c:\Windows\Servicing\Packages /D y /R
и даем полные права на папку с помощью команды:
cacls c:\Windows\Servicing\Packages /E /T /C /G «Domain\UserName»:F
Далее, скачанный файл вставляем в папку C:\Windows\Servicing\Packages
В результате всех этих действий вы успешно избавитесь от ошибки 0x800f0818.

Я очень надеюсь, моя статья помогла Вам! Просьба поделиться ссылкой с друзьями:

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Проверка dns записей windows
  • Показывать миниатюры картинок в windows 10
  • Windows 365 для чего
  • Что делать если нет файла hosts на windows 10
  • Настройка микрофона bm 800 в windows 10