Unattended install of Microsoft Remote Server Administration Tool (RSAT) – English

Hi all,

Ever wanted to install the RSAT through an unattended installation? Well then you are in for a treat. I have come onto this problem myself and I wanted to share with you my experience.

First of all. RSAT can only be installed using the WUSA.exe installation process. WUSA is the method used by Microsoft windows update. You can launch the installation silently using:

wusa.exe %~DP0Windows6.1-KB958830-x64-RefreshPkg.msu /quiet

When it is installed you will not find anything in your start menu or on the computer. This is because the RSAT is installed as an feature and you have to enable these features using the DISM.exe feature enabling method. To do this you must use the following command line:

dism.exe /online /enable-feature /featurename:[FeatureName] /Quiet

This will install all the features u need. To really help you out, here is the complete installation script you can use to install the RSAT completely. If you take parts of this script, please keep in mind that there is an order you must install things in. So test it very carefully or remark the lines you don’t need, that’s the safest way.

Hope this helps you out!!!

@ECHO OFF

REM ***************************************************************
REM Gemaakt door : Michiel Slik
REM Datum :25-1-2013
REM
REM ***************************************************************

REM Start de software installatie

wusa.exe %~DP0Windows6.1-KB958830-x64-RefreshPkg.msu /quiet
Call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-ServerManager /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices-CA /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices-OnlineResponder /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-NIS /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-LDS /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-Powershell /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-AdministrativeCenter /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-DHCP /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-DNS /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-Dfs /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-Fsrm /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-StorageMgmt /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-HyperV /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-RDS /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Features /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Features-BitLocker /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Features-Clustering /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Features-GP /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Features-LoadBalancing /Quiet
rem call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Features-SmtpServer /Quiet * Needs IIS to install*
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Features-StorageExplorer /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Features-StorageManager /Quiet
call dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools-Features-Wsrm /Quiet

Geef een reactie

Het e-mailadres wordt niet gepubliceerd. Verplichte velden zijn gemarkeerd met *