How to install SCCM 2012 prerequisites the easy way

Very simple, to install all the required components for an simple, easy and quick installation, start Powershell as administrator and run these commands:

Get-Module servermanager
Install-WindowsFeature Web-Windows-Auth
Install-WindowsFeature Web-ISAPI-Ext
Install-WindowsFeature Web-Metabase
Install-WindowsFeature Web-WMI
Install-WindowsFeature BITS
Install-WindowsFeature RDC
Install-WindowsFeature NET-Framework-Features
Install-WindowsFeature Web-Asp-Net
Install-WindowsFeature Web-Asp-Net45
Install-WindowsFeature NET-HTTP-Activation
Install-WindowsFeature NET-Non-HTTP-Activ

SCCMRequirementsInstallation

 

If you want to install SQL Server 2012 SP1 in a line for you lab, use this as an example:

E:\setup.exe /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS /UpdateEnabled=1 /features=”SQLEngine” “RS” “SSMS” /installshareddir=”C:\Program Files\SQL” /InstallsharedwowDir=”C:\Program Files (x86)\SQL” /instancedir=”C:\Program Files\SQL” /Instancename=MSSQLSERVER /q /AGTSVCACCOUNT=”NT Authority\System” /INSTALLSQLDATADIR=”C:\Program Files\SQL” /SQLBACKUPDIR=”C:\Program Files\SQL\Backup” /SQLCOLLATION=SQL_Latin1_General_CP1_CI_AS /SQLSYSADMINACCOUNTS=”solvoit.com\domain admins” “solvoit.com\ml-admin” /SQLSVCACCOUNT=”NT Authority\System” /SQLTEMPDBDIR=”C:\MSSQLSERVER\TEMPDB” /SQLTEMPDBLOGDIR=”C:\MSSQLSERVER\LOGS” /SQLUSERDBDIR=”C:\MSSQLSERVER\USERDB” /SQLUSERDBLOGDIR=”C:\MSSQLSERVER\Logs” /RSSVCACCOUNT=”NT AUTHORITY\SYSTEM” /INDICATEPROGRESS

You can find all the commands at this site: http://msdn.microsoft.com/en-us/library/ms144259.aspx#roleparameters

Have a nice day 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s