Notices: This section not yet converted to new layout. Download stats are rolling back out.

Remote Server Administration Tools

1.0.7

Package test results are passing.

This package was approved by moderator flcdrg on 7/18/2017.

The Remote Server Administration Tools (RSAT) pack is a feature that is
included with Windows Server Operation systems. For Windows Vista and
later workstation operating systems, an addon MSU may be downloaded with the RSAT. This package installs
that MSU.

_

This package install the latest RSAT (24/01/2017) [if Microsoft doesn't change the url this package always installs the latest version of RSAT]

_

Thank Steven Magelio and Andrew M for the valid exit code
Thank Bill C and Sio_nc for the update link

To install Remote Server Administration Tools, run the following command from the command line or from PowerShell:

C:\> choco install rsat

To upgrade Remote Server Administration Tools, run the following command from the command line or from PowerShell:

C:\> choco upgrade rsat

Files

Hide
  • tools\ChocolateyInstall.ps1 Show
    $package = 'RSAT'
    $osInfo = Get-WmiObject Win32_OperatingSystem | SELECT Version, ProductType, Caption
    $osInfo.Version = [version] $osInfo.Version
    
    if ($osInfo.Version -lt [version]'6.0') {
        Write-Host 'The Remote System Administration Tool (RSAT) requires Windows Vista, Windows 2008 Server or later.'
        return
    }
    elseif ($osInfo.ProductType -ne 1) {
        Write-Host 'The RSAT is built into Windows server OSes, making this effectively a stub package'
    }
    else {
        if ($osInfo.Version.Major -eq 6) {
            if ($osInfo.Version.Minor -eq 0) {
                $url = 'http://download.microsoft.com/download/3/0/1/301EC38B-D8BD-40CD-A3B8-3A514A553BE8/Windows6.0-KB941314-x86_en-US.msu'
                $url64 = 'http://download.microsoft.com/download/6/7/3/673608E6-FAC4-4601-9443-6067FF432D98/Windows6.0-KB941314-x64_en-US.msu'
            }
            elseif ($osInfo.Version.Minor -eq 1) {
                $url = 'http://download.microsoft.com/download/4/F/7/4F71806A-1C56-4EF2-9B4F-9870C4CFD2EE/Windows6.1-KB958830-x86-RefreshPkg.msu'
                $url64 = 'http://download.microsoft.com/download/4/F/7/4F71806A-1C56-4EF2-9B4F-9870C4CFD2EE/Windows6.1-KB958830-x64-RefreshPkg.msu'
            }
            elseif ($osInfo.Version.Minor -eq 2) {
                $url = 'http://download.microsoft.com/download/4/3/F/43FAC524-F605-426E-A2AE-EAD03D264FDE/Windows6.2-KB2693643-x86.msu'
                $url64 = 'http://download.microsoft.com/download/4/3/F/43FAC524-F605-426E-A2AE-EAD03D264FDE/Windows6.2-KB2693643-x64.msu'
            }
    		elseif ($osInfo.Version.Minor -eq 3) {
                $url = 'http://download.microsoft.com/download/1/8/E/18EA4843-C596-4542-9236-DE46F780806E/Windows8.1-KB2693643-x86.msu'
                $url64 = 'http://download.microsoft.com/download/1/8/E/18EA4843-C596-4542-9236-DE46F780806E/Windows8.1-KB2693643-x64.msu'
            }
            $chocTempDir = Join-Path $env:TEMP "chocolatey"
            $tempDir = Join-Path $chocTempDir "$package"
            if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir) | Out-Null}
            $file = Join-Path $tempDir "$($packageName).msu"
            Get-ChocolateyWebFile $package $file $url $url64
            Start-ChocolateyProcessAsAdmin @($file, '/quiet', '/norestart') 'wusa.exe' -validExitCodes @(0,3010,-2146233087)
        }
    	elseif ($osInfo.Version.Major -eq 10) {
            if ($osInfo.Version.Minor -eq 0) {
                $url = 'https://download.microsoft.com/download/1/D/8/1D8B5022-5477-4B9A-8104-6A71FF9D98AB/WindowsTH-RSAT_WS2016-x86.msu'
                $url64 = 'https://download.microsoft.com/download/1/D/8/1D8B5022-5477-4B9A-8104-6A71FF9D98AB/WindowsTH-RSAT_WS2016-x64.msu'
            }
            $chocTempDir = Join-Path $env:TEMP "chocolatey"
            $tempDir = Join-Path $chocTempDir "$package"
            if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir) | Out-Null}
            $file = Join-Path $tempDir "$($packageName).msu"
            Get-ChocolateyWebFile $package $file $url $url64
            Start-ChocolateyProcessAsAdmin @($file, '/quiet', '/norestart') 'wusa.exe' -validExitCodes @(0,3010,-2146233087,2359302)
        }
    }
    

Virus Scan Results

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.

Dependencies

This package has no dependencies.

Maintainer(s)

Software Author(s)

  • Microsoft

Copyright

Copyright 2009-2016 Microsoft

Tags

Release Notes

Update RSAT link and add missing tag

Version History

Version Downloads Last updated Status
Remote Server Administration Tools 1.0.6 1451 Tuesday, October 4, 2016 approved
RSAT 1.0.5 1032 Friday, April 22, 2016 approved
RSAT 1.0.4 89 Friday, April 22, 2016 approved
RSAT 1.0.3 1191 Thursday, March 19, 2015 approved
RSAT 1.0.2 660 Friday, September 12, 2014 approved

Discussion for the Remote Server Administration Tools Package

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.

comments powered by Disqus