Windows 10 features on demand что такое

Включение и отключение компонентов Windows 10

Как известно, Windows 10 отличается набором компонентов от предыдущих версий операционных систем Windows. Зачастую требуется их включить или выключить, чтобы они не потребляли системные ресурсы, да и просто не мешали. В этой статье мы рассмотрим как это сделать быстрее и эффективнее.

Начнем с того, что существует два основных способа работы с компонентами (они еще называются features) — утилита DISM и командлеты Powershell. И то и другое встроено в Windows 10, в отличие от Windows 7, где dism можно было добавить или установив пакет Windows ADK, или руками скопировав dism.exe с другого компьютера.

Сразу отмечу, что утилиту dism и среду powershell для работы с системой необходимо запускать от имени администратора, даже если ваш аккаунт уже находится в группе локальных админов. Итак, вы или находите cmd или windows powershell в меню и, кликнув правой кнопкой мышки, выбираете «Запуск от имени администратора».

В Windows 10 есть понятие Features и Capabilities. Первое — это привычные нам компоненты, которые можно найти в Панели управления -> Программы и компоненты -> Включение и отключение компонентов Windows. То есть это встраиваемые модули, которые выполняют определенный сервисный функционал.

Capabilities — это дополнительные возможности, которые расширяют возможности интерфейса и увеличивают удобство пользователя. Среди них — Language packs, наборы шрифтов. Да, Microsoft удалил часть нестандартных шрифтов, которые теперь вынесены в опциональные компоненты. Скачать эти компоненты можно в виде ISO файла с сайта Volume Licensing Service Center или напрямую через Internet и графический интерфейс Windows. Такую концепцию Microsoft назвала Features on Demand (FOD). Их в более ранних версия Windows не было.

Работаем с Windows Features

Итак, список установленных компонентов можно посмотреть командой

Dism /online /Get-Features

Вот как в Powershell можно получить список всех компонентов командлетами Get-WindowsFeature (для Windows Server) или Get-WindowsOptionalFeature (Windows 10):

Чтобы получить список отключенных компонентов, введите:

Get-WindowsOptionalFeature -Online | ? state -eq ‘disabled’ | select featurename

Этот список также можно вывести в файл (для windows Server):

Get-WindowsFeature | Where-Object <$_.Installed -match “True”>| Select-Object -Property Name | Out-File C:\Temp\WindowsFeatures.txt

Посмотрев список названий и их состояние, можно использовать эти названия для того, чтобы компоненты включить или выключить:

Dism /online /Enable-Feature /FeatureName:TFTP /All

ключ /All позволяет включить также все дочерние компоненты;

Установка компонентов через Powershell выполняется командой Enable-WindowsOptionalFeature.

Enable-WindowsOptionalFeature -Online -FeatureName RSATClient-Roles-AD-Powershell

Параметр -All включает все дочерние компоненты.

Dism /online /Disable-Feature /FeatureName:TFTP

Аналогично, через Powershell это можно сделать командой Disable-Windowsoptionalfeature -online -featureName [feature name].

Обратите внимание, некоторые фичи имеют разные названия в Windows 7 и Windows 10. Например, RSAT в Windows 7 — это RemoteServerAdministrationTools, а в Windows 10 — RSATclient.

Управление Features on Demand (FOD)

Если вы устанавливаете их через графический интерфейс, то вам необходимо пройти “System –> App & features –> Manage optional features” и нажать знак + напротив необходимых компонентов.

Чтобы сделать это автоматизированно через командную строку, наберите чтобы получить список доступных компонентов:

DISM.EXE /Online /Get-Capabilities

или на Powershell:

Как и прежде, запомните название необходимых вам компонентов, чтобы включить их командой (на примере .Net Framework 3):

DISM.EXE /Online /Add-Capability /CapabilityName:NetFx3

или на Powershell:

Add-WindowsCapability –Online -Name NetFx3

Если же у вас нет доступа в Интернет, то есть выход. Итак, вы скачиваете ISO образ диска с FOD компонентами с сайта Volume Licensing Service Center. Файлы будут разные для разных релизов Windows 10 — 1511, 1607, 1703, 1709. Важно помнить, что компоненты одного релиза не подходят к другому. Если вы сделаете in-place upgrade (установка одного релиза поверх другого через обновление), то несовместимые установленные компоненты будут удалены без вашего желания! Да, Microsoft удаляет то, что считает несовместимым при обновлении.

Читайте также:  Глючит ноутбук после переустановки windows

Так вот, ISO файл содержит набор неизвестных и сложных для понимания файлов с расширением cab. Вот чудесный файлик на сайта Microsoft, который обясняет назначение каждого файла. Итак, существуют следующие типы FOD:

  • Microsoft-Windows-LanguageFeatures-Basic — проверка правописания для различных языков и раскладок клавиатуры;
  • Microsoft-Windows-LanguageFeatures-Fonts — национальные шрифты, например, азиатские
  • Microsoft-Windows-LanguageFeatures-OCR — средства для распознавания шрифтов
  • Microsoft-Windows-LanguageFeatures-Handwriting — средства для распознавания рукописного ввода
  • Microsoft-Windows-LanguageFeatures-TextToSpeech — средства преобразования текста в голос, используемые подсказчиком Cortana
  • Microsoft-Windows-LanguageFeatures-Speech — распознавание голоса
  • Microsoft-Windows-InternationalFeatures — пакеты национальных настроек, например, для Тайваня

Итак, для добавления таких FOD компонентов, используйте команды вида (замените имя компонента):

Dism /Online /Add-Capability /CapabilityName:Language.Basic

Для удаления FOD:

Dism /Online /Remove-Capability /CapabilityName:Language.Basic

Установка и переустановка пакетов языков (Language Interface Packs, LIP)

Язык интерфейса Windows можно поменять, установив так называемые LIP. ранее они назывались MUI (Multi user interface). Файлы LIP выглядят так: Microsoft-Windows-Client-Language-Pack_x64_es-es.cab для испанского языка. Выглядеть установка будет примерно так:

Dism /Add-Package /online /PackagePath:»C:\Languages\Microsoft-Windows-Client-Language-Pack_x64_fr-fr.cab»

Dism /Remove-Package /online /PackageName:Microsoft-Windows-Client-LanguagePack-Package

В следующей статье мы поговорим как с помощью DISM и Powershell управлять так называемыми Modern-приложениями AppX.

Features On Demand

Overview

Features on Demand (FODs) are Windows features that can be added at any time. Common features include language resources like handwriting recognition or other features like the .NET Framework (.NetFx3). When Windows 10 or Windows Server needs a new feature, it can request the feature package from Windows Update.

You can also preinstall FODs so they’re ready if a user needs them. FODs are distributed as .cab files on the Feature on Demand ISO and you can use DISM to add a FOD to a Windows image. If you’re using the FOD ISO to preinstall FODs, make sure you’re using the FOD ISO that matches your Windows image version.

Add language packs, FODs, and apps, in that order, prior to installing an update. If you add an update prior to adding language packs, FODs, and apps you’ll have to reinstall the update.

Types of Features on Demand

Starting with Windows 10, version 1809 and Windows Server 2019, Windows has two different types of Features on Demand:

FODs without satellite packages: FODs with all language resources packaged into the same package. These FODs are distributed as a single .cab file.

They can be added using either DISM /Add-Capability or /Add-Package .

FODs with satellite packages: Language-neutral FODs that have language and/or architecture resources in separate packages (satellites). When you install this type of FOD, only the packages that apply to the Windows image are installed, which reduces disk footprint. These FODs are distributed as a set of several .cab files, but are installed by specifying a single /capabilityname . These are new for Windows 10, version 1809.

They can only be added using DISM /Add-Capability (and not /Add-Package ).

FODs with satellites require a well-formed FOD repository. This can either be the full FOD repository on the ISO, or a custom repository created with DISM /export-source . They cannot be added by pointing to a directory with a handful of FOD files hand-copied from the repository, because DISM requires additional metadata to make the right connections.

See Available Features on demand for more information about which FODs have satellites. Language FODs don’t have satellites.

While you can add non-satellite FODs using /add-package , we recommend adding all FODs with /add-capability because you can use it to add both satellite and non-satellite FODs.

Читайте также:  Как выключить оверлей windows 10

Adding or removing Features on Demand

Using DISM /add-package to add or remove FODs

You can add non-satellite Features on demand to a Windows image with DISM /add-package . The FODs that you can add with /add-package include the language FODs, the FODs that come preinstalled with Windows, and the FODs that we recommend for preinstallation.

OEMs can generally add FODs to their Windows images using DISM /add-package , unless they need to preinstall a FOD that has satellites.

Command Description Example
/add-package Adds a package, including a FOD .cab to an image. add-package can only be used to add FODs that don’t have satellite packages. DISM.exe /image:C:\mount\Windows /add-package /packagepath:E:\Microsoft-Windows-Holographic-Desktop-FOD-Package

.cab

/Get-Packages Get a list of all packages in an image. DISM /image:C:\Mount\Windows /get-packages
/Get-Packageinfo Get information of a package in an image. DISM /image:C:\mount\Windows /get-packageInfo /packagename:Microsoft-Windows-Xps-Xps-Viewer-Opt-Package

10.0.17134.1000

/Remove-Package Removes a package from an image. Note: Don’t remove a package that other packages depend on. For example, if you have the French handwriting and basic packages installed, don’t remove the basic package. DISM.exe /image:C:\mount\Windows /Remove-Package /PackageName:Microsoft.Windows.Calc.Demo

Using DISM /add-capability to add or remove FODs

You can also install FODs with DISM /add-Capability . You have to use /add-capability to preinstall satellite FODs. If you’re preinstalling a FOD onto an offline image, use the /source option to tell Windows where to find the FOD installation files. The /source could be a FOD repository or a mounted FOD ISO. You can use multiple /source arguments in a command.

If you’re adding a FOD to an online image, /add-capability downloads features from Windows Update and adds them to the image. If you don’t want to install from Windows Update, you can use /LimitAccess , which tells DISM to not check Windows Update or Windows Server Update Services for the capability source files.

  • Use the /online option to add the capability to your PC.
  • Use /Image:\ with the /source option to add the capability to a mounted Windows image.

Adds a capability to an image.

For packages with dependencies this also pulls dependent packages. For example, if you add the Speech package, you’ll also get the Text-to-speech and Basic packages in addition to Speech.

DISM looks for source files in the following locations:

  1. If /Source is specified, DISM looks in the specified locations first.
  2. If /Source is not specified, or if the source files are not found in the specified locations, DISM checks the locations specified by group policy.
  3. If the files still aren’t found, and if DISM is running against an online image, and if /LimitAccess is not specified, it looks for the files on Windows Update.

Removes a capability from an image.

Note: You cannot remove a capability that other packages depend on. For example, if you have the French handwriting and basic capabilities installed, you can’t remove the basic capability.

Command Description Example
/add-capability DISM.exe /image:C:\mount\Windows /add-capability /CapabilityName:Language.Basic

DISM.exe /Online /add-capability /CapabilityName:Language.Basic

0.0.1.0

/Get-Capabilities Get capabilities in the image. DISM /image:C:\Mount\Windows /Get-Capabilities
/Get-CapabilityInfo Get information of a capability in the image. DISM /image:C:\mount\Windows /Get-CapabilityInfo /CapabilityName:Language.Basic

0.0.1.0

/Remove-Capability DISM.exe /image:C:\mount\Windows /Remove-Capability /CapabilityName:Language.Basic

To see all available DISM commands for capabilities, see DISM Capabilities Package Servicing Command-Line Options.

What is Windows 10 Features on Demand & how do I install FOD?

In this post, we will discuss what are Windows 10 Features on Demand and why some users (specifically Windows 10 systems managed via WSUS) might be unable to download and install FOD (Features on Demand).

What is Windows 10 Features on Demand

Windows 10 Features On Demand are additional feature options available through Windows Update. This download allows organizations to pre-configure Windows 10 installation software with these features prior to deployment. This download can also be used to install features from local media.

Features on Demand (FODs) are Windows feature packages that can be added at any time. Common features include language resources like handwriting recognition or other features like the .NET Framework (.NetFx3). When Windows 10 or Windows Server needs a new feature, it can request the feature package from Windows Update.

Unlike previous Feature Packs, Features on Demand v2 can apply to multiple Windows builds and can be added using DISM without knowing the build number. Always use Features on Demand that match the architecture of the operating system. Adding Features on Demand of the wrong architecture might not return an error immediately, but will likely cause functionality issues in the operating system.

Windows has two different types of Features on Demand:

  1. FODs without satellite packages: FODs with all language resources packaged into the same package. These FODs are distributed as a single .cab file and can be added using either DISM /Add-Capability or /Add-Package.
  2. FODs with satellite packages: When you install this type of FOD, only the packages that apply to the Windows image are installed, which reduces disk footprint. These FODs are distributed as a set of several .cab files, but are installed by specifying a single /capabilityname. They can only be added using DISM /Add-Capability (and not /Add-Package).

Windows Features on Demand not installing

Starting with Windows 10 version 1809, FOD (Features on Demand) and language packs can only be installed from Windows Update and not via WSUS.

If you cannot install Windows 10 Features on Demand, you’ll need to configure the Group Policy to go directly to Windows Update to download and install FOD.

Press Windows key + R, type gpedit.msc, hit Enter to launch the Group Policy editor.

Navigate to Computer Configuration > Administrative Templates > System.

Scroll down on the right pane, locate and double-click Specify settings for optional component installation and component repair.

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.

If you enable this policy setting and specify the new location, the files in that location will be used to repair operating system corruption and for enabling optional features that have had their payload files removed. You must enter the fully qualified path to the new location in the “”Alternate source file path”” text box. Multiple locations can be specified when each path is separated by a semicolon.

The network location can be either a folder, or a WIM file. If it is a WIM file, the location should be specified by prefixing the path with “wim:” and include the index of the image to use in the WIM file. For example “wim:\\server\share\install.wim:3”.

If you disable or do not configure this policy setting, or if the required files cannot be found at the locations specified in this policy setting, the files will be downloaded from Windows Update, if that is allowed by the policy settings for the computer.

Click the radio button for Enabled

Also, set the following:

  • Alternate source file path:
  • Never attempt to download payload from Windows Update: Uncheck
  • Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS): Check

Click Apply > OK.

Windows 10 v1809 and later users should now be able to download and install Features on Demand.

Читайте также:  Windows live что это за папка windows 10
Оцените статью