Selecting Powershell from the Add Roles and Features MDT 2010 integration with SCCM 2007 SP2 causes roles and features to be ignored

If you are deploying Server 2008 R2 with SCCM 2007 SP2 w MDT 2010 integration, and select the Windows Powershell Feature within the Task Sequence Install Roles and Features Step, the task sequence will ignore any roles and features you may have configured.The Task sequence will not stop you from doing this nor will it warn you

Your SMSTS.log file won’t reveal anything about ignoring the Roles and Features, you have to view the ZTIOSRole.log file to get a hint of the problem:

ERROR – Role installation with ServerManagerCmd.exe failed, rc = 4

FAILURE: 4: Server 2008 R2 Role Installation

In addition to the above your c:\windows\temp folder will contain a ServerMgr.log file which will state something similar to:

2348:
2010-01-06 18:58:18.960 [ServerManagerCmd] Error (Id=0)
ArgumentNotValid: Feature not valid: ‘PowerShell’. The name of the
feature was not found.

So Why is this happening ?

Windows Server 2008 R2 features Powershell by default see > http://blogs.techrepublic.com.com/datacenter/?p=1168 whereas For the base release of Windows Server 2008, you have to explicitly install Powershell.

To resolve this problem, simply do NOT select Powershell from the Install Roles and Features Step

reference > 1.Install roles and features W2k8R2

cheers

niall

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.