OSD: Error 0x80070081 when Install SAP

if I install sap after OSD, it exit code is 0.

but if I runn during OSD, it exit code is 0x80070081, and then I checked the sap, I found it seem to work fine.

Here is the logs of application installation

Install by SMS CMClient ---succeed
http://1drv.ms/1kzt4LG

Install by OSD  ---failed
http://1drv.ms/1kzuoye

-----------------------------

Waiting for job status notification... InstallSoftware 2014/4/11 12:57:55 3864 (0x0F18)
Waiting for job status notification... InstallSoftware 2014/4/11 12:58:25 3864 (0x0F18)
Waiting for job status notification... InstallSoftware 2014/4/11 12:58:55 3864 (0x0F18)
CompleteExecution received InstallSoftware 2014/4/11 12:59:09 3132 (0x0C3C)
CompleteExecution processed InstallSoftware 2014/4/11 12:59:09 3132 (0x0C3C)
Received job completion notification from Execution Manager InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
Installation completed with exit code 0x80070081 InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
Installation failed with error (0x80070081) InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
Setting TSEnv variable 'SMSTSInstallSoftwareJobID_00100021_0012000A_SAP'='' InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
GetExecRequestMgrInterface successful InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
Releasing job request, jobID='{B8D6032A-D2A4-4C9F-85EB-99E3773589CF}' InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
Releasing of Job Request successful InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
CompleteJob successful InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
ReleaseSource() for C:\_SMSTaskSequence\Packages\00100021. InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
reference count 1 for the source C:\_SMSTaskSequence\Packages\00100021 before releasing InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
Released the resolved source C:\_SMSTaskSequence\Packages\00100021 InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
pInstall->Install(sPackageID, sProgramName), HRESULT=80070081 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,361) InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
Install Software failed, hr=0x80070081 InstallSoftware 2014/4/11 12:59:09 3864 (0x0F18)
Process completed with exit code 2147942529 TSManager 2014/4/11 12:59:09 2068 (0x0814)
!--------------------------------------------------------------------------------------------! TSManager 2014/4/11 12:59:09 2068 (0x0814)
Failed to run the action: SAP. 
The  application cannot be run in Win32 mode. (Error: 80070081; Source: Windows) TSManager 2014/4/11 12:59:09 2068 (0x0814)
MP server http://PRI1.ABC.COM. Ports 80,443. CRL=false. TSManager 2014/4/11 12:59:09 2068 (0x0814)
Setting authenticator TSManager 2014/4/11 12:59:09 2068 (0x0814)
Set authenticator in transport TSManager 2014/4/11 12:59:09 2068 (0x0814)
Sending StatusMessage TSManager 2014/4/11 12:59:09 2068 (0x0814)
Setting message signatures. TSManager 2014/4/11 12:59:09 2068 (0x0814)
Setting the authenticator. TSManager 2014/4/11 12:59:09 2068 (0x0814)
CLibSMSMessageWinHttpTransport::Send: URL: PRI1.ABC.COM:80  CCM_POST /ccm_system/request TSManager 2014/4/11 12:59:09 2068 (0x0814)
Request was successful. TSManager 2014/4/11 12:59:10 2068 (0x0814)
Set a global environment variable _SMSTSLastActionRetCode=-2147024767 TSManager 2014/4/11 12:59:10 2068 (0x0814)
Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 2014/4/11 12:59:10 2068 (0x0814)
Clear local default environment TSManager 2014/4/11 12:59:10 2068 (0x0814)



  • Edited by Unknown32 Friday, April 11, 2014 8:53 AM
April 11th, 2014 6:16am

What status message does the installation provide in the AppEnforce.log and also in the installation log of the application itself?
Free Windows Admin Tool Kit Click here and download it now
April 11th, 2014 6:56am

Hi,

Is it 64-bit application? "The  application cannot be run in Win32 mode" and you run it as a package/program? Try running it using a command line and check the box" Disable 64-bit files-system redirection.

Regards,
Jrgen

April 11th, 2014 6:59am

32-bit application & OS is 64-bit
Free Windows Admin Tool Kit Click here and download it now
April 11th, 2014 8:32am

Logs:

Install by SMS CMClient

http://1drv.ms/1kzt4LG

Install by OSD

http://1drv.ms/1kzuoye

April 11th, 2014 8:50am

Your OSD log file shows return code 129. I did a quick google search for you and according to what I've seen so far that message means that the machine has a pending reboot, see also: https://www.google.nl/#q=SAP+Installation++return+code+129
Free Windows Admin Tool Kit Click here and download it now
April 11th, 2014 8:56am

Thanks Perter
April 11th, 2014 11:53am

So I see a reply was marked as the answer, but what exactly was the resolution? I am running into the same issue.

Install Software failed, hr=0x80070081
Process completed with exit code 2147942529

Failed to run the action: Install SAP GUI 7.30. 
The  application cannot be run in Win32 mode. (Error: 80070081; Source: Windows)

Thanks,

Mike

Free Windows Admin Tool Kit Click here and download it now
July 13th, 2014 10:05pm

Perfect! This worked for me. Thanks!
June 2nd, 2015 2:49pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics