I’m making a series of posts describing the package creation process for the applications in my current lab image. This post is about Microsoft’s Remote System Administration Tools.
- Installing Windows 7 RSAT Unattended
- Remote Server Administration Tools for Windows 7 with Service Pack 1 (SP1)
RSAT is all wrapped up for you nicely as a msu (Microsoft Installer) file. The trick is enabling the tools with dism.
- Download the latest RSAT msu from the website above.
- Copy the RSAT installation file to C:\temp\rsat.
- Create a batch file named “Install-rsat.cmd” with the following contents:
@ECHO OFF ECHO Installing RSAT for Windows 7 SP1 (x64) and enabling AD DS Snap-In ECHO Do not close this window. It will close when the install is finished. REM Main Install Windows6.1-KB958830-x64-RefreshPkg.msu /quiet REM Enable Tools IF EXIST %WINDIR%\system32\dism.exe SET DISM=%WINDIR%\system32\dism.exe IF EXIST %WINDIR%\SysNative\dism.exe SET DISM=%WINDIR%\SysNative\dism.exe %DISM% /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles /featurename:RemoteServerAdministrationTools-Roles-AD /featurename:RemoteServerAdministrationTools-Roles-AD-DS /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns
- Assemble the files into a single source folder then create a SCCM package and program. The program’s command line action should be “install-rsat.cmd”. The following is a screen shot of my final source folder: