Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...

Downloads:
105,331
Downloads of v 2.1809.0.20200703:
16,088
Last Update:
03 Jul 2020
Package Maintainer(s):
Software Author(s):
- Microsoft
Tags:
rsat Windows adminpak server features- Software Specific:
- Software Site
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download

Remote Server Administration Tools
- Software Specific:
- Software Site
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
105,331
Downloads of v 2.1809.0.20200703:
16,088
Maintainer(s):
Software Author(s):
- Microsoft
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
All Checks are Passing
2 Passing Test
To install Remote Server Administration Tools, run the following command from the command line or from PowerShell:
To upgrade Remote Server Administration Tools, run the following command from the command line or from PowerShell:
To uninstall Remote Server Administration Tools, run the following command from the command line or from PowerShell:
NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download rsat --internalize --source=https://chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade rsat -y --source="'STEP 3 URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade rsat -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Ensure rsat installed
win_chocolatey:
name: rsat
state: present
version: 2.1809.0.20200703
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
Coming early 2020! Central Managment Reporting available now! More information...
chocolatey_package 'rsat' do
action :install
version '2.1809.0.20200703'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: rsat,
Version: 2.1809.0.20200703,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller rsat
{
Name = 'rsat'
Ensure = 'Present'
Version = '2.1809.0.20200703'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'rsat':
provider => 'chocolatey',
ensure => '2.1809.0.20200703',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install rsat version="2.1809.0.20200703" source="STEP 3 URL"
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved as a trusted package on 03 Jul 2020.
Remote Server Administration Tools (RSAT) enables IT administrators to remotely manage roles and features in versions of Windows Server since 2008 R2 from a computer that is running Windows 10, Windows 8.1, Windows 8, Windows 7, or Windows Vista.
Notes
RSAT will install only on Business, Ultimate, Professional, Education, or Enterprise (or LTSB/LTSC) editions of Windows. You cannot install RSAT on computers that are running Home or Standard editions of Windows.
For Windows Vista and Windows 7, the individual tools for the roles and features must be enabled after you install RSAT.
This package will install the latest version of RSAT for the running Windows OS unless it is Windows 10 AND the
Server
package parameter is used as follows:choco install rsat -params '"/Server:2016"'
Windows 10 (pre-1809) RSAT version recommendations:
- use the latest (default) when managing Windows Server, version 1803 or 1709 (Both
1803
and1709
are available if needed.) - use
2016
when managing Windows Server 2016 or previous versions
Windows 10 release 1809+
With the September 2018 release of Windows, RSAT is no longer a single install nor is it associated with a specific server version. Each of the RSAT features are separately available through Features on Demand. This package should allow for download and installation of some or all of the RSAT features. The /server
parameter (above) is ignored here, and all the (20+) available RSAT features will be installed unless you choose one or more of the most common features using the following parameters:
/AD
- Install the Active Directory Management feature./GP
- Install the Group Policy Management feature./SM
- Install the Server Manager feature./CS
- Install the Certificate Services feature./RD
- Install the Remote Desktop Management feature./FS
- Install the File Services Management feature./DNS
- Install the Domain Name Services Management feature./DHCP
- Install the DHCP Management feature./WSUS
- Install the WSUS Management feature./BL
- Install the BitLocker Drive Encryption Administration Utilities feature.
Example: choco install rsat -params '"/AD /GP /DHCP"'
$ErrorActionPreference = 'Stop'
$1809Build = 17763
$osInfo = Get-WmiObject Win32_OperatingSystem | Select-Object Version, ProductType, Caption, OperatingSystemSKU, BuildNumber
Write-host "Detected: $($osInfo.Caption)" -ForegroundColor Cyan
$osInfo.Version = [version]$osInfo.Version
if ($osInfo.Version -lt [version]'6.0') {
Throw 'The Remote System Administration Toolkit (RSAT) requires Windows Vista or later.'
}
elseif ($osInfo.ProductType -ne 1) {
Write-Warning 'The Remote System Administration Toolkit (RSAT) is built into Windows Server, so no need for an actual install.'
Return
}
# See here for determining the edition of Windows via SKU:
# https://superuser.com/questions/1328506/windows-edition-on-non-english-systems
# The list below are the valid SKUs for Windows editions that can have RSAT
elseif ((1,4,6,16,27,28,48,49,70,72,84,103,121,122,125,126,129,130,133,161,162) -notcontains ($osInfo.OperatingSystemSKU)) {
Throw 'The Remote System Administration Toolkit (RSAT) can only install on Professional, Enterprise, or Education editions of Windows.'
}
$web = New-Object Net.WebClient
if ($osInfo.Version.Major -eq 6) {
switch ($osInfo.Version.Minor) {
0 { # Vista
If (Get-OSArchitectureWidth -eq 64) {
Throw 'Vista x64 is not supported.'; return
}
$html = $web.DownloadString('https://www.microsoft.com/download/confirmation.aspx?id=21090')
$Checksum = '507c857b6a7cb15abaa36730b57d65487587ea62d7cf73f7b24542c1ef70038a' }
1 { # Win7
$html = $web.DownloadString('https://www.microsoft.com/download/confirmation.aspx?id=7887')
$Checksum = 'fcc36f0686f23bf57b0c719dfc86b06e8d2b501f93a08ed81704d15ab1726b41'
$Checksum64 = '1d9f49878fff72d9954ec58cf10b72d8edc3d9126c10b1c4155b7912e2450f3c' }
2 { # Win8
$html = $web.DownloadString('https://www.microsoft.com/download/confirmation.aspx?id=28972')
$Checksum = '050aefe2568de7e9e28d75c6752a8287cbbb0f2a0f2be5dd0e0c75ba29aff941'
$Checksum64 = '9799352c104d56a3bb7e5f931dadb4aa3361fce3d41be23699787a23347f207a' }
3 { # Win8.1
$html = $web.DownloadString('https://www.microsoft.com/download/confirmation.aspx?id=39296')
$Checksum = 'eb62cfabdc0c3231a1ba2d5310f4ff1daf6294b89b143cc10b255becb1da5b75'
$Checksum64 = 'dea5540a59e018e04e088afb2aa326fb690d27a983fd3cbffefbfcfdde20a47d' }
}
} elseif ($osInfo.Version.Major -eq 10) { # Windows 10
$pp = Get-PackageParameters
if ($osInfo.BuildNumber -lt $1809Build) {
switch ($pp.Server) {
'2016' { $WS = '2016'
$Checksum = '6d46ef85cb63cf5c949706b7890bc1bb56a8c30506700262fe5ef4999b7380f3'
$Checksum64 = '4aeb716f301783e56739f9b0a361e2aa4f1e1d6b947b76c1d61af70b0ff0b4c7' }
'1709' { $WS = '1709'
$Checksum = 'b62f131993908e24f093c8d630b84d49a829d9f7922dab17aa2f42867b096c43'
$Checksum64 = '72b34e1bef5c790081ffda24e18a5eb3cbe26944baee604aae0deddd8bfe6ebc' }
default { $WS = '1803'
$Checksum = '968c20e6492b89fe72fe1cf496b90b7106492258a02d1333a6aa810be7cf5b49'
$Checksum64 = '3908b653c8bc5567684ab2779ee110dc2c0d56d2a33a329fe5460ecce55aaebe' }
}
$html = $web.DownloadString('https://www.microsoft.com/download/confirmation.aspx?id=45520')
Write-Host "Installing tools for managing Windows Server $WS." -ForegroundColor Cyan
}
}
If (($osInfo.Version.Major -ne 10) -or ($osInfo.BuildNumber -lt $1809Build)) {
$urls = select-string '"https[^"]*msu"' -input $html -AllMatches |
ForEach-Object {$_.matches} |
ForEach-Object {$_.value.trim('"')} |
Select-Object -unique |
Where-Object {$_ -match "WS_?$WS"}
$url = $urls | where-Object {$_ -match 'x86' }
$url64 = $urls | where-Object {$_ -match 'x64' }
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
FileType = 'msu'
Url = $url
Url64bit = $url64
Checksum = $Checksum
Checksum64 = $Checksum64
ChecksumType = 'sha256'
SilentArgs = '/quiet /norestart'
ValidExitCodes= @(0,3010,-2146233087,2359302)
}
Install-ChocolateyPackage @packageArgs
} else {
# Based on https://gallery.technet.microsoft.com/Install-RSAT-for-Windows-75f5f92f
$WSUSKey = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU'
if (Test-Path $WSUSKey) {
$Save = (Get-ItemProperty -Path $WSUSKey -Name 'UseWUServer' -ErrorAction SilentlyContinue).UseWUServer
Set-ItemProperty -Path $WSUSKey -Name 'UseWUServer' -Value 0
Restart-Service wuauserv
}
$WhereArray = @()
if ($pp.AD) {$WhereArray += '($_.Name -like "Rsat.ActiveDirectory*")'}
if ($pp.GP) {$WhereArray += '($_.Name -like "Rsat.GroupPolicy*")'}
if ($pp.SM) {$WhereArray += '($_.Name -like "Rsat.ServerManager*")'}
if ($pp.CS) {$WhereArray += '($_.Name -like "Rsat.CertificateServices*")'}
if ($pp.RD) {$WhereArray += '($_.Name -like "Rsat.RemoteDesktop*")'}
if ($pp.FS) {$WhereArray += '($_.Name -like "Rsat.FileServices*")'}
if ($pp.DNS) {$WhereArray += '($_.Name -like "Rsat.DNS*")'}
if ($pp.DHCP) {$WhereArray += '($_.Name -like "Rsat.DHCP*")'}
if ($pp.WSUS) {$WhereArray += '($_.Name -like "Rsat.WSUS*")'}
if ($pp.BL) {$WhereArray += '($_.Name -like "Rsat.BitLocker*")'}
if ($WhereArray.count -eq 0) {
$WhereArray += '$_.Name -like "Rsat*"'
}
$WhereString = '$_.State -eq "NotPresent" -AND (' + ($WhereArray -join ' -OR ') + ')'
$Tools = Get-WindowsCapability -Online | Where-Object $([scriptblock]::Create($WhereString))
foreach ($Item in $Tools) {
try {
Write-Host "`nAdding $($Item.Name) to Windows"
$DISMobject = Add-WindowsCapability -Online -Name $Item.Name
if ($DISMobject.RestartNeeded) {
Write-Warning "A reboot is required."
}
}
catch { Write-Warning -Message $_.Exception.Message; break }
}
Write-Host "`n"
Write-Verbose "Windows Feature install log is at $($DISMobject.LogPath)"
if (Test-Path $WSUSKey) {
If ($Save -ne $null) {
Set-ItemProperty -Path $WSUSKey -Name 'UseWUServer' -Value $Save
} else {
Remove-ItemProperty -Path $WSUSKey -Name 'UseWUServer' -Force
}
Restart-Service wuauserv
}
}
$ErrorActionPreference = 'Stop'
$osInfo = Get-WmiObject Win32_OperatingSystem | Select-Object Version, ProductType, Caption, OperatingSystemSKU, BuildNumber
$osInfo.Version = [version]$osInfo.Version
if ($osInfo.ProductType -ne 1) {
Write-Warning 'The Remote System Administration Toolkit (RSAT) is built into Windows Server, so it cannot be uninstalled.'
Return
}
If (($osInfo.Version.Major -ne 10) -or ($osInfo.BuildNumber -lt 17763)) {
$packages = & "$env:windir\system32\dism.exe" /online /get-packages |
Select-String -Pattern 'rsat|RemoteServerAdministrationTools' -AllMatches |
ForEach-Object {$_.line.split(':')[-1].trim()}
foreach ($package in $packages) {
& "$env:windir\system32\dism.exe" /Online /Remove-Package /NoRestart /PackageName:$package
if ($LASTEXITCODE) {
throw "Error $LASTEXITCODE trying to remove $package`nYou may need to reboot first."
}
}
} else {
# Apparently, some features must be removed after others.
$WhereArray = @()
$WhereArray += '($_.Name -notlike "Rsat.ActiveDirectory*")'
$WhereArray += '($_.Name -notlike "Rsat.GroupPolicy*")'
$WhereArray += '($_.Name -notlike "Rsat.ServerManager*")'
$WhereString = '($_.Name -like "Rsat*") -AND ($_.State -eq "Installed") -AND ' + ($WhereArray -join ' -AND ')
$Installed = Get-WindowsCapability -Online | Where-Object $([scriptblock]::Create($WhereString))
foreach ($Item in $Installed) {
try {
Write-Host "`nRemoving $($Item.Name) from Windows"
$DISMobject = Remove-WindowsCapability -Online -Name $Item.Name
if ($DISMobject.RestartNeeded) {
Write-Warning "A reboot is required."
}
} catch {
Write-Warning -Message $_.Exception.Message; break
}
}
# Go back and remove the rest.
$Installed = Get-WindowsCapability -Online | Where-Object {$_.Name -like 'Rsat*' -AND $_.State -eq 'Installed'}
foreach ($Item in $Installed) {
try {
Write-Host "`nRemoving $($Item.Name) from Windows"
$DISMobject = Remove-WindowsCapability -Online -Name $Item.Name
if ($DISMobject.RestartNeeded) {
Write-Warning "A reboot is required."
}
} catch {
Write-Warning -Message $_.Exception.Message; break
}
}
}
Write-Warning 'It is recommended that you restart the computer.'
Log in or click on link to see number of positives.
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Version | Downloads | Last Updated | Status |
---|---|---|---|
Remote Server Administration Tools 2.1809.0.20200703 | 16088 | Friday, July 3, 2020 | Approved |
Remote Server Administration Tools 2.1809.0.20200528 | 5023 | Thursday, May 28, 2020 | Approved |
Remote Server Administration Tools 2.1809.0.20190205 | 45697 | Wednesday, February 6, 2019 | Approved |
Remote Server Administration Tools 2.1809.0.20190111 | 951 | Monday, January 28, 2019 | Approved |
Remote Server Administration Tools 2.1809 | 3176 | Wednesday, December 12, 2018 | Approved |
Remote Server Administration Tools 2.1803.0.201806011 | 6703 | Monday, June 11, 2018 | Approved |
Remote Server Administration Tools 2.1803.0.20180604 | 1255 | Monday, June 4, 2018 | Approved |
Remote Server Administration Tools 2.1803.0.20180601 | 459 | Friday, June 1, 2018 | Approved |
Remote Server Administration Tools 2.1803 | 705 | Thursday, May 31, 2018 | Approved |
rsat (Install) 2.1 | 14041 | Monday, November 13, 2017 | Approved |
rsat (Install) 2.0 | 2037 | Tuesday, August 29, 2017 | Approved |
Copyright © Microsoft
This package has no dependencies.
Ground Rules:
- This discussion is only about Remote Server Administration Tools and the Remote Server Administration Tools package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Remote Server Administration Tools, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.