Hi all. I'm using MDT 2012 Update 1 to install Server 2012 Datacenter and am having problems getting the "Install Roles and Features" step to work. I have the step enabled in the State Restore section of the Task Sequence and have SkipRoles=NO in the customsettings.ini, so the Install Roles and Features wizard comes up fine and I can make selections, the step executes but then I get an error for each role or feature I select in the ZTIOSRole.log and it doesn't install any of them - I've tried several different features and they all behave the same way. Here is a portion of the ZTIOSRole.log:
<![LOG[Property Parameters is now = -FeatureName ADLDS]LOG]!><time="09:28:17.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Validating connection to <time="09:28:17.000+000">\\itsnt471.iowa.uiowa.edu\Share\Server2012srcfiles]LOG]!><time="09:28:17.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Property Parameters is now = -FeatureName ADLDS -Source "C:\MININT\sources\X64"]LOG]!><time="09:30:55.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Creating C:\MININT\Modules folder for caching PowerShell modules locally.]LOG]!><time="09:30:55.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Copying
\\ITSNT471.iowa.uiowa.edu\Deploy_Server2012\Tools\Modules folder to C:\MININT\Modules]LOG]!><time="09:30:55.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[PowerShell version detected: 3.0]LOG]!><time="09:30:55.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[About to run: "C:\MININT\Modules\Microsoft.BDD.TaskSequenceModule\Microsoft.BDD.TaskSequencePSHost40.exe" "\\ITSNT471.iowa.uiowa.edu\Deploy_Server2012\Scripts\ZTIOSRolePS.ps1""C:\MININT\SMSOSD\OSDLOGS" -FeatureName ADLDS -Source "C:\MININT\sources\X64"]LOG]!><time="09:30:55.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Property Parameters is now = ]LOG]!><time="09:31:14.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[ERROR - ADLDS role processing via PowerShell failed, rc = 10904]LOG]!><time="09:31:14.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="3" thread="" file="ZTIOSRole">
<![LOG[Property InstalledRoles001 is now = ADLDS]LOG]!><time="09:31:14.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Property Parameters is now = -FeatureName Application-Server]LOG]!><time="09:31:14.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Validating connection to
\\ITSNT471.iowa.uiowa.edu\Deploy_Server2012\Scripts\ZTIOSRolePS.ps1" "C:\MININT\SMSOSD\OSDLOGS" -FeatureName Application-Server -Source "C:\MININT\sources\X64"]LOG]!><time="09:31:14.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1"
thread="" file="ZTIOSRole">
<![LOG[Property Parameters is now = ]LOG]!><time="09:31:14.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[ERROR - Application-Server role processing via PowerShell failed, rc = 10904]LOG]!><time="09:31:14.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="3" thread="" file="ZTIOSRole">
<![LOG[Property InstalledRoles001 is now = ADLDS]LOG]!><time="09:31:14.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Property InstalledRoles002 is now = APPLICATION-SERVER]LOG]!><time="09:31:14.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Property Parameters is now = -FeatureName NET-Framework-45-Features]LOG]!><time="09:31:14.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Validating connection to
\\ITSNT471.iowa.uiowa.edu\Deploy_Server2012\Scripts\ZTIOSRolePS.ps1" "C:\MININT\SMSOSD\OSDLOGS" -FeatureName NET-Framework-45-Features -Source "C:\MININT\sources\X64"]LOG]!><time="09:31:15.000+000" date="11-29-2012" component="ZTIOSRole" context=""
type="1" thread="" file="ZTIOSRole">
<![LOG[Property Parameters is now = ]LOG]!><time="09:31:15.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[ERROR - NET-Framework-45-Features role processing via PowerShell failed, rc = 10904]LOG]!><time="09:31:15.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="3" thread="" file="ZTIOSRole">
<![LOG[Property InstalledRoles001 is now = ADLDS]LOG]!><time="09:31:15.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Property InstalledRoles002 is now = APPLICATION-SERVER]LOG]!><time="09:31:15.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Property InstalledRoles003 is now = NET-FRAMEWORK-45-FEATURES]LOG]!><time="09:31:15.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Property Parameters is now = -FeatureName NET-Framework-45-Core]LOG]!><time="09:31:15.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[Validating connection to
\\ITSNT471.iowa.uiowa.edu\Deploy_Server2012\Scripts\ZTIOSRolePS.ps1" "C:\MININT\SMSOSD\OSDLOGS" -FeatureName NET-Framework-45-Core -Source "C:\MININT\sources\X64"]LOG]!><time="09:31:15.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1"
thread="" file="ZTIOSRole">
<![LOG[Property Parameters is now = ]LOG]!><time="09:31:16.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="1" thread="" file="ZTIOSRole">
<![LOG[ERROR - NET-Framework-45-Core role processing via PowerShell failed, rc = 10904]LOG]!><time="09:31:16.000+000" date="11-29-2012" component="ZTIOSRole" context="" type="3" thread="" file="ZTIOSRole">
So I get the error "role processing via PowerShell failed, rc = 10904" for pretty much every feature. Has any one else run into something like this? This happens with both Server 2012 DataCenter and Server 2012 Standard. Any help would be appreciated.