How to install RSAT in WIndows 7 using command line

How to install RSAT in WIndows 7 using command line. ? I have issue where after installing the kb for the RSAT for Windows 7sp1, when I do appwiz.cpl and see the OptionalFeatures where you can select to add or remove features in Windows 7, the thing comes up as blank. So even though I installed the kb update for the RSAT (to use aduc in windows client) I can't actually launch dsa.msc because it needs to be "activated" via the Programs and Features Optional Features portion... but that part is coming up completely blank. Is there a way to trigger the activation via powershell or command line instead of using GUI?
A CAsked:
Who is Participating?
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
dism /online /enable-feature /featurename:RSATClient-Roles-AD /featurename:RSATClient-Roles-AD-DS /featurename:RSATClient-Roles-AD-DS-SnapIns /featurename:RSATClient-Roles-AD-DS-AdministrativeCenter

Open in new window


Or if you want all AD tools
dism /online /enable-feature /featurename:RemoteServerAdministrationTools
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-Powershell
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Features
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Features-GP

Open in new window

1
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.