ZTI error by using Role and Features
-
Thursday, January 10, 2013 7:30 PM
Hello,
I get an error by doing a task-sequence with roles and features. By selecting any role (for windows 8) I get this errors:
ZTI ERROR - Unhandled error returned by ZTIOSRole: Can not find path (76) ZTIOSRole 10-1-2013 20:02:01 0 (0x0000)
Litetouch deployment failed, Return Code = -2147467259 0x80004005 LiteTouch 10-1-2013 20:02:01 0 (0x0000)How to fix this?
Thx
All Replies
-
Thursday, January 10, 2013 7:46 PMCan you post ZTIOSRoles.log and ZTIOSRolesPS.log ?
-
Thursday, January 10, 2013 8:04 PM
ZTIOSroles.log :
Microsoft Deployment Toolkit version: 6.1.2369.0 ZTIOSRole 10-1-2013 20:01:57 0 (0x0000)
The task sequencer log is located at C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log. ZTIOSRole 10-1-2013 20:01:57 0 (0x0000)
Write all logging text to \\192.168.2.153\deploymentshare$\Logs\SLShareDynamicLogging\test_apps ZTIOSRole 10-1-2013 20:01:57 0 (0x0000)
Validating connection to \\192.168.2.153\deploymentshare$\Logs\SLShareDynamicLogging\test_apps ZTIOSRole 10-1-2013 20:01:57 0 (0x0000)
Found Existing UNC Path Z: = \\192.168.2.153\deploymentshare$ ZTIOSRole 10-1-2013 20:01:57 0 (0x0000)
Found Existing UNC Path Z: = \\192.168.2.153\deploymentshare$ ZTIOSRole 10-1-2013 20:01:57 0 (0x0000)
Successfully established connection using supplied credentials. ZTIOSRole 10-1-2013 20:01:57 0 (0x0000)
Roles will be installed. ZTIOSRole 10-1-2013 20:01:57 0 (0x0000)
No items were specified in variable OSRoles. ZTIOSRole 10-1-2013 20:01:57 0 (0x0000)
No items were specified in variable OSRoleServices. ZTIOSRole 10-1-2013 20:01:58 0 (0x0000)
No items were specified in variable OSFeatures. ZTIOSRole 10-1-2013 20:01:58 0 (0x0000)
No items were specified in variable OptionalOSRoles. ZTIOSRole 10-1-2013 20:01:58 0 (0x0000)
No items were specified in variable OptionalOSRoleServices. ZTIOSRole 10-1-2013 20:01:58 0 (0x0000)
Features specified in Feature: ZTIOSRole 10-1-2013 20:01:58 0 (0x0000)
NetFx3 ZTIOSRole 10-1-2013 20:01:58 0 (0x0000)
NetFx4-AdvSrvs ZTIOSRole 10-1-2013 20:01:58 0 (0x0000)
TelnetClient ZTIOSRole 10-1-2013 20:01:58 0 (0x0000)
TFTP ZTIOSRole 10-1-2013 20:01:58 0 (0x0000)
ZTI Heartbeat: Processing roles (0% complete ZTIOSRole 10-1-2013 20:01:58 0 (0x0000)
Event 41003 sent: ZTI Heartbeat: Processing roles (0% complete ZTIOSRole 10-1-2013 20:01:59 0 (0x0000)
Validating connection to \\SERVER2012-MOB\DeploymentShare$\Operating Systems\Windows 8 Pro NL x64 Volume Licence ZTIOSRole 10-1-2013 20:01:59 0 (0x0000)
Already connected to server SERVER2012-MOB as that is where this script is running from. ZTIOSRole 10-1-2013 20:01:59 0 (0x0000)
Copying source files locally from \\SERVER2012-MOB\DeploymentShare$\Operating Systems\Windows 8 Pro NL x64 Volume Licence\sources\sxs ZTIOSRole 10-1-2013 20:01:59 0 (0x0000)
ZTI ERROR - Unhandled error returned by ZTIOSRole: Kan het pad niet vinden (76) ZTIOSRole 10-1-2013 20:02:01 0 (0x0000)
Event 41002 sent: ZTI ERROR - Unhandled error returned by ZTIOSRole: Kan het pad niet vinden (76) ZTIOSRole 10-1-2013 20:02:01 0 (0x0000)I can not find ZTIOSRolesPS
-
Friday, January 11, 2013 7:14 AMAnybody?
-
Friday, January 11, 2013 7:41 AM
Can you validate by looking on your Deployment Share that the SXS folder is there and has appropriate content?
\\SERVER2012-MOB\DeploymentShare$\Operating Systems\Windows 8 Pro NL x64 Volume Licence\sources\sxs
That appears to be the path it cannot find, and where it's likely looking for performing role installation. If this script is able to find it, it copies contents from sxs locally then executes the install. For NetFX3 the next line should have looked like:
<![LOG[About to execute command: cmd.exe /c C:\windows\system32\DISM.exe /Online /Enable-Feature /FeatureName:"NetFx3" /Source:"C:\MININT\sources\X64" /LimitAccess /All /NoRestart /logpath:C:\MININT\SMSOSD\OSDLOGS\ZTIOSRole_Dism.log >> C:\MININT\SMSOSD\OSDLOGS\ZTIOSRole_DismConsole.log]LOG]!>
Looking at this and my test Workbench, I suspect it's the way OS imports are done. The first option when you import an OS is "Full set of source files", which would ensure the required "sources\sxs" folder is created and populated from the original media. The second option is "Custom image file" which is JUST the WIM. I believe that in order to use the "Install Roles and Features" step, one will have needed to import the "Full set of source files". I've never seen it listed as a requirement, but I now believe it to be. Based on this blog from Michael (http://blogs.technet.com/b/mniehaus/archive/2012/09/27/mdt-2012-update-1-roles-and-features-improvements.aspx) it may only be required when selecting .NET 3.5. I see some testing in my future... : )
Edit: I re-read Michael's post and am almost 100% certain it's ONLY because of .NET 3.5 that you are seeing this error, but only if you imported just the WIM into the Workbench. If you uncheck only that role, does the capture work? If it does, you may be able to copy the "sources\sxs" folder to your Deployment share and reference it in CustomSettings.ini with the "WindowsSource" variable.
David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek
- Edited by DCtheGeek Friday, January 11, 2013 7:46 AM Added comment.
-
Friday, January 11, 2013 8:02 AM
Hello DC,
I have checked the path. The path is valid.
I`ve checked the error is only with .net. But this is also happening with others (telnet-client).
Should I import the OS again as full set (I think I did, but I can retry).
Thx
-
Friday, January 11, 2013 8:31 AM
Hello DC,
other roles seem to work fine.
I also created a "Post-installation Task Sequence" .
When running this from windows, all roles seems to work, except the .net framework 3.5 :
Why isn`t this role working ? I have had other deployment-shares where I could install .net framework 3.5 without problems.
Thx
-
Friday, January 11, 2013 8:51 AM
Update:.
Other roles are also not installed:
-
Friday, January 11, 2013 2:11 PMAnybody with a solution for this?
-
Friday, January 11, 2013 2:39 PM
On a workstation imaged with your Task Sequence (but missing the required Roles and Features), can you try the following (specifically TelnetClient, not .NET 3.5 since that may have other source issues) from an elevated command-prompt:
dism /online Enable-Feature /FeatureName:TelnetClient /All
If you get an error from this, please post it. ZTIOSRole.wsf for Windows 8 just runs dism commands to install the Roles / Features, so lets see what happens if we try doing it manually.
David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek
-
Friday, January 11, 2013 3:23 PM
Hello David,
tried the enable-feature.
Works without problems!
So...the problem is in MDT/Task-sequence?
-
Friday, January 11, 2013 3:56 PMMaybe... can you try setting "WindowsSource" to "C:\Windows\WinSxS" (at least for this Task Sequence) in CustomSettings.ini and retry using the built-in Roles and Features (but leave .NET 3.5 unchecked)?
David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek
-
Saturday, January 12, 2013 12:17 PM
Hello David,
how and where can I change the "windowsSource" to c:\windows\winSxs?
Thx
-
Saturday, January 12, 2013 2:38 PM
It seems I fixed it.
I delete the installations-wim and added it again with a new name.
.net framework seems to work now!
- Marked As Answer by Mvd12345 Saturday, January 12, 2013 2:38 PM
-
Saturday, January 12, 2013 4:00 PM
For test I selected to install ALL roles (except Hyper-v)
This is the result :
What will cause that these roles can`t be installed?
Thx
-
Monday, January 14, 2013 7:18 AMAnybody?
-
Thursday, April 04, 2013 1:20 PM
I think the problem is that in the link are spaces and in the command " are missing.
eg:
that doesn't work
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:\\%servername%\DeploymentShare$\Operating Systems\Windows 8 ENTERPRISE 32 Bit German\sources\sxs
that works
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:"\\%servername%\DeploymentShare$\Operating Systems\Windows 8 ENTERPRISE 32 Bit German\sources\sxs"
regards

