Код ошибки 0x800f0954 rsat

  • Remove From My Forums

 locked

Windows 10 — 1809 — RSAT Toolset — error code of 0x800f0954

  • Question

  • Got the upgrade the 1809 this morning — trying to add the RSAT Toolset

    Getting error code of Add-WindowsCapability failed. Error code = 0x800f0954

    Does anyone know what this means and how to correct this?

    Thanks in advanced

Answers

  • I found this answer in another thread. It worked for me!

    Run «gpedit.msc» to edit your local computer policy The setting in question is: Computer ConfigurationAdministrative TemplatesSystemSpecify settings for optional component installation and component repair

    My local policy seems to have defaulted to «Disabled» — after changing it to «Enabled» and selecting the checkbox labeled «Download repair content and optional features directly from Windows Update instead of Windows Server
    Update Services (WSUS)» the RSAT tools installed for me.

    • Marked as answer by

      Wednesday, October 3, 2018 6:44 PM

If you have tried to install Remote Server Administration tools for Windows 10 version 1809, 1903 or later you might have come across: Add-WindowsCapability failed. Error code = 0x800f0954. If you haven’t, that’s great! If you have, you’re in luck because today we’re going to go over the steps needed to fix the issue.

Add-WindowsCapability -Name RSAT Error

By default, the WindowsCapability logs are stored in C:WindowsLogsDISMdism.log so we’ll check there to see what’s happening behind the scenes.

DISM   DISM Package Manager: PID=1280 TID=6320  Error in operation: (null) (CBS HRESULT=0x800f0954) - CCbsConUIHandler::Error
DISM   DISM Package Manager: PID=1280 TID=5772 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0954)
DISM   DISM Package Manager: PID=1280 TID=5772 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x800f0954)
DISM   API: PID=11232 TID=1244 Failed to install capability. - CAddCapabilityCommandObject::InternalExecute(hr:0x800f0954)
DISM   API: PID=11232 TID=1244 InternalExecute failed - CBaseCommandObject::Execute(hr:0x800f0954)
DISM   API: PID=11232 TID=8352 CAddCapabilityCommandObject internal execution failed - DismAddCapabilityInternal(hr:0x800f0954)

The steps to fix this are pretty simple and should only take a couple of minutes.

  • On the problem child machine open gpedit.msc
  • Go to Computer Configuration -> Administrative Templates -> System
  • Open Specify settings for optional component installation and component repair

Gpedit settings for windows capability fix
 

  • With that settings open, select Enabled
  • Check Download repair content and optional features directly from Windows Updates instead of Windows Server Updates Services (WSUS)

Specify Settings for optional component installations

  • Go back in your Powershell Window
  • Run a gpupdate /force
  • Rerun the Add-WindowsCapability again to install the feature

Add-WindowsCapability -Name RSAT Succeeded

Apps Settings 3

Once you’ve installed the RSAT tools for 1809, 1903 and later you might want to consider undoing those settings because this will install unnecessary updates on your machine. You would especially want to reconsider this if you’re deploying software updates using SCCM. Hopefully you’ve been able to fix the Add-WindowsCapability failed. Error code = 0x800f0954 error that so many of us have been running into.

Finally, feel free to check out the rest of our server administration for more of that content.

Некоторые пользователи получают код ошибки 0x800f0954 при попытке установить .NET Framework 3.5 или другую дополнительную функцию в Windows 10. Большая часть пользователей получают эту ошибку при попытке установить какой-либо пакет с помощью компонентов Windows, а другие получают в командной строке с использованием инструмента DISM. Ошибка может быть в Windows 7, Windows 8.1 и Windows 10 и связана с конкретной групповой политикой, журналы CBS могут указывать на ошибку, а на самом деле её по факту нет, или компьютер не может получить доступ к обновлению. Давайте разберем, как исправить ошибку 0x800f0954. Вы должны опираться на способы решения исходя из своих проблем.

Ошибка 0x800f0954 при установки NET Framework 3.5

Обход сервера WSUS

Система не может получить доступ к серверу WU. Это типично в ситуациях, когда существует целая сеть присоединенных к домену компьютеров, настроенных для загрузки обновлений с сервера WSUS. В этом случае вы можете решить эту проблему, временно минуя сервер WSUS во время установки компонента. Наберите в «поиске» редактор реестра и нажмите по нему правой кнопкой мыши. Далее выберите «запустить от имени администратора«. В реестре перейдите вручную по пути:

  • HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU
  • Если у вас нет разделаWindowsUpdate и AU, то создайте их. Нажмите правой кнопкой мыши на конечной папке Windows и «Создать» > «Раздел», назовите его WindowsUpdate. Далее нажмите правой кнопкой мыши на WindowsUpdate и «Создать» > «Раздел» с именем AU.

создать раздел WindowsUpdate и AU в Windows


Теперь выделите папку AU и слева нажмите на пустом поле правой кнопкой мыши и выберите «Создать» > «Строковый параметр» с именем UseWUServer и значением 0. Перезагрузите ПК и проверьте, решена ли проблема.

UseWUServer

Очистка журналов CBS

Нужно очистить журнал CBS и запустить потом DISM. Перейдите в проводнике по пути C:WindowsLogsCBS и выделите все файлы, после чего удалите их.

Очистить журнал CBS вручную

Как только удалили все файлы в папке CBS, то запустите командную строку от имени администратора и введите команду DISM:

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

Dism online enable-feature featurenameNetFX3 source C

Использовать PowerShell для установки .NET Framework 3.5 с установочного носителя

Если вы сталкиваетесь с ошибкой 0x800f0954 при попытке установить .NET Framework 3.5 методом команд обновления или установки через сервера, то можно установить его через PowerShell с образа ISO. Первое что вам нужно сделать, это создать  установочную флешку Windows 10 или виртуальный диск с установочной Windows 10. Запустите PowerShell от имени администратора и введите следующий апплет:

channel

  • Add-WindowsCapability –Online -Name NetFx3~~~~ –Source D:sourcessxs — Где D: это имя установочной флешки с Windows 10.
  • Перезагрузите ПК и попробуйте установить .NET Framework 3.5 еще раз.

Add-WindowsCapability –Online -Name NetFx3 Source sources sxs

Установка и восстановление необязательных компонентов

Если вы столкнулись с ошибкой 0x800f0954 при использовании инструмента RSAT (средство удаленного администрирования сервера), то можно решить эту проблему с помощью одной политики, которая даст разрешения ОС, загружать восстановительный контент и дополнительные функции непосредственно из WU.

  • Нажмите Win + R и введите gpedit.msc, чтобы открыть редактор групповых политик.
  • В редакторе перейдите «Конфигурация компьютера» > «Административные шаблоны» > «Система«.
  • Справа найдите «Укажите параметры для установки необязательных компонентов и восстановления компонентов» и на жмите по ней два раза.
  • В окне свойств, выберите «Включено» и установите ниже галочку «Скачайте содержимое для восстановления и дополнительные компоненты непосредственно из центра обновления Windows вместо использования служб Windows Server Update Services (WSUS)«.
  • Нажмите применить и перезагрузите ПК. Надеюсь вы исправили ошибку 0x800f0954.

установка и восстановление необязательных компонентов


Смотрите еще:

  • Как установить NET Framework 2.0 3.0 и 3.5 в Windows 10
  • Как исправить код ошибки 0x800F081F в Windows 10
  • Как исправить ошибку 0x80070017 в Windows 10
  • Исправить ошибку 0x80071779 в Windows 10
  • Как исправить код ошибки 0x8004deb4 OneDrive в Windows 10

[ Telegram | Поддержать ]

  • Remove From My Forums

locked

Windows 10 — 1809 — RSAT Toolset — error code of 0x800f0954

  • Question

  • Got the upgrade the 1809 this morning — trying to add the RSAT Toolset

    Getting error code of Add-WindowsCapability failed. Error code = 0x800f0954

    Does anyone know what this means and how to correct this?

    Thanks in advanced

Answers

  • I found this answer in another thread. It worked for me!

    Run «gpedit.msc» to edit your local computer policy The setting in question is: Computer ConfigurationAdministrative TemplatesSystemSpecify settings for optional component installation and component repair

    My local policy seems to have defaulted to «Disabled» — after changing it to «Enabled» and selecting the checkbox labeled «Download repair content and optional features directly from Windows Update instead of Windows Server
    Update Services (WSUS)» the RSAT tools installed for me.

    • Marked as answer by

      Wednesday, October 3, 2018 6:44 PM

В сети всё чаще фигурирует ошибка с кодом 0x800f0954. Она появляется при попытке добавить в Windows 10 различные дополнительные компоненты. Чаще всего она наблюдается во время добавления .NET Framework разных версий. Неудачно закончится может и один из встроенных инструментов командной строки – DISM. Вместо сканирования системы или выполнения других системных задач может отобразиться окно со сбоем. Способы исправления, а также причины ошибки 0x800f0954 в Windows 7-10 описаны ниже.

Содержание

  • Что вызывает ошибку 0x800f0954?
  • Способ 1: обход WSUS
  • Способ 2: Очистка журналов CBS
  • Способ 3: использование PowerShell для инсталляции .NET Framework
  • Способ 4: изменение настроек редактора групповой политики

Чтобы понять источник появления проблемы, эксперты изучили около 30 отчётов пользователей. Затем подобное состояние Windows было воспроизведено на тестовых машинах. Результат – появилась та же самая ошибка.

Удалось установить следующих виновников неисправностей:

  • Компьютер не в состоянии подключиться к серверам Windows, отвечающим за передачу обновлений. Очень вероятно, что системе самостоятельно не удалось связаться с серверами WU. Проблема является типичной для компьютерных сетей, которые подключаются к доменам и настроены на автоматическую загрузку обновлений с сервера WSUS. Для фикса ошибки достаточно скачать обновление в обход службы WSUS.
  • Проблему вызывают журналы DISM CBS. Утилита DISM может создавать журналы CBS с отчётами об ошибках, которые в реальности отсутствуют. Удаление журналов обслуживания помогает убрать глюк системы. Скорее всего при повторном запуске сканирования Windows через DISM, утилита покажет корректный результат.
  • Неудачное обновление .NET Framework через встроенный компонент ОС. Чтобы загрузить и поставить более новую версию .NET Framework без ошибки, лучше использовать Powershell;
  • Настройки групповой политики блокируют выполнение действия. Существует одна настройка в групповой политике, которая в неактивном состоянии может вызывать ошибку 0x800f0954. Решением проблемы станет включение одной опции в редакторе.

Способы исправления были подобраны согласно перечисленным проблемам. Каждую неисправность по-отдельности можно устранить, заменив всего одну настройку или выполнив несколько ручных действий. Однако, чтобы понять, в чём истинная первопричина проблемы, порой нужно выполнить несколько манипуляций. Все способы размещены в том порядке, в котором их целесообразно использовать с точки зрения эффективности и простоты применения.

Способ 1: обход WSUS

Очевидно, что для получения дополнительных компонентов Windows обязателен доступ к серверам корпорации Microsoft. Если нужного подключения система установить не может, как раз и появляется ошибка 0x800f0954. Приблизительно 35% всех отчётов от серверных машин о сбое вызваны проблемами с подключением к серверу. Всё из-за того, что они настроены на загрузку обновлений с серверов WSUS.

Если у читателя аналогичная проблема, скорее всего когда-то компьютер состоял в доменной сети, поэтому в нём сохранились старые настройки групповой политики. При этом сценарии следует установить временный костыль, позволяющий обойти сервер WSUS. Для этого нужно изменить настройки реестра.

Важно! Перед работой с реестром лучше сделать точку восстановления Windows. Изменив не тот параметр или задав неправильное значение, можно нарушить правильность работы системы.

Что нужно сделать:

  1. Нажать сочетание кнопок Win + R на клавиатуре.
  2. В диалоговое окно «Выполнить» вставить слово regedit и нажать Ctrl + Shift + Enter (позволяет запустить редактор реестра с администраторскими правами). Если появится уведомление от приложения «Контроль учётных записей пользователей», следует подтвердить действие кнопкой «Да».
  3. На вертикальной панели последовательно открыть HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU или вставить ссылку в навигационную панель. Возможно, «WindowsUpdate» не удастся найти, в этом случае стоит нажать ПКМ по рабочему окну и создать данный ключ. То же самое сделать с ключом «AU».
  4. В конечной папке в панели справа щёлкнуть ПКМ и выбрать «Создать» – «Строковый параметр». Значение нужно переименовать в «UserWUServer».
  5. Двойным нажатием открыть только что созданный параметр и задать ему значение 0.
  6. Выйти из редактора реестра и перезагрузить компьютер.

Способ 2: Очистка журналов CBS

Исходя их личного опыта и опыта многих пользователей, можно сказать, что в борьбе с ошибкой 0x800f0954 может помочь удаление журнала CBS (Component Based Servicing). Он создан DISM. Следующий этап – заново запустить DISM и воспроизвести действие по установке компонента Windows, ранее вызывавшего ошибку.

Пошаговое руководство:

  1. Открыть «Проводник» и перейти по пути C:WindowsLogsCBS.
  2. Попав в папку CBS, нажать Ctrl + A для выделения всего содержимого и Del – для его удаления. Как только все файлы с расширением .log и .cab удалятся, можно закрыть «Проводник».
  3. Нажать ПКМ по «Пуску» и выбрать «Командная строка (Администратор). Если появится уведомление UAC, в нём нажать «Да» для подтверждения выдачи прав.
  4. В консоль с полными правами вставить команду – Dism.exe /online /enable-feature /featurename:NetFX3 /source:C: и нажать Enter.
  5. Выполнить перезапуск системы.

Способ 3: использование PowerShell для инсталляции .NET Framework

Если проблема возникла при установке .NET Framework при помощи DISM, стоит обратиться к другому инструменту – Powershell. Он работает по иному принципу, и с большей долей вероятности установит подходящий компонент.

Инструкция:

  1. Нажать сочетание Win + R, вставить в строку powershell и щёлкнуть по клавишам Ctrl + Shift + Enter.
  2. После запуска Powershell в режиме повышенных прав вставить запись Add-WindowsCapability -Online -Name NetFx3 ~ ~ ~ ~  – Source D: sourcessxs и применить действие кнопкой Ввод.
  3. Закрыть консоль, и перезапустить компьютер.
  4. Проверить всё ли работает правильно.

Способ 4: изменение настроек редактора групповой политики

Метод применим в ситуации, когда ошибка 0x800f0954 сопровождает попытку добавить инструментарий RSAT. В такой ситуации пользователю придётся внести пару изменений в настройки групповой политики.

Важно! Редактор групповой политики доступен не во всех версиях Windows. Если установлена «десятка» в редакции Home, по умолчанию не будет доступа к данному инструменту. Придётся дополнительно установить редактор.

При наличии доступа к групповым политикам, следует:

  1. Щёлкнуть по значку лупы возле «Пуска», вставить название файла gpedit.msc и открыть его.
  2. Внутри редактора перейти в раздел «Административные шаблоныСистема».
  3. В правой области найти параметр «Укажите параметры для установки необязательных компонентов…» и дважды щёлкнуть по нему.
  4. Перевести её в состояние «Включено».
  5. Установить флажок напротив «Скачайте содержимое для восстановления…».
  6. Нажать на кнопку «Применить» и закрыть редактор.

На этом всё, какой-то из способов должен помочь исправить ошибку 0x800f0954 и всё-таки установить нужный компонент Windows. Изначально стоит выбрать свою ситуацию и перейти к решению, разработанному под неё. Если не получается определить свою проблему, можно выполнить все действия последовательно.

If you have tried to install Remote Server Administration tools for Windows 10 version 1809, 1903 or later you might have come across: Add-WindowsCapability failed. Error code = 0x800f0954. If you haven’t, that’s great! If you have, you’re in luck because today we’re going to go over the steps needed to fix the issue.

Add-WindowsCapability -Name RSAT Error

By default, the WindowsCapability logs are stored in C:WindowsLogsDISMdism.log so we’ll check there to see what’s happening behind the scenes.

DISM   DISM Package Manager: PID=1280 TID=6320  Error in operation: (null) (CBS HRESULT=0x800f0954) - CCbsConUIHandler::Error
DISM   DISM Package Manager: PID=1280 TID=5772 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0954)
DISM   DISM Package Manager: PID=1280 TID=5772 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x800f0954)
DISM   API: PID=11232 TID=1244 Failed to install capability. - CAddCapabilityCommandObject::InternalExecute(hr:0x800f0954)
DISM   API: PID=11232 TID=1244 InternalExecute failed - CBaseCommandObject::Execute(hr:0x800f0954)
DISM   API: PID=11232 TID=8352 CAddCapabilityCommandObject internal execution failed - DismAddCapabilityInternal(hr:0x800f0954)

The steps to fix this are pretty simple and should only take a couple of minutes.

  • On the problem child machine open gpedit.msc
  • Go to Computer Configuration -> Administrative Templates -> System
  • Open Specify settings for optional component installation and component repair

Gpedit settings for windows capability fix
 

  • With that settings open, select Enabled
  • Check Download repair content and optional features directly from Windows Updates instead of Windows Server Updates Services (WSUS)

Specify Settings for optional component installations

  • Go back in your Powershell Window
  • Run a gpupdate /force
  • Rerun the Add-WindowsCapability again to install the feature

Add-WindowsCapability -Name RSAT Succeeded

Apps Settings 3

Once you’ve installed the RSAT tools for 1809, 1903 and later you might want to consider undoing those settings because this will install unnecessary updates on your machine. You would especially want to reconsider this if you’re deploying software updates using SCCM. Hopefully you’ve been able to fix the Add-WindowsCapability failed. Error code = 0x800f0954 error that so many of us have been running into.

Finally, feel free to check out the rest of our server administration for more of that content.

Do you encounter Error Code 0x800f0954 in Windows 10 while making an attempt to install .NET Framework 3.5? When you try to install any additional feature such as .NET Framework in Windows 10, it always communicates with Windows update. The issue occurs because WSUS (Windows Server Update Services) doesn’t let Optional Features install this software framework. Most cases indicate that WSUS fails to approve .Net installer. So, to get rid of Error Code 0x800f0954, you need to use the ISO of Windows Installation Media instead.

This error happens commonly when you try to install DotNet (.net) on Windows 10 while using a WSUS server. The Stop code comes up on the screen which indicates that the .NET installer is not approved in WSUS and you failed to enable .NET Framework. 2 methods lets you fix Error Code 0x800f0954 on Windows 10 – using PowerShell and with Registry Editor. You need to follow the Way-1 and Way-2 successively and this will solve the error.

Here is How to Fix Error Code 0x800f0954 in Windows 10 or 11 (.Net Framework) –

Way-1: Install .NET Framework 2.0, 3.0, and 3.5 in Windows 10 through Media

You need to force the installation from media using PowerShell as the best option.

Step-1: Unzip the .NET files from Windows 10 ISO to a local/ network folder. Then write down its respective path or if the location is easier, just mount it.

Step-2: Go to Search box and type PowerShell. Right-click on the result and select Run as administrator. Alternatively, open Win+X menu and click Windows PowerShell (Admin).

Step-3: Hit ‘Yes’ on UAC dialog so that elevated PowerShell may come into view.

Step-4: Here type or copy/paste the given command by replacing the location of the files you unzipped.

Add-WindowsCapability -Online -Name NetFx3~~~~ -Source D:SourcesSxS

Step-5: If you are unable to execute the above command, try out the “DISM” tool in order to carry out the same action.

DISM.exe /Online /Add-Capability /CapabilityName:NetFx3~~~~ /Source:D:SourcesSxS

Step-6: Lastly, confirm the installation of .NET Framework by typing the below-given command.

Get-WindowsCapability -Online -Name NetFx3~~~~

Way-2: Use Registry Editor to Fix Error Code 0x800f0954

You can also fix Error Code 0x800f0954 with registry modification.

Note: Performing incorrect changes in the Registry Editor may adversely affect your computer. So ensure to create a System Restore point before manipulating the registry as it may corrupt certain files or OS.

So, you may like to read How to Import and Export Registry Editor on Windows 10.

First & foremost, press Win & R shortcut keys together to open Run dialog box. Type regedit in the text field and hit Ok to go ahead.

If prompted by “UAC”, click Yes to proceed further.

Next, navigate to the given path in the left column of the Registry Editor.

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU

Once you reach AU key, go to the right pane where you should find REG_DWORD (registry DWORD) namely UseWUServer.

Read How to Create a New DWORD Value in Registry Editor on Windows 10.

Double-click on the DWORD UseWUServer in order to modify its Value data.

When the Edit dialog box appears on the PC screen, change the Value data to 0. Finally, press OK to implement the changes.

How to Fix Error Code 0x800f0954 in Windows 10 Image 1

Now close Registry Editor window and retry to install .NET Framework without getting Error Code 0x800f0954.

In the end, restart Windows 10 PC and check if “.NET Framework” is installed without the error.

Methods:
Way-1: Install .NET Framework 2.0, 3.0, and 3.5 in Windows 10 through Media
Way-2: Use Registry Editor to Fix Error Code 0x800f0954

That’s all!!

Repair any Windows problems such as Blue/Black Screen, DLL, Exe, application, Regisrty error and quickly recover system from issues using Reimage.

In this post, we will look at how to resolve RSAT Tools Installation Error 0x800f0954. The error 0x800f0954 appears while installing .NET Framework 3.5 or an optional feature on Windows computers.

The RSAT error 0x800f0954 appears on both Windows 10 and Windows 11 devices while using the DISM command-line tool to install additional features.

In my previous post I showed the steps to install RSAT tools on Windows 10. I covered two methods to install RSAT tools, a GUI based and another is using DISM.

PatchMyPC HorizontalAD

Patch My PC Sponsored AD

On one of my Windows 10 VM, I encountered add-windowscapability failed error code = 0x800f0954. Let’s find out the reasons why you encounter error 0x800f0954 during RSAT tools installation and solution to this error.

Why do you get Error Code 0x800f0954?

There are many reasons why you could encounter error 0x800f0954 during RSAT usage.

  • Unable to access Windows Update server: If a domain joined computer cannot access Windows Update server in the network, the RSAT installation terminates with 0x800f0954 error. In this case, you can resolve the issue by bypassing the WSUS.
  • Install .NET Framework using PowerShell: If you’re trying to install an older .NET Framework package, trying doing it from a PowerShell window to avoid the 0x800f0954 error.
  • Group policy preventing the feature installation: When you are trying to install a RSAT feature using DISM tool, a GPO could be the reason for error 0x800f0954. You can resolve the issue by enabling the “Specify settings for optional component installation and component repair” policy.

While installing RSAT features using DISM command line tool on my Windows computer, I encountered error 0x800f0954. The feature failed to install with the following error details:

Error 0x800f0954
DISM Failed. No operation was performed.
For more information, review the log file. The DISM Log file can be found at C:WindowsLogsDISMdism.log

RSAT Tools Installation Error 0x800f0954

RSAT Tools Installation Error 0x800f0954

By default, the WindowsCapability logs are stored in C:WindowsLogsDISMdism.log. Reviewing the dism.log, I found multiple errors.

The below information shows the error details logged in dism.log file. Among the errors in dism.log, one prominent error was 0x800f0954. So if you are seeing the same error while installing RSAT tools on Windows computer, head to next section for the solution.

DISM Package Manager: PID=4828 TID=5752 Error in operation: (null) (CBS HRESULT=0x800f0954) - CCbsConUIHandler::Error
DISM DISM Package Manager: PID=4828 TID=6516 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0954)
DISM Package Manager: PID=4828 TID=6516 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x800f0954)
DISM Package Manager: PID=4828 TID=6516 Failed to install capability. - CPackageManagerCLIHandler::ProcessCmdLine_AddCapability(hr:0x800f0954)
DISM Package Manager: PID=4828 TID=6516 Failed while processing command add-capability. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0954)
2DISM Package Manager processed the command line but failed. HRESULT=800F0954

RSAT Error 0x800f0954

RSAT Error 0x800f0954

Solution for RSAT Tools Installation Error 0x800f0954

You can resolve the RSAT error 0x800f0954 by enabling the “Specify settings for optional component installation and component repair” policy on your computer.

Fix RSAT Tools Installation Error 0x800f0954

  • On your Windows computer, right click Start and click Run.
  • Now type gpedit.msc and hit enter.
  • In the local group policy editor, navigate to Computer ConfigurationAdministrative TemplatesSystem.
  • On the right pane look for policy named “Specify settings for optional component installation and component repair“.

RSAT Tools Installation Error 0x800f0954

Specify settings for optional component installation and component repair

Right click policy setting and click Enabled. In addition to that, check the box “Download repair content and optional features directly from Windows Updates instead of Windows Server Updates Services (WSUS)“.

RSAT Tools Installation Error 0x800f0954

Download repair content and optional features directly from Windows Updates instead of WSUS

Click Apply and OK. Now open the command prompt on your computer and run the command gpupdate so that the latest policy settings are applied to the local machine.

Running the same DISM command now should install the RSAT feature without any errors.

RSAT Tools Installation Error 0x800f0954

DISM: The operation completed successfully

Avatar photo

Prajwal Desai is a Microsoft MVP in Enterprise Mobility. He writes articles on SCCM, Intune, Configuration Manager, Microsoft Intune, Azure, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.

When you attempt to install .NET Framework 3.5 or any other optional feature using “Windows Features” (optionalfeatures.exe) dialog or using DISM command-line, error 0x800F0954 may popup.

enable feature .net framework 3.5

After enabling .NET Framework 3.5 and clicking OK, the following error may appear:

Windows couldn’t complete the requested changes.

The changes couldn’t be completed. Please reboot your computer and try again.

Error code: 0x800F0954

windows features error 0x800F0954 .net framework

The same error may occur when attempting to install additional speech recognition or supplemental fonts using Optional features in the Settings page or using DISM command-line. For instance, you run the following command to install .NET Framework 3.5 from an elevated or administrator Command Prompt.

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All

After pressing ENTER, here is the full error message you might see:

Deployment Image Servicing and Management tool
Version: 10.0.16299.15
Image Version: 10.0.16299.192
Enabling feature(s)
[==========================100.0%==========================]
Error: 0x800f0954
DISM failed. No operation was performed.
For more information, review the log file.
The DISM log file can be found at C:WindowsLogsDISMdism.log

The DISM.log file would show these entries/errors:

xxxx, Info                  DISM   DISM Package Manager: PID=12956 TID=12296 Further logs for online package and feature related operations can be found at %WINDIR%logsCBScbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
xxxx, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800F0954

And the CBS.log file would have recorded these errors:

xxxx, Info                  CBS    DWLD:Failed to do Windows update search [HRESULT = 0x800f0954 - CBS_E_INVALID_WINDOWS_UPDATE_COUNT_WSUS]
xxxx, Info                  CBS    FC:   WindowsUpdateDownloadFromUUP returns. [0x800F0954]

Note that the error 0x800f0954 refers to CBS_E_INVALID_WINDOWS_UPDATE_COUNT_WSUS which indicates that your system might have been configured to use a WSUS server (on your domain network) to get updates instead of connecting to Windows Update servers directly.

If the error 0x800f0954 occurs installing optional Windows features, it may be because the system is unable to access the Windows Update server. This is especially true in case of domain-joined computers which is configured to downloads updates from a WSUS server. It could also be possible that your computer was once a part or a corporate or domain network and the group policy setting is still in place.

Method 1: Bypass WSUS to Install Features/Updates Directly from Windows Update

To fix the problem, temporarily bypass WSUS server using the following registry edit (requires administrator privileges).

  1. Right-click Start, and click Run
  2. Type regedit.exe and click OK
  3. Go to the following registry key:
    HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU
  4. On the right-pane, if the value named UseWUServer exists, set its data to 0
  5. Exit the Registry Editor
  6. Restart Windows.

Note: Please note that some servers will flip the UseWUServer back to 1 on reboot. In that scenario, set it to 0, restart the Windows Update service (without rebooting), and install the required optional feature (Feature on Demand).

Automate the above, using PowerShell (admin)

Here are the PowerShell commands to automate the following steps:

  1. Set “UseWUServer” registry setting to 0
  2. Restart the Windows Update service
  3. Install .NET Framework (“NetFx3”)
  4. Then, flip “UseWUServer” back to 1.
Set-ItemProperty "REGISTRY::HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU" UseWUserver -value 0
Get-Service wuauserv | Restart-Service
Add-WindowsCapability –Online -Name NetFx3~~~~
Set-ItemProperty "REGISTRY::HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU" UseWUserver -value 1

See if you’re able to install .Net Framework 3.5 or any other optional feature (e.g., Print Management, RSAT, Notepad, etc.) now. In most cases, the above steps should fix the problem.


Method 2: Bypass WSUS for Repair Content/Feature On Demand Downloads

Using this method, you can bypass WSUS server only for downloading repair content and Feature-on-Demand package installation. After you enable the following setting, Windows will use Windows Update (instead of WSUS) to download the FOD packages or the files needed to repair the operating system corruption.

  1. Open the Group Policy Editor (gpedit.msc).
  2. Go to:
    Computer Configuration → Policies → Administrative Templates → System
  3. Double-click “Specify settings for optional component installation and component repair”
  4. Set “Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS)” to Enabled.

(This policy setting specifies the network locations that will be used for the repair of operating system corruption and for enabling optional features that have had their payload files removed.)

Alternately, use the following registry setting equivalent:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesServicing]
"RepairContentServerSource"=dword:00000002

This fixes the error 0x800f0954 when installing a feature (FOD) using GUI or DISM.


Method 3: Install .NET Framework (or Optional Features) from Windows 10/11 ISO or DVD

If the procedure under Method 1 or 2 did not help, you may use the following DISM command (with the installation source path) to install additional features from the Windows 10/11 ISO or DVD. However, you must make sure that the Windows 10 version on your DVD or ISO corresponds to the version of Windows 10/11 installed on your system.

Here are the steps to install .NET Framework 3.5 from the Windows setup disk or ISO:

  1. Obtain the latest Windows 10 ISO (assuming that your Windows 10/11 system is running the newest build) using the Media Creation Tool.media creation tool - download windows 10 iso, usb installation media
    Download Windows ISO Using Media Creation Tool

    Editor’s note: Even better option would be to update your Windows 10 device fully, and then prepare an up-to-date Windows 10 setup disk by slipstreaming. See how to Slipstream Windows (Integrate Updates with Original Setup Disk)

  2. Mount the ISO image by double-clicking on the ISO file.
  3. Note down the drive letter of your DVD or the mounted drive, let’s say H:
    .net framework error - iso sources sxs
  4. Open an elevated Command Prompt (Administrator) window.
  5. Type the following command, and press ENTER
    dism /online /enable-feature /featurename:NetFX3 /Source:H:sourcessxs /LimitAccess

    dism enable feature netfx3

Note: If you need to install the “Windows Communication Foundation (WCF) HTTP Activation” and “Windows Communication Foundation (WCF) Non-HTTP Activation”, make sure you add the /All parameter, as seen in the above screenshot. As said earlier, these two components are usually not required for most users.

Similarly, to install other optional features using DISM, refer blog post Adding features (including .NET 3.5) to Windows 10 – Michael Niehaus’ Windows and Office deployment ramblings as well as Microsoft Docs articles DISM Capabilities Package Servicing Command-Line Options & Available features on demand

Hope this article helped you install .NET Framework 3.5 or any other optional Windows features, without getting the error 0x800F0954.


One small request: If you liked this post, please share this?

One «tiny» share from you would seriously help a lot with the growth of this blog.
Some great suggestions:

  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!

So thank you so much for your support. It won’t take more than 10 seconds of your time. The share buttons are right below. :)


Related article

  • [Fix] .NET Framework 3.5 Error 0x800f0950 in Windows 10/11

While installing .NET Framework 3.5 on the system, many users have reported coming across Error code 0x800F0954. The error message also occurs upon installing different Optional features in Windows 11/10.

Windows couldn’t complete the requested changes.
The changes couldn’t be completed. Please reboot your computer and try again.
Error code: 0x800F0954

0x800F0954 error when installing .NET Framework

What causes Error code 0x800F0954?

0x800f0954, CBS_E_INVALID_WINDOWS_UPDATE_COUNT_WSUS

Before getting into solutions, it’s important to find out the reason behind the error message. The Error code 0x800F0954 occurs when you try to install .NET Framework 3.5 or any other optional features using the Windows Features functionality or DISM. Below are all the common culprits behind the problem.

  1. The message will occur if there’s an obstruction in the connection between Windows Server Update Services and Windows Optional Features Installer.
  2. The .NET Framework 3.5 is a comparatively older .NET Framework. Therefore, it’s common to face the mentioned error while installing it via Windows Features.
  3. Misconfigured optional component installation and component repair settings can be another significant reason behind the problem.

Now that you have prior knowledge of different reasons causing the error message let’s check out how to get rid of them.

Below is the list of all the effective solutions to try if you receive the error 0x800F0954 when installing .NET Framework in Windows 11/10:

  1. Temporarily bypass WSUS server
  2. Clear CBS logs
  3. Change Component Installation and Component Repair settings
  4. Install .NET Framework 3.5 via PowerShell

Now, let’s take a look at all the solutions in detail.

1] Temporarily bypass the WSUS server

Registry settings

The first thing you should try is to temporarily bypass the WSUS server with the help of the Windows Registry. You can do so by following the below steps.

Open the Run dialogue box by pressing the Windows + R shortcut key.

Type regedit and click on the OK option.

Click on Yes on the UAC that pops up.

Head towards the following registry key.

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU

In the right panel of the screen, locate UseWUServer.

Set the value of UseWUServer to 0.

That’s it. Close the Registry Editor and reboot your system. Check if the problem is fixed or not.

Read: Microsoft .NET Framework Repair Tool will fix .NET  Framework problems & issues

2] Clear CBS logs

CBS folder

CBS stands for Component Based Servicing, and it is a file that features logs related to both, installed and uninstalled Windows Update components. The error message was fixed by clearing CBS logs per many users. You can do the same and check if it resolves the problem for you as well. Here’s how it’s done.

Open the Run dialogue box, paste the below location and click on the OK option:

C:WindowsLogsCBS

Select everything inside the CBS folder.

Right-click on the selected files and choose the delete option.

Now, open Command Prompt in administrator mode.

Type the following command and press the enter key.

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

Once the command is executed, the .NET Framework 3.5 will have been installed on your system without any error. But if the problem continues, try the following solutions.

See: How to enable Automatic .NET Updates in Windows Server

3] Change Component Installation and Component Repair settings

Group policy settings

The next thing to try is to make some changes to the Group Policy Editor. Here’s what you need to do.

Open the Run dialogue box, type gpedit and press the enter key.

Navigate to the below location.

Computer Configuration > Administrative Templates > System

Double click on Specify settings for optional component installation and component repair.

Select the Enabled option.

Checkmark Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS).

Click on Apply > OK to save the changes.

Reboot your system and check if the problem is fixed or not.

See: Enable .NET Framework 2.0 and .NET Framework 3.5 in Windows 11

4] Install .NET Framework 3.5 via PowerShell

Windows PowerShell

You can install the .NET Framework 3.5 via Windows PowerShell as well. The situation applies especially to users facing the mentioned issue while going through the installation process via DISM. Here’s how to get the work done.

To begin with, open Windows PowerShell in administrator mode.

In the PowerShell window, type the following command and press the enter key.

Enable-WindowsOptionalFeature -Online -FeatureName "NetFx3"

Wait until the command is executed. It will take around 10 to 15 minutes.

Read: Troubleshoot .NET Framework Installation Issues

How do I check the installed .NET Framework version on Windows 11/10?

It’s very easy to check the installed .NET Framework version. In fact, there are multiple ways to do it. You can do it using Command Prompt, Registry Editor, PowerShell, and File Explorer. To check the version via File Explorer, follow these steps: open File Explorer and navigate to %windir%Microsoft.NETFramework. Here you’ll find all the installed versions.

Read: Fix .NET Framework 3.5 Installation Error 0x800F0950

How to fix error 0x800F080C when installing .NET Framework?

The error 0x800F080C when installing .NET Framework due to corrupted files or corrupted .NET Framework dependencies. You can try these solutions to solve the problem: Run the .NET repair tool, run SFC and DISM scan, and download .NET Framework offline installer. It’s very easy to troubleshoot this error.

Read Next: Fix Error Code 0x800f0954 or 0x500f0984 while installing a Windows Feature or a Windows Update.

При установке .NET Framework 3.5 в систему многие пользователи сообщали об ошибке с кодом 0x800F0954. Сообщение об ошибке также появляется при установке различных дополнительных функций в Windows 11/10.

Windows не удалось внести запрошенные изменения.
Не удалось завершить изменения. Пожалуйста, перезагрузите компьютер и повторите попытку.
Код ошибки: 0x800F0954

Что вызывает код ошибки 0x800F0954?

Прежде чем переходить к решениям, важно выяснить причину сообщения об ошибке. Код ошибки 0x800F0954 возникает при попытке установить .NET Framework 3.5 или любые другие дополнительные функции с помощью функций Windows или DISM. Ниже приведены все распространенные виновники проблемы.

  1. Сообщение появится, если есть препятствие в соединении между службами Windows Server Update Services и установщиком дополнительных компонентов Windows.
  2. .NET Framework 3.5 — сравнительно старая версия .NET Framework. Поэтому часто возникает упомянутая ошибка при установке с помощью компонентов Windows.
  3. Еще одной серьезной причиной проблемы могут быть неправильно настроенные параметры установки дополнительных компонентов и восстановления компонентов.

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

Ниже приведен список всех эффективных решений, которые можно попробовать, если вы получаете сообщение об ошибке 0x800F0954 при установке .NET Framework в Windows 11/10:

  1. Временно обойти сервер WSUS
  2. Очистить журналы CBS
  3. Изменение параметров установки и восстановления компонентов
  4. Установите .NET Framework 3.5 через PowerShell

Теперь давайте подробно рассмотрим все решения.

1]Временно обойти сервер WSUS

Первое, что вы должны попробовать, это временно обойти сервер WSUS с помощью реестра Windows. Вы можете сделать это, выполнив следующие шаги.

Откройте диалоговое окно «Выполнить», нажав сочетание клавиш Windows + R.

Введите regedit и нажмите кнопку ОК.

Нажмите «Да» в появившемся UAC.

Направляйтесь к следующему разделу реестра.

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU

На правой панели экрана найдите UseWUServer.

Установите значение UseWUServer равным 0.

Вот и все. Закройте редактор реестра и перезагрузите систему. Проверьте, устранена ли проблема или нет.

В окне PowerShell введите следующую команду и нажмите клавишу ввода.

Enable-WindowsOptionalFeature -Online -FeatureName «NetFx3»

Дождитесь выполнения команды. Это займет от 10 до 15 минут.

Читать: Устранение неполадок при установке .NET Framework

Как проверить установленную версию .NET Framework в Windows 11/10?

Проверить установленную версию .NET Framework очень просто. На самом деле, есть несколько способов сделать это. Вы можете сделать это с помощью командной строки, редактора реестра, PowerShell и проводника. Чтобы проверить версию через проводник, выполните следующие действия: откройте проводник и перейдите к %windir%Microsoft.NETFramework. Здесь вы найдете все установленные версии.

Читайте: исправить ошибку установки .NET Framework 3.5 0x800F0950

Как исправить ошибку 0x800F080C при установке .NET Framework?

Ошибка 0x800F080C при установке .NET Framework из-за поврежденных файлов или зависимостей .NET Framework. Вы можете попробовать следующие решения, чтобы решить проблему: запустите средство восстановления .NET, запустите сканирование SFC и DISM и загрузите автономный установщик .NET Framework. Устранить эту ошибку очень легко.

Читать далее. Исправьте код ошибки 0x800f0954 или 0x500f0984 при установке компонента Windows или обновления Windows.

  • Remove From My Forums

 locked

Windows 10 — 1809 — RSAT Toolset — error code of 0x800f0954

  • Question

  • Got the upgrade the 1809 this morning — trying to add the RSAT Toolset

    Getting error code of Add-WindowsCapability failed. Error code = 0x800f0954

    Does anyone know what this means and how to correct this?

    Thanks in advanced

Answers

  • I found this answer in another thread. It worked for me!

    Run «gpedit.msc» to edit your local computer policy The setting in question is: Computer ConfigurationAdministrative TemplatesSystemSpecify settings for optional component installation and component repair

    My local policy seems to have defaulted to «Disabled» — after changing it to «Enabled» and selecting the checkbox labeled «Download repair content and optional features directly from Windows Update instead of Windows Server
    Update Services (WSUS)» the RSAT tools installed for me.

    • Marked as answer by

      Wednesday, October 3, 2018 6:44 PM

In this post, we will look at how to resolve RSAT Tools Installation Error 0x800f0954. The error 0x800f0954 appears while installing .NET Framework 3.5 or an optional feature on Windows computers.

The RSAT error 0x800f0954 appears on both Windows 10 and Windows 11 devices while using the DISM command-line tool to install additional features.

In my previous post I showed the steps to install RSAT tools on Windows 10. I covered two methods to install RSAT tools, a GUI based and another is using DISM.

On one of my Windows 10 VM, I encountered add-windowscapability failed error code = 0x800f0954. Let’s find out the reasons why you encounter error 0x800f0954 during RSAT tools installation and solution to this error.

Why do you get Error Code 0x800f0954?

There are many reasons why you could encounter error 0x800f0954 during RSAT usage.

  • Unable to access Windows Update server: If a domain joined computer cannot access Windows Update server in the network, the RSAT installation terminates with 0x800f0954 error. In this case, you can resolve the issue by bypassing the WSUS.
  • Install .NET Framework using PowerShell: If you’re trying to install an older .NET Framework package, trying doing it from a PowerShell window to avoid the 0x800f0954 error.
  • Group policy preventing the feature installation: When you are trying to install a RSAT feature using DISM tool, a GPO could be the reason for error 0x800f0954. You can resolve the issue by enabling the “Specify settings for optional component installation and component repair” policy.

While installing RSAT features using DISM command line tool on my Windows computer, I encountered error 0x800f0954. The feature failed to install with the following error details:

Error 0x800f0954
DISM Failed. No operation was performed.
For more information, review the log file. The DISM Log file can be found at C:WindowsLogsDISMdism.log
RSAT Tools Installation Error 0x800f0954
RSAT Tools Installation Error 0x800f0954

By default, the WindowsCapability logs are stored in C:WindowsLogsDISMdism.log. Reviewing the dism.log, I found multiple errors.

The below information shows the error details logged in dism.log file. Among the errors in dism.log, one prominent error was 0x800f0954. So if you are seeing the same error while installing RSAT tools on Windows computer, head to next section for the solution.

DISM Package Manager: PID=4828 TID=5752 Error in operation: (null) (CBS HRESULT=0x800f0954) - CCbsConUIHandler::Error
DISM DISM Package Manager: PID=4828 TID=6516 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0954)
DISM Package Manager: PID=4828 TID=6516 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x800f0954)
DISM Package Manager: PID=4828 TID=6516 Failed to install capability. - CPackageManagerCLIHandler::ProcessCmdLine_AddCapability(hr:0x800f0954)
DISM Package Manager: PID=4828 TID=6516 Failed while processing command add-capability. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0954)
2DISM Package Manager processed the command line but failed. HRESULT=800F0954
RSAT Error 0x800f0954
RSAT Error 0x800f0954

Solution for RSAT Tools Installation Error 0x800f0954

You can resolve the RSAT error 0x800f0954 by enabling the “Specify settings for optional component installation and component repair” policy on your computer.

Fix RSAT Tools Installation Error 0x800f0954

  • On your Windows computer, right click Start and click Run.
  • Now type gpedit.msc and hit enter.
  • In the local group policy editor, navigate to Computer ConfigurationAdministrative TemplatesSystem.
  • On the right pane look for policy named “Specify settings for optional component installation and component repair“.
RSAT Tools Installation Error 0x800f0954
Specify settings for optional component installation and component repair

Right click policy setting and click Enabled. In addition to that, check the box “Download repair content and optional features directly from Windows Updates instead of Windows Server Updates Services (WSUS)“.

RSAT Tools Installation Error 0x800f0954
Download repair content and optional features directly from Windows Updates instead of WSUS

Click Apply and OK. Now open the command prompt on your computer and run the command gpupdate so that the latest policy settings are applied to the local machine.

Running the same DISM command now should install the RSAT feature without any errors.

RSAT Tools Installation Error 0x800f0954
DISM: The operation completed successfully

Photo of Prajwal Desai

Prajwal Desai is a Microsoft MVP in Enterprise Mobility. He writes articles on SCCM, Intune, Windows 365, Azure, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.

Понравилась статья? Поделить с друзьями:
  • Код ошибки 0x800f0950 windows 11
  • Код ошибки 0x8009200b
  • Код ошибки 0x800f0922 windows 10 как исправить
  • Код ошибки 0x80092004
  • Код ошибки 0x800f0908 windows 10