SCEP Install and updates flakey during OSD install

I found the following post and have been using it to install SCEP for one of my clients.

http://features.blogs.fortune.cnn.com/2014/01/10/cheerios-gmo/

Can anyone point me to the  valid retun code values for each of the exes?

scepinstall.exe

mpam-fe.exe

nis_full.exe

It seems a value of 50 is being returned in the report Deployment status.

Is this a vaild way to update the SCEP client on machines that will not be added to the domain?


January 13th, 2014 3:14pm

I think you posted the wrong link above.

A blog post on the subject from the product team is at http://blogs.technet.com/b/configmgrteam/archive/2012/04/12/operating-system-deployment-and-endpoint-protection-client-installation.aspx.

Free Windows Admin Tool Kit Click here and download it now
January 13th, 2014 3:41pm

My bad.   That is the correct link.  Plus i just figured out my issues was a  condidtion i had on the task not the task itself.

http://blogs.technet.com/b/configmgrteam/archive/2012/04/12/operating-system-deployment-and-endpoint-protection-client-installation.aspx

Otherwise this works well.

January 13th, 2014 3:52pm

I removed the condidtion associated with the task and i am not able to get it to run successfully.

What logs should I be looking at to determine the issue.

I have laso tried this another way by using the Configuration Manager package default in SCCM 

run a command line Named it Update SCEP

commandline is 

scepinstall.exe /s /q /policy "ep_defaultpolicy.xml"

I use the Configuration Manager Client Package.

This seems more elelgant than creating your own package plus i wanted to see if the default policy was the issue.

This is the error I got from the Task Sequenc Report.

what other logs do I need to check?

Execution Time (UTC),Last Step,Last Action,Last Group,Last Status Message ID,Last Status Message Name,Exit Code,Action Output,1/14/2014 5:41:44 PM,25,Update SCEP,Setup Operating System,11135,The task sequence execution engine failed executing an action,-2147024588,"... ngDir, &si, &pi ), HRESULT=80070134 (e:\nts_sccm_release\sms\framework\core\ccmcore\commandline.cpp,1018)
clCommandLine.Execute( uOptions, pszWorkingDir, lpDesktop ), HRESULT=80070134 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\runcommandline.cpp,558)
Entering ReleaseSource() for D:\_SMSTaskSequence\Packages\CAD00002
reference count 1 for the source D:\_SMSTaskSequence\Packages\CAD00002 before releasing
Released the resolved source D:\_SMSTaskSequence\Packages\CAD00002
cmd.Execute(pszPkgID, sProgramName, dwCmdLineExitCode), HRESULT=80070134 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,372)
CreateProcess failed. Code(0x80070134)
Command line execution failed (80070134)
Failed to execute command line '""D:\_SMSTaskSequence\Packages\CAD00002\scepinstall.exe""  /s /q /policy ""ep_defaultpolicy.xml""' . 
he subsystem needed to support the image type is not present. (Error: 80070134; Source: Windows)
Install Software failed to run command line, hr=0x80070134"
Execution Time (UTC),Last Step,Last Action,Last Group,Last Status Message ID,Last Status Message Name,Exit Code,Action Output,1/14/2014 5:41:44 PM,,,,11141,The task sequence execution engine failed execution of a task sequence,-2147024588
Free Windows Admin Tool Kit Click here and download it now
January 14th, 2014 12:58pm

Any chance that you are running that step before Setup Windows and Configmgr? Or that you are trying to run an x64 exe on an x86 OS?
January 14th, 2014 1:16pm

No it is the last step.  The image x64.  I'll check the version of scep.

Scep Install is version 4.1.522.0.  i don't see weather it is x86

Free Windows Admin Tool Kit Click here and download it now
January 14th, 2014 1:33pm

I am able to replicate this issue in a test environment.  So I am probably doing something consistently wrong. I found this info in the smsts.log after a reboot when the task sequence fails

Expand a string: WinPEandFullOS TSManager 1/15/2014 10:58:22 PM 2264 (0x08D8)
Executing command line: smsswd.exe /run:ICS00003 Scepinstall.exe  /s /q /policy  EP_DEFAULTPOLICY.xml TSManager 1/15/2014 10:58:22 PM 2264 (0x08D8)
[ smsswd.exe ] InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
PackageID = 'ICS00003' InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
BaseVar = '', ContinueOnError='' InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
ProgramName = 'Scepinstall.exe /s /q /policy EP_DEFAULTPOLICY.xml' InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
SwdAction = '0001' InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
ResolveSource flags: 0x00000000 InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
SMSTSPersistContent: . The content for package ICS00003 will be persisted InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
The package ICS00003 is found locally in the cache C:\_SMSTaskSequence\Packages\ICS00003 InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
Resolved source to 'C:\_SMSTaskSequence\Packages\ICS00003' InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
Command line for extension .exe is "%1" %* InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
Set command line: Run command line InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
Working dir 'C:\_SMSTaskSequence\Packages\ICS00003' InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
Executing command line: Run command line InstallSoftware 1/15/2014 10:58:22 PM 2492 (0x09BC)
Process completed with exit code 2147811180 InstallSoftware 1/15/2014 10:58:25 PM 2492 (0x09BC)
Command line returned 2147811180 InstallSoftware 1/15/2014 10:58:25 PM 2492 (0x09BC)
ReleaseSource() for C:\_SMSTaskSequence\Packages\ICS00003. InstallSoftware 1/15/2014 10:58:25 PM 2492 (0x09BC)
reference count 1 for the source C:\_SMSTaskSequence\Packages\ICS00003 before releasing InstallSoftware 1/15/2014 10:58:25 PM 2492 (0x09BC)
Released the resolved source C:\_SMSTaskSequence\Packages\ICS00003 InstallSoftware 1/15/2014 10:58:25 PM 2492 (0x09BC)
Process completed with exit code 2147811180 TSManager 1/15/2014 10:58:25 PM 2264 (0x08D8)
!--------------------------------------------------------------------------------------------! TSManager 1/15/2014 10:58:25 PM 2264 (0x08D8)
Failed to run the action: INSTALL SCEP.
Unknown error (Error: 8004FF6C; Source: Unknown) TSManager 1/15/2014 10:58:25 PM 2264 (0x08D8)

I am able to install Adobe as an application in the same task sequence.  just before.

I have tried  a few variations of the command line to see if that makes a difference.  None have been successful.

Has anybody done this successfully?  Was the machine added to the domain or not?

 

January 16th, 2014 9:08am

So this has gotten me 2/3 of the way there.  I can run the scep install and the mpam-fe.exe update.

When I run the nis_full.exe i get the following in the smstslog.

Expand a string: FullOS TSManager 1/30/2014 9:47:18 AM 2396 (0x095C)
Executing command line: smsswd.exe /pkg:CAD00097 /install /basevar: /continueOnError: TSManager 1/30/2014 9:47:18 AM 2396 (0x095C)
[ smsswd.exe ] InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
PackageID = 'CAD00097' InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
BaseVar = '', ContinueOnError='' InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
ProgramName = 'update NIS 64' InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
SwdAction = '0002' InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
GetExecRequestMgrInterface successful InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
Retrieving value from TSEnv for '_SMSTSPolicyCAD00097_update NIS 64' InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
::DecompressBuffer(65536) InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
Decompression (zlib) succeeded: original size 2783, uncompressed size 22594. InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
ADV_AdvertisementID=CAD2001A InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
PKG_PSF_ContainsSourceFiles=TRUE InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
ResolveSource flags: 0x00000000 InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
SMSTSPersistContent: . The content for package CAD00097 will be persisted InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
The package CAD00097 is found locally in the cache C:\_SMSTaskSequence\Packages\CAD00097 InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
SMS PkgID 'CAD00097' resolved to location 'C:\_SMSTaskSequence\Packages\CAD00097' InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
Start to compile TS policy InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
End TS policy compilation InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
ADV_ActiveTime set InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
ADV_ActiveTime set InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
ADV_ActiveTime set InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
Get Install Directory for SMS Client InstallSoftware 1/30/2014 9:47:18 AM 3276 (0x0CCC)
Start to evaluate TS policy with lock InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Locked policy transaction lock successfully InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Updating settings in \\cad-92528\root\ccm\policy\machine\actualconfig InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
RequestedConfig policy instance(s) : 416 InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Locked \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig for source SMS:Client:Default:{D6804B3A-BFEC-4AB4-BFA5-FD9BECC80630} successfully InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Namespace: \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "SMS:Client:Default:{D6804B3A-BFEC-4AB4-BFA5-FD9BECC80630}") AND (PolicyState = "Active") AND (PolicyType = "Machine") InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
There is no ccm_policy_policy instance, skipping addition to realinst map InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Unlocked \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig for source SMS:Client:Default:{D6804B3A-BFEC-4AB4-BFA5-FD9BECC80630} successfully InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
RequestedConfig policy instance(s) : 0 InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Locked \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig for source SMS:CAD successfully InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Namespace: \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "SMS:CAD") AND (PolicyState = "Active") AND (PolicyType = "Machine") InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
There is no ccm_policy_policy instance, skipping addition to realinst map InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Unlocked \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig for source SMS:CAD successfully InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
RequestedConfig policy instance(s) : 0 InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Locked \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig for source CcmPortal successfully InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Namespace: \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "CcmPortal") AND (PolicyState = "Active") AND (PolicyType = "Machine") InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
There is no ccm_policy_policy instance, skipping addition to realinst map InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Unlocked \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig for source CcmPortal successfully InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
RequestedConfig policy instance(s) : 0 InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Locked \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig for source Local successfully InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
RequestedConfig policy instance(s) : 9 InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Unlocked \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig for source Local successfully InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
RequestedConfig policy instance(s) : 2357 InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Locked \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig for source CcmTaskSequence successfully InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Namespace: \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "CcmTaskSequence") AND (PolicyState = "Active") AND (PolicyType = "Machine") InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
There is no ccm_policy_policy instance, skipping addition to realinst map InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Unlocked \\CAD-92528\ROOT\ccm\policy\machine\RequestedConfig for source CcmTaskSequence successfully InstallSoftware 1/30/2014 9:47:19 AM 3276 (0x0CCC)
Total RequestedConfig policy instance(s) : 2782 InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Locked ActualConfig successfully InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
New/Changed ActualConfig policy instance(s) : 3 InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
[1] Added/updated setting 'ccm_softwaredistribution:adv_advertisementid=cad2001a:pkg_packageid=cad00097:prg_programid=mpam-fe x64'. InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
[2] Added/updated setting 'ccm_softwaredistribution:adv_advertisementid=cad2001a:pkg_packageid=cad00097:prg_programid=update nis 64'. InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
[3] Added/updated setting 'ccm_softwaredistribution:adv_advertisementid=cad2001a:pkg_packageid=cad000af:prg_programid=scep with osd xml'. InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Unlocked ActualConfig successfully InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Unlocked policy transaction lock successfully InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Raising event:
instance of CCM_PolicyAgent_SettingsEvaluationComplete
{
ClientID = "GUID:08f45043-60d0-404b-b8f8-0f7d9719650d";
DateTime = "20140130144720.754000+000";
PolicyNamespace = "\\\\cad-92528\\root\\ccm\\policy\\machine\\actualconfig";
ProcessID = 3144;
ThreadID = 3276;
};
InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Successfully submitted event to the Status Agent. InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
End TS policy evaluation InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Policy evaluation initiated InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Waiting for policy to be compiled in 'root\ccm\policy\machine' namespace InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Query path = 'CCM_SoftwareDistribution.ADV_AdvertisementID="CAD2001A",PRG_ProgramID="update NIS 64",PKG_PackageID="CAD00097"' InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Verified policy is compiled in 'root\ccm\policy\machine' namespace InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
content location count = 1 InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Checking if the active request handle: {4328D359-AAFA-4DAC-A5E8-892336CF51A5} is valid. InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
CoCreateInstance succeeded InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Active request handle: {4328D359-AAFA-4DAC-A5E8-892336CF51A5} is valid. InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Invoking Execution Manager to install software InstallSoftware 1/30/2014 9:47:20 AM 3276 (0x0CCC)
Installing software for PackageID='CAD00097' ProgramID='update NIS 64' AdvertID='CAD2001A' has started, jobID='{E073F8E3-E694-4D4C-8B6F-BED74EAA1BEE}' InstallSoftware 1/30/2014 9:47:21 AM 3276 (0x0CCC)
Setting TSEnv variable 'SMSTSInstallSoftwareJobID_CAD00097_CAD2001A_update NIS 64'='{E073F8E3-E694-4D4C-8B6F-BED74EAA1BEE}' InstallSoftware 1/30/2014 9:47:21 AM 3276 (0x0CCC)
Waiting for installation job to complete.. InstallSoftware 1/30/2014 9:47:21 AM 3276 (0x0CCC)
CompleteExecution received InstallSoftware 1/30/2014 9:47:25 AM 3160 (0x0C58)
CompleteExecution processed InstallSoftware 1/30/2014 9:47:25 AM 3160 (0x0C58)
Received job completion notification from Execution Manager InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
Installation completed with exit code 0x8007042c InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
Installation failed with error (0x8007042c) InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
Setting TSEnv variable 'SMSTSInstallSoftwareJobID_CAD00097_CAD2001A_update NIS 64'='' InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
GetExecRequestMgrInterface successful InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
Releasing job request, jobID='{E073F8E3-E694-4D4C-8B6F-BED74EAA1BEE}' InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
Releasing of Job Request successful InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
CompleteJob successful InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\CAD00097 InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
reference count 1 for the source C:\_SMSTaskSequence\Packages\CAD00097 before releasing InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
Released the resolved source C:\_SMSTaskSequence\Packages\CAD00097 InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
pInstall->Install(sPackageID, sProgramName), HRESULT=8007042c (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,361) InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
Install Software failed, hr=0x8007042c InstallSoftware 1/30/2014 9:47:25 AM 3276 (0x0CCC)
Process completed with exit code 2147943468 TSManager 1/30/2014 9:47:25 AM 2396 (0x095C)
!--------------------------------------------------------------------------------------------! TSManager 1/30/2014 9:47:25 AM 2396 (0x095C)
Failed to run the action: Install SCEP NIS Package. 
The dependency service or group failed to start. (Error: 8007042C; Source: Windows) TSManager 1/30/2014 9:47:25 AM 2396 (0x095C)

When I google the error I found the following info

0x8007042C -2147023828 Error_Service_Dependency_Fail  
0x80070433 -2147023821 ERROR_SERVICE_DEPENDENCY_DELETED

BITS service has a dependency on lanmanworkstation service in BITS 1.0 and 1.2. If Client for Microsoft networks network component is uninstalled, then lanmanworkstation service is deleted, but BITS dependency will still be present. After that, 

If I ignor the error the task completes.  I log on to the box and scep is installed.

Not really sure where to go with this error.

Free Windows Admin Tool Kit Click here and download it now
January 30th, 2014 10:16am

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

Other recent topics Other recent topics