myITforum and Windows IT Pro Forums

 Reinstall PC thru Add & Remove Failure - Error...

Author Message
r2000

  • Total Posts : 253
  • Scores: 1
  • Reward points : 16480
  • Joined: 9/8/2005
  • Status: offline
Reinstall PC thru Add & Remove Failure - Error... Tuesday, November 02, 2010 11:34 AM (permalink)
0
Hi.
Note:SCCM site in Native Mode.

I trying to findout why my reinstall solution don’t work from Add & Remove programs, the same Task Sequence work with PXE deployments without any problem.
The SCCM Advertisement log shows this error.
The program for advertisement "XXX201F9" failed ("XXX001EC" - "*"). A failure exit code of 87 was returned.
User context: NT AUTHORITY\SYSTEM

In the SMSTS.log I get the following error.
Environment scope "Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}" successfully created                                          TSLauncher                 11/2/2010 4:03:52 PM                                            1876 (0x0754)

Environment scope "Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}" successfully created                                          TSLauncher                 11/2/2010 4:03:52 PM                                            1876 (0x0754)
Created environment                                     TSLauncher                 11/2/2010 4:03:52 PM                                  1876 (0x0754)
Setting LogMaxSize to 250000                 TSLauncher                 11/2/2010 4:03:52 PM                                  1876 (0x0754)
Setting LogMaxHistory to 1                        TSLauncher                 11/2/2010 4:03:52 PM                                  1876 (0x0754)
Setting LogLevel to 1                                      TSLauncher                 11/2/2010 4:03:52 PM                                  1876 (0x0754)
Setting LogEnabled to 1                                TSLauncher                 11/2/2010 4:03:53 PM                                  1876 (0x0754)
Setting LogDebug to 0                                   TSLauncher                 11/2/2010 4:03:53 PM                                  1876 (0x0754)
GetPrivateProfileString() failed to get SMS Client GUID from file. Code 0x00000000                       TSLauncher                 11/2/2010 4:03:53 PM                                  1876 (0x0754)
!m_sGUID.empty(), HRESULT=80070057 (e:\nts_sms_fre\sms\client\tasksequence\launcher\tslaunchinfo.cpp,66)                                           TSLauncher                 11/2/2010 4:03:53 PM                 1876 (0x0754)
GetClientCertStore(), HRESULT=80070057 (e:\nts_sms_fre\sms\client\tasksequence\launcher\tslaunchinfo.cpp,292)                                   TSLauncher                 11/2/2010 4:03:53 PM                 1876 (0x0754)
Error getting package location and access account information. Code 0x80070057                           TSLauncher                 11/2/2010 4:03:53 PM                                  1876 (0x0754)
TSLaunchInfo.GetTSLaunchInfo(), HRESULT=80070057 (e:\nts_sms_fre\sms\client\tasksequence\launcher\tslauncher.cpp,674)             TSLauncher                 11/2/2010 4:03:53 PM                 1876 (0x0754)
Error initializing TS environment. Code 0x80070057         TSLauncher                 11/2/2010 4:03:53 PM                                  1876 (0x0754)
InitializeEnvironment(), HRESULT=80070057 (e:\nts_sms_fre\sms\client\tasksequence\launcher\tslauncher.cpp,962)                                  TSLauncher                 11/2/2010 4:03:53 PM                 1876 (0x0754)
Task sequence launcher advertisement failed!. Code 0x80070057                     TSLauncher                 11/2/2010 4:03:53 PM                                  1876 (0x0754)
**Please cleanup TSM directory before you rerun the advert**                          TSLauncher                 11/2/2010 4:03:53 PM                                  1876 (0x0754)
Finalizing logging from process 252      TSLauncher                 11/2/2010 4:03:53 PM                                  1876 (0x0754)
Successfully finalized logs to SMS client log directory from C:\WINDOWS\system32\CCM\Logs TSLauncher                 11/2/2010 4:03:53 PM                                  1876 (0x0754)
Cleaning up task sequencing logging configuration.             TSLauncher                 11/2/2010 4:03:53 PM                                  1876 (0x0754)
!sVolumeID.empty(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,467)                 TSLauncher                 11/2/2010 4:03:53 PM                                            1876 (0x0754)
!sTSMDataPath.empty(), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,1395)      TSLauncher                 11/2/2010 4:03:53 PM                                            1876 (0x0754)
 

In the SMSTS.log I get the following error
Script for Package:XXX001EC, Program: * failed with exit code 87

CAS.log
Looking good…

I’m sure the Boundaries, and the Network Account is correct (It’s working from PXE).
Every package in the TS is available on the clients MP…
Other packages working fine to install from add & remove.

The TS is advertised with (Access content directly from a distribution point when needed by a running task sequence & When no protected distribution point is available, use an unprotected distribution point
BR
r2000

 
 
 
#1
    flangeland

    • Total Posts : 26
    • Scores: 0
    • Reward points : 24070
    • Joined: 7/4/2008
    • Status: offline
    Re:Reinstall PC thru Add & Remove Failure - Error... Wednesday, November 03, 2010 10:33 AM (permalink)
    0
    Quick question,
    the TS is advertised to the machine and not the user?
    Task sequences will not work when advertised to a user.
     
    #2
      r2000

      • Total Posts : 253
      • Scores: 1
      • Reward points : 16480
      • Joined: 9/8/2005
      • Status: offline
      Re:Reinstall PC thru Add & Remove Failure - Error... Thursday, November 04, 2010 8:54 AM (permalink)
      0
      It's advertised to the Computer..
       
      #3
        r2000

        • Total Posts : 253
        • Scores: 1
        • Reward points : 16480
        • Joined: 9/8/2005
        • Status: offline
        Re:Reinstall PC thru Add & Remove Failure - Error... Thursday, November 11, 2010 4:09 AM (permalink)
        0
        Hi!.
        I found the problem; it’s related to my Client Registration.
        This problem occurs in Native mode, if a computer is installed with hostname that already exist in SCCM.

        The new client will not be able to registration correct, “if there is an old sccm object with same hostname”.  Everything works except Task Sequence in windows Mode, the old client record is still there in the database and therefore the Management Point thinks here that we have a valid client. Hence it returns all the policies, inventory data which is then sent to the Management Point.
        This problem is reported as a Bug in SCCM and will be fixed in vNext...
        So I need to find a script to delete the old sccm object during my Task Sequence Pxe Computer deployment, or delete the clientkeydata “delete from clientkeydata where smsid = (select sms_unique_identifier0 from system_disc where name0 = '<client>')”
        So I looking for a script like this, anyone?
        BR
        r2000

         
        #4
          Online Bookmarks Sharing: Share/Bookmark

          Jump to:

          Current active users

          There are 0 members and 1 guests.

          Icon Legend and Permission

          • New Messages
          • No New Messages
          • Hot Topic w/ New Messages
          • Hot Topic w/o New Messages
          • Locked w/ New Messages
          • Locked w/o New Messages
          • Read Message
          • Post New Thread
          • Reply to message
          • Post New Poll
          • Submit Vote
          • Post reward post
          • Delete my own posts
          • Delete my own threads
          • Rate post

          2000-2014 ASPPlayground.NET Forum Version 3.9