Windows th rsat ws2016

Item Preview

There Is No Preview Available For This Item

This item does not appear to have any files that can be experienced on Archive.org.


Please download files in this item to interact with them on your computer.

Show all files

27

Views

DOWNLOAD OPTIONS

Uploaded by

MYTEEQUINN

on

SIMILAR ITEMS (based on metadata)

Набор компонентов RSAT (Remote Server Administration Tools / Средства удаленного администрирования сервера) позволяет удаленно управлять ролями и компонентами на серверах Windows Server с обычной рабочей станции Windows. В RSAT входят графические MMC оснастки, утилиты командной строки, и модули PowerShell. Вы можете установить RSAT как на десктопных версиях Windows 10 или 11, так и в Windows Server 2022/2019/2016.

Содержание:

  • Установка средств администрирования RSAT в Windows 10 и 11
  • Установка RSAT в Windows с помощью PowerShell
  • Как установить Remote Server Administration Tools в Windows Server 2022,2019,2016?
  • Ошибка 0x800f0954 при установке RSAT в Windows
  • Установка RSAT в Windows в офлайн режиме

Установка средств администрирования RSAT в Windows 10 и 11

В Windows 10 и 11 RSAT устанавливаются через графический интерфейс панели Settings -> Apps -> Optionla Features -> Add an optional feature (Параметры Windows -> Приложения -> Дополнительные возможности -> Добавить компонент).

установка Remote Server Administration Tools в windows 10 через optional features

Наберите в поисковой строке RSAT, чтобы вывести доступные компоненты. Вы можете установить в Windows 10/11 следующие инструменты администрирования RSAT:

  • RSAT: Active Directory Domain Services and Lightweight Directory Services Tools
  • RSAT: BitLocker Drive Encryption Administration Utilities
  • RSAT: Active Directory Certificate Services Tools
  • RSAT: DHCP Server Tools (настройка и управление DHCP сервером на Windows Server)
  • RSAT: DNS Server Tools
  • RSAT: Failover Clustering Tools
  • RSAT: File Services Tools
  • RSAT: Group Policy Management Tools – консоль управления GPO и PowerShell модуль GroupPolicy
  • RSAT: IP Address Management (IPAM) Client
  • RSAT: Data Center Bridging LLDP Tools
  • RSAT: Network Controller Management Tools
  • RSAT: Network Load Balancing Tools
  • RSAT: Remote Access Management Tools
  • RSAT: Remote Desktop Services Tools
  • RSAT: Server Manager
  • RSAT: Shielded VM Tools
  • RSAT: Storage Migration Service Management Tools
  • RSAT: Storage Replica Module for Windows PowerShell
  • RSAT: System Insights Module for Windows PowerShell
  • RSAT: Volume Activation Tools (консоль активации KMS сервера)
  • RSAT: Windows Server Update Services Tools

Выберите нужные компоненты RSAT и нажмите Install.

Вы можете установить RSAT только Professional и Enterprise редакциях Windows 10/11, но не в Windows Home.

установить компоненты rsat в Windows онлайн

После установки некоторых компонентов RSAT может потребоваться перезагрузка.

Компоненты RSAT не включены в состав Windows, а поставляются в виде Функции по требованию (Features on Demand). Это значит, что для установки RSAT ваш компьютер должен быть подключен к интернету. Windows загрузит и установит необходимые файлы с серверов Microsoft Update.

В предыдущих версиях Windows (до билда Windows 10 1809) пакет удаленного администрирования серверов RSAT устанавливался в виде отдельного файла MSU обновления, которое нужно было вручную скачивать и установить с сайта Microsoft (https://www.microsoft.com/en-us/download/details.aspx?id=45520)

После установки пакета KB2693643 вы можете включить необходимые компоненты RSAT в разделе Control Panel -> Programs and Feature -> Turn Windows features on or off (
optionalfeatures.exe
). Разверните Remote Server Administration Tools и выберите необходимые компоненты для установки.

Включить компоненты RSAT в предыдущих версиях Windows

Если попытаться установить KB2693643 на более новых билдах Windows 10 или 11, появится ошибка:

Windows Update Standalone Installer encountered and error: 0x8024001d

После установки, графические mmc оснастки RSAT будут доступны в панели управления в секции Administrative Tools (Control Panel\System and Security\Administrative Tools) или в папке:
%ProgramData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools
.

Запустить rsat из Administrative Tools

Установка RSAT в Windows с помощью PowerShell

Вы можете установить компоненты администрирования RSAT в Windows 10 и 11 с помощью PowerShell.

С помощью следующей PowerShell команды можно вывести список компонентов RSAT, установленных на вашем компьютере:

Get-WindowsCapability -Name RSAT* -Online | Select-Object -Property DisplayName, State

В нашем примере инструменты управления DHCP и DNS установлены (
Installed
), а все остальные модуль RSAT отсутствуют (
NotPresent
).

Get-WindowsCapability вывести список установленных компонентов rsat с помощью powershell

Для установки RSAT в Windows используется PowerShell командлет Add-WindowsCapability.

Чтобы установить конкретный инструмент RSAT, например инструменты управления AD (в том числе консоль ADUC из модуля Active Directory для Windows Powershell), выполните команду:

Add-WindowsCapability –online –Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

Для установки консоли управления DNS и модуля PowerShell DNSServer, выполните:

Add-WindowsCapability –online –Name Rsat.Dns.Tools~~~~0.0.1.0

И т.д.

Add-WindowsCapability -Online -Name Rsat.BitLocker.Recovery.Tools~~~~0.0.1.0

Add-WindowsCapability -Online -Name Rsat.CertificateServices.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.DHCP.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.FailoverCluster.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.FileServices.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.IPAM.Client.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.LLDP.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.NetworkController.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.NetworkLoadBalancing.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.RemoteAccess.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.RemoteDesktop.Services.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.ServerManager.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.Shielded.VM.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.StorageMigrationService.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.StorageReplica.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.SystemInsights.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.VolumeActivation.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.WSUS.Tools~~~~0.0.1.0

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

Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online

Также вы можете установить компоненты RSAT с помощью утилиты DISM:

DISM.exe /Online /add-capability /CapabilityName:Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 /CapabilityName:Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0 /CapabilityName:Rsat.WSUS.Tools~~~~0.0.1.0

Чтобы установить только отсутствующие компоненты RSAT, выполните:

Get-WindowsCapability -Name RSAT* -Online | where State -EQ NotPresent | Add-WindowsCapability –Online

Add-WindowsCapability в Windows 10 1809 Rsat.LLDP.Tools

Теперь убедитесь, что инструменты RSAT установлены (статус Installed);

состояние компоеннтов RSAT

Как установить Remote Server Administration Tools в Windows Server 2022,2019,2016?

В Windows Server для установки RSAT не нужен доступ в интернет. Компоненты RSAT можно устанавливать при установке соответствующих ролей или фич Windows Server, либо можно установить их через Server Manager (Add roles and Features -> Features -> Remote Server Administration Tools). Все компоненты RSAT разбиты на две секции: Feature Administration Tools и Role Administration Tools. Выберите необходимые компоненты и нажмите Next -> Next.

windows server: установка RSAT через Server Manager

Для установки RSAT в Windows Server используется командлет установки компонентов и ролей — Install-WindowsFeature. Вывести список доступных компонентов RSAT в Windows Server 2022, 2019 и 2016:

Get-WindowsFeature| Where-Object {$_.name -like "*RSAT*"}| ft Name,Installstate

Для установки выбранного компонента RSAT, укажите его имя. Например, установим консоль диагностики лицензирования RDS:

Install-WindowsFeature RSAT-RDS-Licensing-Diagnosis-UI

windows server: установить компоненты rsat с помощью командлета powershell Install-WindowsFeature

Установить консоль удаленного управления Hyper-V Manager и PowerShell модуль Hyper-V:

Get-WindowsFeature | Where-Object {$_.Name -like "RSAT-Hyper-V-Tools"}| Install-WindowsFeature -IncludeAllSubFeature

Установленные графические консоли RSAT доступны из Server Manager или через панель управления.

Ошибка 0x800f0954 при установке RSAT в Windows

Если ваш компьютер Windows настроен на получение обновлений с локального сервера обновлений WSUS или SCCM (Configuration Manager) SUP, то при установке RSAT из графического интерфейса, Add-WindowsCapability или DISM вы получите ошибку.

Add-WindowsCapability ошибка установки rsat 0x800f0954

В этом случае Windows будет пытаться загрузить пакет RSAT с вашего локального сервера обновлений и вернет ошибку 0x800f0954:

Чтобы игнорировать локальный WSUS при установке дополнительных компонентов Windows и Features On Demand (в том числе RSAT) нужно настроить специальный параметр групповых политики:

  1. Откройте редактор локальной GPO –
    gpedit.msc
    или используйте доменную консоль управления GPO –
    gpmc.msc
    );
  2. Перейдите в раздел Computer Configuration -> Administrative Templates -> System;
  3. Включите политику Specify settings for optional component installation and component repair, и включите опцию Download repair content and optional features directly from Windows Updates instead of Windows Server Updates Services (WSUS) (опция “Скачайте содержимое для восстановления и дополнительные компненты непосредственно из Центра обновления Windows вместо использования службы WSUS”);
    gpo: Specify settings for optional component installation and component repair

  4. Сохраните изменения и обновите настройки групповых политик (
    gpupdate /force
    ).
  5. Перезапустите службу Windows Update:
    net stop wuauserv
    net start wuauserv

Теперь установка RSAT через PowerShell или DISM должна выполняться без ошибок.

Некоторые параметры реестра могут блокировать подключение к Microsoft Update при получении компонентов RSAT. Если при установке RSAT появляется ошибка 0x8024002e, измените значения следующий параметров реестра в ветке
HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
:

  • DoNotConnectToWindowsUpdateInternetLocations = 0
  • DisableWindowsUpdateAccess = 0

Затем перезапустите службу wuauserv.

Установка RSAT в Windows в офлайн режиме

Если вы не можете открыть прямой доступ с рабочей станции к серверам Microsoft Update, вы можете воспользоваться офлайн установкой RSAT (рекомендуется для корпоративных сетей без прямого доступа в Интернет).

Windows 10 дополнительные возможности - Компоненты для установки отсутствуют

Для офлайн установки RSAT нужно скачать ISO образ диска с компонентами FoD для вашей версии Windows 10/11 с сайта Microsoft или из личного кабинета на сайте лицензирования Microsoft (Volume Licensing Service Center, VLSC):

  • Для Windows 10 2004 — https://learn.microsoft.com/en-us/azure/virtual-desktop/language-packs (FOD Disk 1 ISO)
  • Для Windows 11 21H2/22H2- https://learn.microsoft.com/en-us/azure/virtual-desktop/windows-11-language-packs (Language and Optional Features ISO)

Например, для Windows 10 2004 x64 нужно скачать образ 19041.1.191206-1406.vb_release_amd64fre_FOD-PACKAGES_OEM_PT1_amd64fre_MULTI.iso (около 5 Гб). Распакуйте образ в сетевую папку. У вас получится набор *.cab файлов, среди которых есть компоненты RSAT.

Теперь для установки компонентов RSAT на рабочей станции Windows нужно указывать путь к данному сетевому каталогу с FoD в параметре -Source:

Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 -LimitAccess -Source \\msk-fs01\Distr\Windows-FOD\Win101903x64\

Add-WindowsCapability установить компоненты rsat из сетевой папки

Также вы можете указать путь к каталогу с компонентами FoD с помощью указанной выше групповой политики. Для этого в параметре Alternative source file path нужно указать UNC путь к каталогу с файлами FoD.

windows 10 1903: настройки features on demand для установки RSAT через GPO

Или можете задать этот параметр через реестр отдельной политикой, указав путь к каталогу в параметр LocalSourcePath (тип REG_Expand_SZ) в ветке реестра HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Servicing.

После этого, пользователи смогут самостоятельно устанавливать компоненты RSAT через графический интерфейс добавления компонент Windows 10.

Частые ошибки установки Remote Server Administration Tools в Windows

  • 0x8024402c, 0x80072f8f – Windows не может поучить доступ к серверам обновления Windows для получения компонентов RSAT. Проверьте доступ в интернет или установите компоненты из локального образа FoD:
    Add-WindowsCapability -Online -Name Rsat.Dns.Tools~~~~0.0.1.0 -LimitAccess -Source E:\RSAT\
  • 0x800f081f – проверьте путь к каталогу с компонентами RSAT, указанному в параметре –Source;
  • 0x800f0950 – ошибка аналогична 0x800f0954;
  • 0x80070490 –проверьте целостность образа Windows с помощью DISM:
    DISM /Online /Cleanup-Image /RestoreHealth

This article will serve as an informative guide and give you a clear understanding of how to perform silent or interactive installs and uninstalls of RSAT for Windows 10 (Offline) using the Powershell App Deployment Toolkit. The PowerShell App Deployment Toolkit can be used to replace your WiseScript, VBScript and Batch wrapper scripts with one versatile, re-usable and extensible tool. This tool is an absolute must for Microsoft Endpoint Manager Configuration Manager (MEMCM) / (SCCM) Administrators or anyone who is responsible for packaging and deploying software.

How to Install RSAT for Windows 10 (Offline) Using the PowerShell App Deployment Toolkit

  1. Download the Powershell App Deployment Toolkit 3.8.4:
    • https://github.com/PSAppDeployToolkit/PSAppDeployToolkit/releases/download/3.8.4/PSAppDeployToolkit_v3.8.4.zip
  2. Download the zip file to a folder created at (C:\Downloads)
  3. Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  4. Enter the following command to remove the Zone.Identifier:
    • Unblock-File -Path C:\Downloads\PSAppDeployToolkit_v3.8.4.zip
  5. Enter the following command to extract the contents of the zip file:
    • Expand-Archive -Path C:\Downloads\PSAppDeployToolkit_v3.8.4.zip -DestinationPath C:\Downloads\PADT
  6. Enter the following commands to copy the AppDeployToolkit & Files folders to “C:\Downloads\RSAT_Win10_Offline”:
    • Copy-Item -Path "C:\Downloads\PADT\Toolkit\AppDeployToolkit" -Destination "C:\Downloads\RSAT_Win10_Offline\AppDeployToolkit" -Recurse
    • Copy-Item -Path "C:\Downloads\PADT\Toolkit\Files" -Destination "C:\Downloads\RSAT_Win10_Offline\Files"

You should now see the AppDeploymentToolkit folder with files & the empty Files folder at “C:\Downloads\RSAT_Win10_Offline”

Next we’ll want to download and extract both the 32-bit & 64-bit .MSU installers for RSAT for Windows 10.

  • Navigate to: https://download.microsoft.com/download/1/D/8/1D8B5022-5477-4B9A-8104-6A71FF9D98AB/WindowsTH-RSAT_WS2016-x86.msu
  • Download the WindowsTH-RSAT_WS2016-x86.msu to a folder created at (C:\Downloads)
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads folder
  • Enter the following commands to extract the contents of the WindowsTH-RSAT_WS2016-x86.msu:
MKDIR C:\Downloads\RSAT_Win10_Offline\Files\x86
expand -f:* C:\Downloads\WindowsTH-RSAT_WS2016-x86.msu C:\Downloads\RSAT_Win10_Offline\Files\x86
  • Navigate to: https://download.microsoft.com/download/1/D/8/1D8B5022-5477-4B9A-8104-6A71FF9D98AB/WindowsTH-RSAT_WS2016-x64.msu
  • Download the WindowsTH-RSAT_WS2016-x64.msu to a folder created at (C:\Downloads)
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads folder
  • Enter the following commands to extract the contents of the WindowsTH-RSAT_WS2016-x64.msu:
MKDIR C:\Downloads\RSAT_Win10_Offline\Files\x64
expand -f:* C:\Downloads\WindowsTH-RSAT_WS2016-x64.msu C:\Downloads\RSAT_Win10_Offline\Files\x64

  • Copy the PowerShell script below to “C:\Downloads\RSAT_Win10_Offline & name it Deploy-RSAT_Win10_Offline.ps1
<#
.SYNOPSIS
	This script performs the installation or uninstallation of Remote Server Administration Tools (RSAT) for Windows 10.
	# LICENSE #
	PowerShell App Deployment Toolkit - Provides a set of functions to perform common application deployment tasks on Windows.
	Copyright (C) 2017 - Sean Lillis, Dan Cunningham, Muhammad Mashwani, Aman Motazedian.
	This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
	You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
.DESCRIPTION
	The script is provided as a template to perform an install or uninstall of an application(s).
	The script either performs an "Install" deployment type or an "Uninstall" deployment type.
	The install deployment type is broken down into 3 main sections/phases: Pre-Install, Install, and Post-Install.
	The script dot-sources the AppDeployToolkitMain.ps1 script which contains the logic and functions required to install or uninstall an application.
.PARAMETER DeploymentType
	The type of deployment to perform. Default is: Install.
.PARAMETER DeployMode
	Specifies whether the installation should be run in Interactive, Silent, or NonInteractive mode. Default is: Interactive. Options: Interactive = Shows dialogs, Silent = No dialogs, NonInteractive = Very silent, i.e. no blocking apps. NonInteractive mode is automatically set if it is detected that the process is not user interactive.
.PARAMETER AllowRebootPassThru
	Allows the 3010 return code (requires restart) to be passed back to the parent process (e.g. SCCM) if detected from an installation. If 3010 is passed back to SCCM, a reboot prompt will be triggered.
.PARAMETER TerminalServerMode
	Changes to "user install mode" and back to "user execute mode" for installing/uninstalling applications for Remote Destkop Session Hosts/Citrix servers.
.PARAMETER DisableLogging
	Disables logging to file for the script. Default is: $false.
.EXAMPLE
    PowerShell.exe .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Install" -DeployMode "NonInteractive"
.EXAMPLE
    PowerShell.exe .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Install" -DeployMode "Silent"
.EXAMPLE
    PowerShell.exe .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Install" -DeployMode "Interactive"
.EXAMPLE
    PowerShell.exe .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Uninstall" -DeployMode "NonInteractive"
.EXAMPLE
    PowerShell.exe .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Uninstall" -DeployMode "Silent"
.EXAMPLE
    PowerShell.exe .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Uninstall" -DeployMode "Interactive"
.NOTES
	Toolkit Exit Code Ranges:
	60000 - 68999: Reserved for built-in exit codes in Deploy-Application.ps1, Deploy-Application.exe, and AppDeployToolkitMain.ps1
	69000 - 69999: Recommended for user customized exit codes in Deploy-Application.ps1
	70000 - 79999: Recommended for user customized exit codes in AppDeployToolkitExtensions.ps1
.LINK
	http://psappdeploytoolkit.com
#>
[CmdletBinding()]
Param (
	[Parameter(Mandatory=$false)]
	[ValidateSet('Install','Uninstall','Repair')]
	[string]$DeploymentType = 'Install',
	[Parameter(Mandatory=$false)]
	[ValidateSet('Interactive','Silent','NonInteractive')]
	[string]$DeployMode = 'Interactive',
	[Parameter(Mandatory=$false)]
	[switch]$AllowRebootPassThru = $false,
	[Parameter(Mandatory=$false)]
	[switch]$TerminalServerMode = $false,
	[Parameter(Mandatory=$false)]
	[switch]$DisableLogging = $false
)

Try {
	## Set the script execution policy for this process
	Try { Set-ExecutionPolicy -ExecutionPolicy 'ByPass' -Scope 'Process' -Force -ErrorAction 'Stop' } Catch {}

	##*===============================================
	##* VARIABLE DECLARATION
	##*===============================================
	## Variables: Application
	[string]$appVendor = ''
	[string]$appName = 'Remote Server Administration Tools (RSAT) for Windows 10'
	[string]$appVersion = ''
	[string]$appArch = ''
	[string]$appLang = ''
	[string]$appRevision = ''
	[string]$appScriptVersion = '1.0.0'
	[string]$appScriptDate = 'XX/XX/20XX'
	[string]$appScriptAuthor = 'Jason Bergner'
	##*===============================================
	## Variables: Install Titles (Only set here to override defaults set by the toolkit)
	[string]$installName = ''
	[string]$installTitle = 'Remote Server Administration Tools (RSAT) for Windows 10'

	##* Do not modify section below
	#region DoNotModify

	## Variables: Exit Code
	[int32]$mainExitCode = 0

	## Variables: Script
	[string]$deployAppScriptFriendlyName = 'Deploy Application'
	[version]$deployAppScriptVersion = [version]'3.8.4'
	[string]$deployAppScriptDate = '26/01/2021'
	[hashtable]$deployAppScriptParameters = $psBoundParameters

	## Variables: Environment
	If (Test-Path -LiteralPath 'variable:HostInvocation') { $InvocationInfo = $HostInvocation } Else { $InvocationInfo = $MyInvocation }
	[string]$scriptDirectory = Split-Path -Path $InvocationInfo.MyCommand.Definition -Parent

	## Dot source the required App Deploy Toolkit Functions
	Try {
		[string]$moduleAppDeployToolkitMain = "$scriptDirectory\AppDeployToolkit\AppDeployToolkitMain.ps1"
		If (-not (Test-Path -LiteralPath $moduleAppDeployToolkitMain -PathType 'Leaf')) { Throw "Module does not exist at the specified location [$moduleAppDeployToolkitMain]." }
		If ($DisableLogging) { . $moduleAppDeployToolkitMain -DisableLogging } Else { . $moduleAppDeployToolkitMain }
	}
	Catch {
		If ($mainExitCode -eq 0){ [int32]$mainExitCode = 60008 }
		Write-Error -Message "Module [$moduleAppDeployToolkitMain] failed to load: `n$($_.Exception.Message)`n `n$($_.InvocationInfo.PositionMessage)" -ErrorAction 'Continue'
		## Exit the script, returning the exit code to SCCM
		If (Test-Path -LiteralPath 'variable:HostInvocation') { $script:ExitCode = $mainExitCode; Exit } Else { Exit $mainExitCode }
	}

	#endregion
	##* Do not modify section above
	##*===============================================
	##* END VARIABLE DECLARATION
	##*===============================================

	If ($deploymentType -ine 'Uninstall' -and $deploymentType -ine 'Repair') {
		##*===============================================
		##* PRE-INSTALLATION
		##*===============================================
		[string]$installPhase = 'Pre-Installation'

		## Show Welcome Message
		Show-InstallationWelcome

        ## Show Progress Message
        Show-InstallationProgress
   
		##*===============================================
		##* INSTALLATION
		##*===============================================
		[string]$installPhase = 'Installation'

        If ($ENV:PROCESSOR_ARCHITECTURE -eq 'x86'){
        Write-Log -Message "Detected 32-bit OS Architecture." -Severity 1 -Source $deployAppScriptFriendlyName

        ## Install Remote Server Administration Tools for Windows 10 on x86-based Systems
        $CABx86 = Get-ChildItem -Path "$dirFiles\x86" -Include WindowsTH-KB2693643-x86.cab -File -Recurse -ErrorAction SilentlyContinue
        If($CABx86.Exists)
        {
        Write-Log -Message "Found $($CABx86.FullName), now attempting to install Remote Server Administration Tools for Windows 10 Version 1803 and earlier on x86-based Systems."
        Show-InstallationProgress "Installing Remote Server Administration Tools for Windows 10 on x86-based Systems. This may take some time. Please wait..."
        Execute-Process -Path "$envSystem32Directory\DISM.exe" -Parameters "/LogPath:C:\Windows\Logs\Software\RSAT-Install.log /LogLevel:4 /Online /Add-Package /PackagePath:""$CABx86"" /Quiet /NoRestart" -WindowStyle Hidden
        }
        }
      
        Else
        {
        Write-Log -Message "Detected 64-bit OS Architecture" -Severity 1 -Source $deployAppScriptFriendlyName

        ## Install Remote Server Administration Tools for Windows 10 on x64-based Systems
        $CABx64 = Get-ChildItem -Path "$dirFiles\x64" -Include WindowsTH-KB2693643-x64.cab -File -Recurse -ErrorAction SilentlyContinue
        If($CABx64.Exists)
        {
        Write-Log -Message "Found $($CABx64.FullName), now attempting to install Remote Server Administration Tools for Windows 10 Version 1803 and earlier on x64-based Systems."
        Show-InstallationProgress "Installing Remote Server Administration Tools for Windows 10 on x64-based Systems. This may take some time. Please wait..."
        Execute-Process -Path "$envSystem32Directory\DISM.exe" -Parameters "/LogPath:C:\Windows\Logs\Software\RSAT-Install.log /LogLevel:4 /Online /Add-Package /PackagePath:""$CABx64"" /Quiet /NoRestart" -WindowStyle Hidden
        }
        }
       
		##*===============================================
		##* POST-INSTALLATION
		##*===============================================
		[string]$installPhase = 'Post-Installation'

	}
	ElseIf ($deploymentType -ieq 'Uninstall')
	{
		##*===============================================
		##* PRE-UNINSTALLATION
		##*===============================================
		[string]$installPhase = 'Pre-Uninstallation'

		## Show Welcome Message
		Show-InstallationWelcome

        ## Show Progress Message (With a Message to Indicate the Application is Being Uninstalled)
        Show-InstallationProgress -StatusMessage "Uninstalling $installTitle. Please Wait..."


		##*===============================================
		##* UNINSTALLATION
		##*===============================================
		[string]$installPhase = 'Uninstallation'

        If ((Get-Hotfix -Id KB2693643 -ErrorAction SilentlyContinue)) {
        Write-Log -Message "Uninstalling the RSAT Windows Update (KB2693643)."

        $SearchUpdates = DISM /Online /Get-Packages | findstr "Microsoft-Windows-RemoteServerAdministrationTools-Client-Package-TopLevel"
        $PackageId = $SearchUpdates.replace("Package Identity : ", "")
        Execute-Process -Path "$envSystem32Directory\DISM.exe" -Parameters "/LogPath:C:\Windows\Logs\Software\RSAT-Uninstall.log /LogLevel:4 /Online /Remove-Package /PackageName:$PackageId /Quiet /NoRestart" -WindowStyle Hidden
        }


		##*===============================================
		##* POST-UNINSTALLATION
		##*===============================================
		[string]$installPhase = 'Post-Uninstallation'


	}
	ElseIf ($deploymentType -ieq 'Repair')
	{
		##*===============================================
		##* PRE-REPAIR
		##*===============================================
		[string]$installPhase = 'Pre-Repair'


		##*===============================================
		##* REPAIR
		##*===============================================
		[string]$installPhase = 'Repair'


		##*===============================================
		##* POST-REPAIR
		##*===============================================
		[string]$installPhase = 'Post-Repair'


    }
	##*===============================================
	##* END SCRIPT BODY
	##*===============================================

	## Call the Exit-Script function to perform final cleanup operations
	Exit-Script -ExitCode $mainExitCode
}
Catch {
	[int32]$mainExitCode = 60001
	[string]$mainErrorMessage = "$(Resolve-Error)"
	Write-Log -Message $mainErrorMessage -Severity 3 -Source $deployAppScriptFriendlyName
	Show-DialogBox -Text $mainErrorMessage -Icon 'Stop'
	Exit-Script -ExitCode $mainExitCode
}

Ok, all the hard work is done and now you can install or uninstall RSAT for Windows 10 (Offline) using one single PowerShell script. Simply change the DeploymentType parameter to install or uninstall. Logging functionality is built-in automatically and you can view the log files under “C:\Windows\Logs\Software”.


RSAT for Windows 10 (Offline) NonInteractive Install (PowerShell)

NonInteractive means Very Silent, i.e. no blocking apps. This is automatically set if it is detected that the process is not running in the user session and it is not possible for anyone to provide input using a mouse or keyboard.

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Downloads\RSAT_Win10_Offline”
    • PS C:\Downloads\RSAT_Win10_Offline>
  • Enter the following command:
Powershell.exe -ExecutionPolicy Bypass .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Install" -DeployMode "NonInteractive"

RSAT for Windows 10 (Offline) Silent Install (PowerShell)

Silent means no dialogs (progress and balloon tip notifications are suppressed).

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Downloads\RSAT_Win10_Offline
    • PS C:\Downloads\RSAT_Win10_Offline>
  • Enter the following command:
Powershell.exe -ExecutionPolicy Bypass .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Install" -DeployMode "Silent"

RSAT for Windows 10 (Offline) Interactive Install (PowerShell)

Interactive means the install will show dialogs including progress and balloon tip notifications.

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Downloads\RSAT_Win10_Offline”
    • PS C:\Downloads\RSAT_Win10_Offline>
  • Enter the following command:
Powershell.exe -ExecutionPolicy Bypass .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Install" -DeployMode "Interactive"

How to Uninstall RSAT for Windows 10 (Offline) Using the PowerShell App Deployment Toolkit

RSAT for Windows 10 (Offline) NonInteractive Uninstall (PowerShell)

NonInteractive means Very Silent, i.e. no blocking apps. This is automatically set if it is detected that the process is not running in the user session and it is not possible for anyone to provide input using a mouse or keyboard.

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Downloads\RSAT_Win10_Offline
    • PS C:\Downloads\RSAT_Win10_Offline>
  • Enter the following command:
Powershell.exe -ExecutionPolicy Bypass .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Uninstall" -DeployMode "NonInteractive"

RSAT for Windows 10 (Offline) Silent Uninstall (PowerShell)

Silent means no dialogs (progress and balloon tip notifications are suppressed).

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Downloads\RSAT_Win10_Offline
    • PS C:\Downloads\RSAT_Win10_Offline>
  • Enter the following command:
Powershell.exe -ExecutionPolicy Bypass .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Uninstall" -DeployMode "Silent"

RSAT for Windows 10 (Offline) Interactive Uninstall (PowerShell)

Interactive means the install will show dialogs including progress and balloon tip notifications.

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Downloads\RSAT_Win10_Offline
    • PS C:\Downloads\RSAT_Win10_Offline>
  • Enter the following command:
Powershell.exe -ExecutionPolicy Bypass .\Deploy-RSAT_Win10_Offline.ps1 -DeploymentType "Uninstall" -DeployMode "Interactive"

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

IMPORTANT: Starting with Windows 10 October 2018 Update, RSAT is included as a set of «Features on Demand» in Windows 10 itself. See «Install Instructions» below for details, and «Additional Information» for recommendations and troubleshooting. RSAT lets IT admins manage Windows Server roles and features from a Windows 10 PC.

  • Remote Server Administration Tools for Windows 10 includes Server Manager, Microsoft Management Console (MMC) snap-ins, consoles, Windows PowerShell cmdlets and providers, and command-line tools for managing roles and features that run on Windows Server.

    IMPORTANT: Starting with Windows 10 October 2018 Update, add RSAT tools right from Windows 10. Just go to «Manage optional features» in Settings and click «Add a feature» to see the list of available RSAT tools.

    The downloadable packages above can still be used to install RSAT on Windows 10 versions prior to the October 2018 Update.

  • **Remote Server Administration Tools for Windows 10 can be installed ONLY on computers that are running the full release of Windows 10 Professional, Windows 10 Enterprise, or Windows 10 Education.** Remote Server Administration Tools cannot be installed on Windows RT, computers with an Advanced RISC Machine (ARM) architecture, or other system-on-chip devices.

    Remote Server Administration Tools for Windows 10 runs on both x86- and x64-based editions of the full release of Windows 10, Professional, Enterprise or Education editions. Download and install the version that matches the architecture of the computer on which you plan to install the administration tools. If you are not sure whether your computer is x86- or x64-based, see How to determine whether a computer is running a 32-bit version or 64-bit version of the Windows operating system.

    Remote Server Administration Tools for Windows 10 is available in the following languages: cs-CZ, de-DE, en-US, es-ES, fr-FR, hu-HU, it-IT, ja-JP, ko-KR, nl-NL, pl-PL, pt-BR, pt-PT, ru-RU, sv-SE, tr-TR, zh-CN, and zh-TW. If the system UI language of your Windows 10 operating system does not match any of the available RSAT languages, you must first install a Windows 10 Language Pack for a language that is supported by RSAT, and then try installing Remote Server Administration Tools for Windows 10 again.

    IMPORTANT: Remove all older versions of Administration Tools Pack or Remote Server Administration Tools—including older prerelease versions, and releases of the tools for different languages or locales—from the computer before you install Remote Server Administration Tools for Windows 10. Only one copy at a time of Remote Server Administration Tools can be installed on a computer. If you have upgraded to Windows 10 from an older release of Windows, you will need to install Remote Server Administration Tools for Windows 10 on the computer; no earlier releases of Remote Server Administration Tools are still installed on a computer that you have upgraded to Windows 10.

    Remote Server Administration Tools for Windows 10 includes support for remote management of computers that are running Windows Server. It can be installed on Windows 10, but it cannot be installed on Windows Server.

    Earlier releases of Remote Server Administration Tools (such as those for Windows 8.1) are not available—nor do they run—on Windows 10.

    Server Manager is included with Remote Server Administration Tools for Windows 10; GUI-based tools that are part of this release of Remote Server Administration Tools can be opened by using commands on the Tools menu of the Server Manager console. To use Server Manager to access and manage remote servers that are running Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, or Windows Server 2012 R2, you must install several updates on the older operating systems. For more information about requirements for using Server Manager to manage remote servers, see Manage multiple, remote servers with Server Manager.

  • NOTE: Please refer to the «Additional Information» section below for troubleshooting and known issue.

    ———-

    To install specific RSAT tools on Windows 10 October 2018 Update or later

    Starting with Windows 10 October 2018 Update, RSAT is included as a set of «Features on Demand» right from Windows 10. Do not download an RSAT package from this page. Instead, just go to «Manage optional features» in Settings and click «Add a feature» to see the list of available RSAT tools. Select and install the specific RSAT tools you need. To see installation progress, click the Back button to view status on the «Manage optional features» page.

    See the list of RSAT tools available via Features on Demand. In addition to installing via the graphical Settings app, you can also install specific RSAT tools via command line or automation using DISM /Add-Capability.

    One benefit of Features on Demand is that installed features persist across Windows 10 version upgrades!

    To uninstall specific RSAT tools on Windows 10 October 2018 Update or later

    On Windows 10, open the Settings app, go to «Manage optional features», select and uninstall the specific RSAT tools you wish to remove. Note that in some cases, you will need to manually uninstall dependencies. Specifically, if RSAT tool A is needed by RSAT tool B, then choosing to uninstall RSAT tool A will fail if RSAT tool B is still installed. In this case, uninstall RSAT tool B first, and then uninstall RSAT tool A. Also note that in some cases, uninstalling an RSAT tool may appear to succeed even though the tool is still installed. In this case, restarting the PC will complete the removal of the tool.

    See the list of RSAT tools including dependencies. In addition to uninstalling via the graphical Settings app, you can also uninstall specific RSAT tools via command line or automation using DISM /Remove-Capability.

    ———-

    To install RSAT for Windows 10 (prior to the October 2018 Update)

    IMPORTANT: You can install Remote Server Administration Tools for Windows 10 only on the full release of Windows 10 Professional or Windows 10 Enterprise.

    1. Download the Remote Server Administration Tools for Windows 10 package that is appropriate for your computer’s architecture. You can either run the installer from the Download Center website, or save the download package to a local computer or share. If you save the download package to a local computer or share, double-click the installer program, WindowsTH-RSAT_WS_1803-x64.msu or WindowsTH-RSAT_WS_1803-x86.msu, depending on the architecture of the computer on which you want to install the tools.
    2. When you are prompted by the Windows Update Standalone Installer dialog box to install the update, click Yes.
    3. Read and accept the license terms. Click I accept. Installation requires a few minutes to finish.

    NOTE: All tools are enabled by default. You do not need to open Turn Windows features on or off in Windows 10 to enable tools that you want to use.

    To turn off specific tools (prior to the October 2018 Update) (not available on RSAT versions 1709 or 1803)

    1. On the desktop, click Start, click All Apps, click Windows System, and then click Control Panel.
    2. Click Programs, and then in Programs and Features, click Turn Windows features on or off.
    3. In the Windows Features dialog box, expand Remote Server Administration Tools, and then expand either Role Administration Tools or Feature Administration Tools.
    4. Clear the check boxes for any tools that you want to turn off. Note that if you turn off Server Manager, the computer must be restarted, and tools that were accessible from the Tools menu of Server Manager must be opened from the Administrative Tools folder.
    5. When you are finished turning off tools that you do not want to use, click OK.

    To uninstall RSAT for Windows 10 (prior to the October 2018 Update)

    1. On the desktop, click Start, click All Apps, click Windows System, and then click Control Panel.
    2. Under Programs, click Uninstall a program.
    3. Click View installed updates.
    4. Right-click Update for Microsoft Windows (KB2693643), and then click Uninstall.
    5. When you are asked if you are sure you want to uninstall the update, click Yes.

Remote Server Administration Tools, or RSAT for short, help us remotely manage a company’s Windows Servers. Once installed, you will have a lot of management tools on your workstation such as Server Manager, Active Directory tools, DNS, Group Policy, FSRM, DFS, etc. Particularly useful for managing Core editions of Windows Server.

RSAT tools are available for free from Microsoft for 32-bit and 64-bit versions of Windows 10 Pro, Enterprise, and Education. You can not install them in the Home version of Windows 10. RSAT is only available in English. For this reason, you will need to have the English language pack (En – United States) installed on your computer before proceeding with the installation. Otherwise, the installation will be completed but the RSAT list of Windows Features will not be displayed.

Before you install the latest version you will need to uninstall any previous one on your computer. You can do this through the Windows Update history.

First, go to Microsoft’s website to download the latest version of Remote Server Administration Tools (RSAT) for Windows 10 by choosing between 32-bit and 64-bit installer. In this case, I downloaded the WindowsTH-RSAT-WS2016-x64.msu file which is slightly less than 100 MB.

At this point, I should note that Microsoft suggests:

  • Install the RSAT_WS_1709 package when you manage Windows Servers running version 1709
  • Install the RSAT_WS2016 package when you manage Windows Server running an older version from 1709

Once you run the installer, you will need to confirm that you want the installation to proceed by clicking on the Yes button.

Install Remote Server Administration Tools (RSAT) in Windows 10

Click I Accept to continue.

Install Remote Server Administration Tools (RSAT) in Windows 10

The installation is in progress, you will need to wait a few minutes.

Install Remote Server Administration Tools (RSAT) in Windows 10

The installation is now completed.

As you will see, the Windows Administrative Tools folder has all the tools for managing Windows Server.

Install Remote Server Administration Tools (RSAT) in Windows 10

To remove one or more RSAT tools, you can do so through the ‘Turn Windows Features on or of’ window’ of Windows 10. If RSAT does not appear on this list, Microsoft recommends that you install the Windows Server installation package (RSAT_WS2016). You will need to do the same if the DNS management tool does not appear.

In Windows 10, installing the Hyper-V tools does not automatically install RSAT. So, to manage a Hyper-V host from your computer, you’ll need to enable Hyper-V Management Tools from the Windows Features window.

Install Remote Server Administration Tools (RSAT) in Windows 10

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

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Windows 2000 professional оригинальный образ
  • Программа перебора паролей wifi для windows
  • Посоветуйте браузер для windows 7
  • Eve ng образ windows
  • Активация службы удаленных рабочих столов windows server 2016