Turn windows features on or off windows server

Turn Windows Features on or off: Here’s how to use it

Windows 10 is a great operating system, but it also comes with several hidden features that you might not know about. All these features are listed in the Turn Windows features on or off section, and in today’s article, we’ll show you how you can enable or disable them.

How do I turn on or off optional Windows features?

Access this feature from Control Panel

  1. Open Control Panel and go to Programs.
  2. Now select Turn Windows features on or off.
  3. List of features will now appear. Just check the feature you want to install or uncheck the one you want to remove and click OK.
  4. You’ll be asked to restart your PC in order to apply the changes.

If you want to access this feature quickly, you can use the following method:

  1. Press Windows Key + R to open the Run window.
  2. Now enter optionalfeatures and press Enter or click OK.

What features are available to be installed?

There are about 30+ optional features available to be installed, but we’re going to focus on several most important ones.

  • .NET Framework 3.5 (includes .NET 2.0 and 3.0)and.NET Framework 4.6 Advanced Services These two features are required in order to run applications created using the .NET Framework 3.5 or 4.6.
  • Hyper-V Microsoft’s virtualization technology that lets you run virtual machines on your PC without third-party software.
  • Internet Explorer 11 If you still need to use Internet Explorer on your PC, you should know it’s still available on Windows 10.
  • Media Features – This includes Windows Media Player and other multimedia components.
  • Microsoft Print to PDF – A feature that lets you “print” your documents straight to PDF files instead of an actual printer.
  • Windows PowerShell 2.0 – Command Line interface similar to the Command Prompt, but more advanced.
  • Windows Subsystem for Linux (Beta) This feature gives you the access to the Ubuntu command line and it allows you to use the same commands you’d use on a Linux system.

These are some of the most notable features that you can enable/disable, but there are a lot more available.

There you go, a quick and easy guide on how to use Turn Windows Features on or off on your PC.

As you can see, most of the features available here are made for advanced users, and you most likely won’t have to enable or disable them on your own anytime soon.

We hope you found this article informative and that you now have a better understanding of optional Windows Features.

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

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

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

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

Сразу отмечу, что утилиту 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 удаляет то, что считает несовместимым при обновлении.

Так вот, 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 компонентов, используйте команды вида (замените имя компонента):

Читайте также:  Оптимизаторы для windows обзор

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.

How To Turn Windows 10 Features On Or Off

Last Updated on September 26, 2020 by admin 1 Comment

Windows 10 is a big operating system with hundreds of features. Like any other operating system or software, most PC users never use all the features offered in Windows 10. For instance, the built-in XPS Viewer is alien to most PC users even though it’s been around since the launch of Windows 7.

Advanced PC users often like to turn off features that they are not interested in. Although Windows 10 doesn’t offer a way to turn on or off all the features, you can turn off many features under Control Panel.

As you can see in the picture below, you can turn on or off .Net Framework, Hyper-V, Internet Explorer, Microsoft Print to PDF, XPS Viewer, Telnet Client, Work Folder Client, Windows Fax and Scan, Windows PowerShell, and more.

You can’t use this method to turn off built-in apps in Windows 10. If you want to remove an app, please refer to how to uninstall the default Windows 10 apps guide. Also, turning off a feature will not remove it from Windows 10. If you want to completely get rid of a feature from Windows 10, you need to use a Windows 10 ISO image-customizing tool such as NTLite.

As said earlier, Windows 10 doesn’t allow you to turn on or off all the features. Some features are essential for the smooth running of the operating system, and some other features such as Start menu and File Explorer can be turned off by installing third-party alternatives.

Turn on or off features in Windows 10

Follow the given below directions to turn on or off Windows 10 features.

Step 1: Open Control Panel by typing Control Panel in the Start menu or taskbar search field and then pressing Enter key.

Step 2: Under the Programs section, click Uninstall a program link. This will open the Programs and Features window.

Step 3: In the left-pane of Programs and Features window, click Turn Windows features on or off the link to open Windows Features window with a list of features that you can turn on or off.

Step 4: Go through the features list. If the checkbox next to a feature is selected, it means that the feature is turned on. A full checkbox means only part of the function is turned on.

Click the plus icon to see all features under that category. For instance, you can see Windows Media Player by expanding Media Features.

To turn off a feature, uncheck the checkbox next to it. When you see the following confirmation dialog, click the Yes button to turn off the feature. You might be asked to turn on or off a feature.

We recommend you turn off only features that you no longer use or prefer to use third-party software instead of the default one.

Turn windows features on or off windows server

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Answered by:

Question

Guys, is there any way we can turn windows features on or off using group policy? I know how to do it using PowerShell but wondering if this can be achieved using group policy?

Читайте также:  Data recovery для linux

Answers

There is no group policy method to disable it.

You could use the PowerShell script to do it:

Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol

For more detailed information, please read this article:

Stop using SMB1

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

All replies

This might be the answer you’re looking for:

Hope this helps, Good luck!

Microsoft MVP (Windows and Devices for IT)

Windows Insider MVP

Did you want to prevent user from accessing the Turn Windows feature on or off from Control Panel?

If yes, enable this group policy:

User Configuration\Administrative Template\Control Panel\Programs\Hide «Windows Features»

If you mean you want to enable or disable one specific feature by the group policy.

For some — yes, see Administrative Templates — Windows Components. For most, unfortunately no.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

Hi Kapil, Thanks for your reply.. No, this is not the something I am looking for..

I just want to uninstall/disable some windows features from windows feature on/off option (dont want to disable add/remove feature option from windows).

Did you want to prevent user from accessing the Turn Windows feature on or off from Control Panel? (NO)

I just want to uninstall/disable some windows features from windows feature on/off option (dont want to disable add/remove feature option from windows).

Please refer the attached screenshot. I want to Disable/Uninstall or Enable/Install the red highlighted feature from windows.

There is no group policy method to disable it.

You could use the PowerShell script to do it:

Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol

For more detailed information, please read this article:

Stop using SMB1

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

Hello Karen, Thanks for your reply..

As said in the beginning of my question, I know how to do it using using PowerShell.. 🙂 But was wondering if it can be done using group policy..

Anyways, thanks for your answer.

You can use a scheduled task in Group Policy Preferences. In the GPO Editor, expand Computer Configuration -> Preferences -> Control Panel Settings -> Scheduled Tasks. On Scheduled Tasks, right-click then select New -> Immediate Task (At least Windows 7). If you just hit + in the action bar then Item Level Targeting will not work. Give the task a name, set it to run as «NT AUTHORITY\System». Add a new Action to execute powershell.exe and point it at a script such as DisableSMBv1.ps1 (script content below). You can put the script in your NETLOGON share on your domain controllers so that any system will have local access to it. On the Common tab, enable Item-level targeting. Tap the Targeting button then add a New Item -> WMI Query. In the Query field, paste the query below. Leave other values alone. Link this GPO to an appropriate place in AD where computer objects will receive it. When a system with the feature processes the GPO, it will run a task that will remove the feature then remove the task. The next system restart will activate the change.

  • Program/script: powershell.exe
  • Add arguments(optional): -ExecutionPolicy Unrestricted -Command «\\%DomainName%\NETLOGON\Security\DisableSMBv1.ps1»
  • Start in(optional): %public%\Documents

Set-ItemProperty -Path «HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters» SMB1 -Type DWORD -Value 0 -Force Set-SmbServerConfiguration -EnableSMB1Protocol $false -Force Disable-WindowsOptionalFeature -Online -FeatureName «SMB1Protocol» -NoRestart

select * from Win32_ServerFeature where Name=’SMB 1.0/CIFS File Sharing Support’

Оцените статью