TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Windows Deployment

Windows Setup phase failure (ZTIApply, rc = 31)

Windows Deployment

 
 
Thread Tools Display Modes
Unread 28-11-2007, 11:19 AM   #1
Nathan
Guest
 
Posts: n/a
Windows Setup phase failure (ZTIApply, rc = 31)

Receiving the following message when the "Apply Image" phase of the Task
Sequence Execution Engine begins:

"An error occurred while applying the windowsPE-phase unattend bootstrap
settings."

The "Deployment Summary" details screen shows:
ZTI ERROR - Non-zero return code by ZTIApply, rc = 31
Event: ZTI ERROR - Non-zero return code by ZTIApply, rc = 31
Non-zero return code executing command
"X:\Deploy\Tools\X86\TsmBootstrap.exe" /env:SAStart, rc = -2147467259


The following is what was written to the wpeinit.log:
Info WPEINIT is processing the unattend file [X:\unattend.xml]
Info Spent 10926ms initializing removable media before unattend search
Info ==== Initializing Display Settings ====
Info Setting display resolution 1024x768x16@60: 0x00000000
Info STATUS: SUCCESS (0x00000000)
Info ==== Initializing Computer Name ====
Info Generating a random computer name
Info STATUS: SUCCESS (0x00000000)
Info ==== Initializing Virtual Memory Paging File ====
Info No WinPE page file setting specified
Info STATUS: SUCCESS (0x00000001)
Info ==== Initializing Optional Components ====
Info WinPE optional component 'Microsoft-WinPE-HTA' is present
Info WinPE optional component 'Microsoft-WinPE-MDAC' is present
Info WinPE optional component 'Microsoft-WinPE-WSH' is present
Info WinPE optional component 'Microsoft-WinPE-WMI' is present
Info STATUS: SUCCESS (0x00000000)
Info ==== Initializing Network Access and Applying Configuration ====
Info No EnableNetwork unattend setting was specified; the default
action for this context is to enable networking support.
Info Spent 5288ms initializing security templates
Info Install MS_TCPIP6: 0x00000000
Info Install MS_TCPIP: 0x00000000
Info Install MS_SMB: 0x00000000
Info Install MS_NETBIOS: 0x00000000
Info Install MS_MSCLIENT: 0x0004a020
Info Spent 24685ms installing network components
Info Installing device pci\ven_14e4&dev_165d
X:\windows\INF\netb57vx.inf succeeded
Info Spent 5789ms intalling network drivers
Info STATUS: SUCCESS (0x00000000)
Info ==== Applying Firewall Settings ====
Info STATUS: SUCCESS (0x00000001)
Info ==== Executing Synchronous User-Provided Commands ====
Info Parsing RunSynchronousCommand: 1 entries
Info Command 0: 0x00000000
Info Successfully executed command 'cscript.exe
X:\Deploy\Scripts\LiteTouch.wsf' (exit code 0x80004005)
Info STATUS: FAILURE (0x80004005)
Info ==== Executing Asynchronous User-Provided Commands ====
Info STATUS: SUCCESS (0x00000001)
Info ==== Applying Shutdown Settings ====
Info STATUS: SUCCESS (0x00000000)
Warning Applying WinPE unattend settings failed with status 0x80004005;
ignoring shutdown settings


The unattend.xml file contains the following:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup"
processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<Display>
<ColorDepth>16</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>Lite Touch PE</Description>
<Order>1</Order>
<Path>cscript.exe X:\Deploy\Scripts\LiteTouch.wsf</Path>
</RunSynchronousCommand>
</RunSynchronous>
<Restart>Restart</Restart>
</component>
</settings>
</unattend>

Any suggestions as to what I need to do to fix this.
 
Unread 28-11-2007, 11:20 AM   #2
Michael Niehaus [MS]
Guest
 
Posts: n/a
Re: Windows Setup phase failure (ZTIApply, rc = 31)

That error is reported when Setup doesn't like the unattend.xml that you
provided.

The unattend.xml that you provided isn't the Windows Vista unattend.xml.
(It's just the PE equivalent of AUTOEXEC.BAT.) Do you have the full
unattend.xml that is being used?

Often this error indicates a problem with the product key. The SETUPACT.LOG
written by Setup will provide more details. Also, when you move forward to
Vista RC1 or later and BDD 2007 Beta 2, you should get more useful errors.
(From the messages below, it appears you're still running BDD 2007 Beta 1,
which would be with Vista Beta 2.)

-Michael

"Nathan" <volmannc@(blockspam).hotmail.com> wrote in message
news:C993D381-D22E-4D33-87B4-F6953BDA9A79@microsoft.com...
> Receiving the following message when the "Apply Image" phase of the Task
> Sequence Execution Engine begins:
>
> "An error occurred while applying the windowsPE-phase unattend bootstrap
> settings."
>
> The "Deployment Summary" details screen shows:
> ZTI ERROR - Non-zero return code by ZTIApply, rc = 31
> Event: ZTI ERROR - Non-zero return code by ZTIApply, rc = 31
> Non-zero return code executing command
> "X:\Deploy\Tools\X86\TsmBootstrap.exe" /env:SAStart, rc = -2147467259
>
>
> The following is what was written to the wpeinit.log:
> Info WPEINIT is processing the unattend file [X:\unattend.xml]
> Info Spent 10926ms initializing removable media before unattend
> search
> Info ==== Initializing Display Settings ====
> Info Setting display resolution 1024x768x16@60: 0x00000000
> Info STATUS: SUCCESS (0x00000000)
> Info ==== Initializing Computer Name ====
> Info Generating a random computer name
> Info STATUS: SUCCESS (0x00000000)
> Info ==== Initializing Virtual Memory Paging File ====
> Info No WinPE page file setting specified
> Info STATUS: SUCCESS (0x00000001)
> Info ==== Initializing Optional Components ====
> Info WinPE optional component 'Microsoft-WinPE-HTA' is present
> Info WinPE optional component 'Microsoft-WinPE-MDAC' is present
> Info WinPE optional component 'Microsoft-WinPE-WSH' is present
> Info WinPE optional component 'Microsoft-WinPE-WMI' is present
> Info STATUS: SUCCESS (0x00000000)
> Info ==== Initializing Network Access and Applying Configuration ====
> Info No EnableNetwork unattend setting was specified; the default
> action for this context is to enable networking support.
> Info Spent 5288ms initializing security templates
> Info Install MS_TCPIP6: 0x00000000
> Info Install MS_TCPIP: 0x00000000
> Info Install MS_SMB: 0x00000000
> Info Install MS_NETBIOS: 0x00000000
> Info Install MS_MSCLIENT: 0x0004a020
> Info Spent 24685ms installing network components
> Info Installing device pci\ven_14e4&dev_165d
> X:\windows\INF\netb57vx.inf succeeded
> Info Spent 5789ms intalling network drivers
> Info STATUS: SUCCESS (0x00000000)
> Info ==== Applying Firewall Settings ====
> Info STATUS: SUCCESS (0x00000001)
> Info ==== Executing Synchronous User-Provided Commands ====
> Info Parsing RunSynchronousCommand: 1 entries
> Info Command 0: 0x00000000
> Info Successfully executed command 'cscript.exe
> X:\Deploy\Scripts\LiteTouch.wsf' (exit code 0x80004005)
> Info STATUS: FAILURE (0x80004005)
> Info ==== Executing Asynchronous User-Provided Commands ====
> Info STATUS: SUCCESS (0x00000001)
> Info ==== Applying Shutdown Settings ====
> Info STATUS: SUCCESS (0x00000000)
> Warning Applying WinPE unattend settings failed with status 0x80004005;
> ignoring shutdown settings
>
>
> The unattend.xml file contains the following:
> <?xml version="1.0" encoding="utf-8"?>
> <unattend xmlns="urn:schemas-microsoft-com:unattend">
> <settings pass="windowsPE">
> <component name="Microsoft-Windows-Setup"
> processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
> language="neutral" versionScope="nonSxS"
> xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
> <Display>
> <ColorDepth>16</ColorDepth>
> <HorizontalResolution>1024</HorizontalResolution>
> <RefreshRate>60</RefreshRate>
> <VerticalResolution>768</VerticalResolution>
> </Display>
> <RunSynchronous>
> <RunSynchronousCommand wcm:action="add">
> <Description>Lite Touch PE</Description>
> <Order>1</Order>
> <Path>cscript.exe
> X:\Deploy\Scripts\LiteTouch.wsf</Path>
> </RunSynchronousCommand>
> </RunSynchronous>
> <Restart>Restart</Restart>
> </component>
> </settings>
> </unattend>
>
> Any suggestions as to what I need to do to fix this.


 
Unread 28-11-2007, 11:23 AM   #3
Michael Niehaus [MS]
Guest
 
Posts: n/a
Re: Windows Setup phase failure (ZTIApply, rc = 31)

That error is reported when Setup doesn't like the unattend.xml that you
provided.

The unattend.xml that you provided isn't the Windows Vista unattend.xml.
(It's just the PE equivalent of AUTOEXEC.BAT.) Do you have the full
unattend.xml that is being used?

Often this error indicates a problem with the product key. The SETUPACT.LOG
written by Setup will provide more details. Also, when you move forward to
Vista RC1 or later and BDD 2007 Beta 2, you should get more useful errors.
(From the messages below, it appears you're still running BDD 2007 Beta 1,
which would be with Vista Beta 2.)

-Michael

"Nathan" <volmannc@(blockspam).hotmail.com> wrote in message
news:C993D381-D22E-4D33-87B4-F6953BDA9A79@microsoft.com...
> Receiving the following message when the "Apply Image" phase of the Task
> Sequence Execution Engine begins:
>
> "An error occurred while applying the windowsPE-phase unattend bootstrap
> settings."
>
> The "Deployment Summary" details screen shows:
> ZTI ERROR - Non-zero return code by ZTIApply, rc = 31
> Event: ZTI ERROR - Non-zero return code by ZTIApply, rc = 31
> Non-zero return code executing command
> "X:\Deploy\Tools\X86\TsmBootstrap.exe" /env:SAStart, rc = -2147467259
>
>
> The following is what was written to the wpeinit.log:
> Info WPEINIT is processing the unattend file [X:\unattend.xml]
> Info Spent 10926ms initializing removable media before unattend
> search
> Info ==== Initializing Display Settings ====
> Info Setting display resolution 1024x768x16@60: 0x00000000
> Info STATUS: SUCCESS (0x00000000)
> Info ==== Initializing Computer Name ====
> Info Generating a random computer name
> Info STATUS: SUCCESS (0x00000000)
> Info ==== Initializing Virtual Memory Paging File ====
> Info No WinPE page file setting specified
> Info STATUS: SUCCESS (0x00000001)
> Info ==== Initializing Optional Components ====
> Info WinPE optional component 'Microsoft-WinPE-HTA' is present
> Info WinPE optional component 'Microsoft-WinPE-MDAC' is present
> Info WinPE optional component 'Microsoft-WinPE-WSH' is present
> Info WinPE optional component 'Microsoft-WinPE-WMI' is present
> Info STATUS: SUCCESS (0x00000000)
> Info ==== Initializing Network Access and Applying Configuration ====
> Info No EnableNetwork unattend setting was specified; the default
> action for this context is to enable networking support.
> Info Spent 5288ms initializing security templates
> Info Install MS_TCPIP6: 0x00000000
> Info Install MS_TCPIP: 0x00000000
> Info Install MS_SMB: 0x00000000
> Info Install MS_NETBIOS: 0x00000000
> Info Install MS_MSCLIENT: 0x0004a020
> Info Spent 24685ms installing network components
> Info Installing device pci\ven_14e4&dev_165d
> X:\windows\INF\netb57vx.inf succeeded
> Info Spent 5789ms intalling network drivers
> Info STATUS: SUCCESS (0x00000000)
> Info ==== Applying Firewall Settings ====
> Info STATUS: SUCCESS (0x00000001)
> Info ==== Executing Synchronous User-Provided Commands ====
> Info Parsing RunSynchronousCommand: 1 entries
> Info Command 0: 0x00000000
> Info Successfully executed command 'cscript.exe
> X:\Deploy\Scripts\LiteTouch.wsf' (exit code 0x80004005)
> Info STATUS: FAILURE (0x80004005)
> Info ==== Executing Asynchronous User-Provided Commands ====
> Info STATUS: SUCCESS (0x00000001)
> Info ==== Applying Shutdown Settings ====
> Info STATUS: SUCCESS (0x00000000)
> Warning Applying WinPE unattend settings failed with status 0x80004005;
> ignoring shutdown settings
>
>
> The unattend.xml file contains the following:
> <?xml version="1.0" encoding="utf-8"?>
> <unattend xmlns="urn:schemas-microsoft-com:unattend">
> <settings pass="windowsPE">
> <component name="Microsoft-Windows-Setup"
> processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
> language="neutral" versionScope="nonSxS"
> xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
> <Display>
> <ColorDepth>16</ColorDepth>
> <HorizontalResolution>1024</HorizontalResolution>
> <RefreshRate>60</RefreshRate>
> <VerticalResolution>768</VerticalResolution>
> </Display>
> <RunSynchronous>
> <RunSynchronousCommand wcm:action="add">
> <Description>Lite Touch PE</Description>
> <Order>1</Order>
> <Path>cscript.exe
> X:\Deploy\Scripts\LiteTouch.wsf</Path>
> </RunSynchronousCommand>
> </RunSynchronous>
> <Restart>Restart</Restart>
> </component>
> </settings>
> </unattend>
>
> Any suggestions as to what I need to do to fix this.


 
 

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 11:17 AM.


vBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2013, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional