none
Running SAS 9.4 as a package from a TS directly from the DP

    Question

  • Hi,

    I created a package to run SAS:

    The program commandline is : %WINDIR%\Sysnative\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -file.\SAS9.4_Frv1_Frv1.ps1 install Interactive -Perso: base

    So from a TS, I would like to install SAS.

    1. Is it possible to run it from the DP without any download?

    2. I will have other software to install with no problem to download them. Is it possible to download them but just running SAS from the DP? The othere software will need to be install prior SAS and will be Application.

    The SCCM Cache is 10GB and the package 20GB. I was believing the TS was not using the sccm cache but downloading in the smstasksequence directly.

    3. As soon as I start the TS, I am getting a failure with 0x80070002.

    The SMSTS.log:

    vbIsSuccessful != VARIANT_FALSE, HRESULT=80004005 (e:\qfe\nts\sms\framework\tscore\downloadcontent.cpp,324)	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    loadXML() failed.	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    ParseDAVResponse() failed. 80004005	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    ParseDAVResponse (setDirs, setFiles, bUseSSL), HRESULT=80004005 (e:\qfe\nts\sms\framework\tscore\downloadcontent.cpp,521)	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    oDavRequest.GetDirectoryListing (setDirs, setFiles), HRESULT=80004005 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,2516)	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    Download() failed. 80004005.	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    DownloadContentAndVerifyHash() failed. 80070002.	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    DownloadContentAndVerifyHash ( pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, mapNetworkAccess ), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,3052)	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    DownloadContentLocally (pszSource, sSourceDirectory, dwFlags, hUserToken, mapNetworkAccess), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,3273)	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    TS::Utility::ResolveSource(pszPkgID, sContentLoc), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\installsoftware.cpp,144)	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    Failed to resolve the source for SMS PKGID=XXX004A5, hr=0x80070002	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    GetContentLocation(pszPkgID, m_bPkgContainSrcFiles, sContentLocation), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\installsoftware.cpp,683)	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    ReleaseSource() for C:\_SMSTaskSequence\Packages\XXX004A5.	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    The user tries to release a source directory C:\_SMSTaskSequence\Packages\XXX004A5 that is either already released or we have not connected to it.	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    pInstall->Install(sPackageID, sProgramName), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,361)	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    Install Software failed, hr=0x80070002	InstallSoftware	2017-03-20 09:06:01	2280 (0x08E8)
    Process completed with exit code 2147942402	TSManager	2017-03-20 09:06:01	652 (0x028C)
    !--------------------------------------------------------------------------------------------!	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Failed to run the action: SAS 9.4 - Base. 
    Unknown error (Error: 80070002; Source: Unknown)	TSManager	2017-03-20 09:06:01	652 (0x028C)
    MP server MyServer.INTRAXXX. Ports 80,443. CRL=false.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Setting authenticator	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Set authenticator in transport	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Sending StatusMessage	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Setting message signatures.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Setting the authenticator.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    CLibSMSMessageWinHttpTransport::Send: URL: MyServer.INTRAXXX:80  CCM_POST /ccm_system/request	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Request was successful.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Set a global environment variable _SMSTSLastActionRetCode=-2147024894	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Set a global environment variable _SMSTSLastActionSucceeded=false	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Clear local default environment	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Failed to run the action: SAS 9.4 - Base. Execution has been aborted	TSManager	2017-03-20 09:06:01	652 (0x028C)
    MP server MyServer.INTRAXXX. Ports 80,443. CRL=false.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Setting authenticator	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Set authenticator in transport	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Sending StatusMessage	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Setting message signatures.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Setting the authenticator.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    CLibSMSMessageWinHttpTransport::Send: URL: MyServer.INTRAXXX:80  CCM_POST /ccm_system/request	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Request was successful.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Failed to run the last action: SAS 9.4 - Base. Execution of task sequence failed.
    Unknown error (Error: 80070002; Source: Unknown)	TSManager	2017-03-20 09:06:01	652 (0x028C)
    MP server MyServer.INTRAXXX. Ports 80,443. CRL=false.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Setting authenticator	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Set authenticator in transport	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Sending StatusMessage	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Setting message signatures.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Setting the authenticator.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    CLibSMSMessageWinHttpTransport::Send: URL: MyServer.INTRAXXX:80  CCM_POST /ccm_system/request	TSManager	2017-03-20 09:06:01	652 (0x028C)
    Request was successful.	TSManager	2017-03-20 09:06:01	652 (0x028C)
    

    Another way would be to run a script to increase the ccmcache before downloading. Is it possible to fully automate this way from a single TS?

    1. increase the cache size to 30GB

    2. Run the TS

    3. Empty the cache

    4. Bring back the cache to 10GB?

    Thanks,

    Monday, March 20, 2017 1:18 PM

Answers

  • Hi,

    It is the powershell setup script. I tested it a lot and believing it is working. A long and big script. Not sure it would be relevant here.


    Indeed it is relevant.
    • Marked as answer by FRacine Tuesday, March 21, 2017 11:38 AM
    Tuesday, March 21, 2017 4:40 AM
  • Use a batch file to install all your other applications which will be deployed and downloaded locally. Put your SAS on a network share and use command to execute from network share.  Remember to assign permission for your clients as system account does not have permission on network share by default.

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by FRacine Tuesday, March 21, 2017 11:38 AM
    Tuesday, March 21, 2017 10:24 AM
    Moderator

All replies

  • HI,

    Update 1:

    From the package - Data Access, if I check "Copy the content in this package to a package share on distribution point.

    http://blog.techygeekshome.info/2012/12/run-packages-and-task-sequences-directly-from-distribution-point-in-sccm/

    Then  in the TS I will get a new option to run from DP.

    So After running my TS again, I am still failing:

    Expand a string: FullOS	TSManager	2017-03-20 10:07:45	3260 (0x0CBC)
    Executing command line: smsswd.exe /pkg:XXX004A5 /install /basevar: /continueOnError:	TSManager	2017-03-20 10:07:45	3260 (0x0CBC)
    [ smsswd.exe ]	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    PackageID = 'XXX004A5'	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    BaseVar = '', ContinueOnError=''	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    ProgramName = 'SAS9.4_Frv1_Frv1 - Base'	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    SwdAction = '0002'	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    GetExecRequestMgrInterface successful	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Retrieving value from TSEnv for '_SMSTSPolicyXXX004A5_SAS9.4_Frv1_Frv1 - Base'	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    ::DecompressBuffer(65536)	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Decompression (zlib) succeeded: original size 3151, uncompressed size 38956.	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    ADV_AdvertisementID=XXX204D6	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    PKG_PSF_ContainsSourceFiles=TRUE	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    ResolveSource flags: 0x00000000	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    SMSTSPersistContent: . The content for package XXX004A5 will be persisted	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Package location: _SMSTSXXX004A5, http://MyServer.INTRAXXX/SMS_DP_SMSPKG$/XXX004A5,\\MyServer.INTRAXXX\SMSPKGE$\XXX004A5\	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Creating a connection to http://MyServer.INTRAXXX/SMS_DP_SMSPKG$/XXX004A5 with default account	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Connection request for "http:\\MyServer.INTRAXXX\SMS_DP_SMSPKG$\XXX004A5"	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Path is not a UNC Path.  Trying it as a local path.	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    GetFileAttributesW(sPathFile) != ((DWORD)-1), HRESULT=8007007b (e:\qfe\nts\sms\framework\tscore\tsconnection.cpp,45)	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    VerifyConnection( m_sPath ), HRESULT=8007007b (e:\qfe\nts\sms\framework\tscore\tsconnection.cpp,223)	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Failed to connect to "http:\\MyServer.INTRAXXX\SMS_DP_SMSPKG$\XXX004A5" (123).	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    reconnect(), HRESULT=8007007b (e:\qfe\nts\sms\framework\tscore\tsconnection.cpp,129)	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    connect(pszPath, pszAccount, pszPassword, L"", uFlags), HRESULT=8007007b (e:\qfe\nts\sms\framework\tscore\tsconnection.cpp,148)	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Unsuccessful in connecting to or accessing http://MyServer.INTRAXXX/SMS_DP_SMSPKG$/XXX004A5 with default account.	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Creating a connection to the share http://MyServer.INTRAXXX/SMS_DP_SMSPKG$/XXX004A5 with network access account	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Connection request for "http:\\MyServer.INTRAXXX\SMS_DP_SMSPKG$\XXX004A5"	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Path is not a UNC Path.  Trying it as a local path.	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    GetFileAttributesW(sPathFile) != ((DWORD)-1), HRESULT=8007007b (e:\qfe\nts\sms\framework\tscore\tsconnection.cpp,45)	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    VerifyConnection( m_sPath ), HRESULT=8007007b (e:\qfe\nts\sms\framework\tscore\tsconnection.cpp,223)	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Failed to connect to "http:\\MyServer.INTRAXXX\SMS_DP_SMSPKG$\XXX004A5" (123).	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    reconnect(), HRESULT=8007007b (e:\qfe\nts\sms\framework\tscore\tsconnection.cpp,129)	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    connect(pszPath, pszAccount, pszPassword, L"", uFlags), HRESULT=8007007b (e:\qfe\nts\sms\framework\tscore\tsconnection.cpp,148)	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Failed to access the share http://MyServer.INTRAXXX/SMS_DP_SMSPKG$/XXX004A5 with network access account	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    nPos != CCM::Utility::String::npos, HRESULT=80004005 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,238)	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Creating a connection to \\MyServer.INTRAXXX\SMSPKGE$\XXX004A5\ with default account	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Connection request for "\\MyServer.INTRAXXX\SMSPKGE$\XXX004A5"	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    No credentials available for connecting to "\\MyServer.INTRAXXX\SMSPKGE$\XXX004A5". See whether the share has already been connected.	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Connecting to "\\MyServer.INTRAXXX\SMSPKGE$\XXX004A5"	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Successfully connected to "\\MyServer.INTRAXXX\SMSPKGE$\XXX004A5"	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    SMS PkgID 'XXX004A5' resolved to location '\\MyServer.INTRAXXX\SMSPKGE$\XXX004A5\'	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Start to compile TS policy	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    End TS policy compilation	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    getPointer()->ExecQuery( BString(L"WQL"), BString(pszQuery), lFlags, pContext, ppEnum ), HRESULT=80041017 (e:\nts_sccm_release\sms\framework\core\ccmcore\wminamespace.cpp,463)	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Failed to query CCM_SoftwareDistribution	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Get Install Directory for SMS Client	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Start to evaluate TS policy with lock	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Locked policy transaction lock successfully	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Updating settings in \\.\root\ccm\policy\machine\actualconfig	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    RequestedConfig policy instance(s) : 436	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Locked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source SMS:Client:Default:{8864FB91-94EE-4F16-A144-0D82A232049D} successfully	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Namespace: \\.\ROOT\ccm\policy\Machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "SMS:Client:Default:{8864FB91-94EE-4F16-A144-0D82A232049D}") AND (PolicyState = "Active") AND (PolicyType = "Machine")	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    There is no ccm_policy_policy instance, skipping addition to realinst map	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Unlocked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source SMS:Client:Default:{8864FB91-94EE-4F16-A144-0D82A232049D} successfully	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    RequestedConfig policy instance(s) : 0	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    Locked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source SMS:XXX successfully	InstallSoftware	2017-03-20 10:07:45	3088 (0x0C10)
    RequestedConfig policy instance(s) : 5953	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    Unlocked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source SMS:XXX successfully	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    RequestedConfig policy instance(s) : 0	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    Locked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source CcmPortal successfully	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    Namespace: \\.\ROOT\ccm\policy\Machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "CcmPortal") AND (PolicyState = "Active") AND (PolicyType = "Machine")	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    There is no ccm_policy_policy instance, skipping addition to realinst map	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    Unlocked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source CcmPortal successfully	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    RequestedConfig policy instance(s) : 0	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    Locked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source Local successfully	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    RequestedConfig policy instance(s) : 9	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    Unlocked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source Local successfully	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    RequestedConfig policy instance(s) : 0	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    Locked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source CcmTaskSequence successfully	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    Namespace: \\.\ROOT\ccm\policy\Machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "CcmTaskSequence") AND (PolicyState = "Active") AND (PolicyType = "Machine")	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    There is no ccm_policy_policy instance, skipping addition to realinst map	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    Unlocked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source CcmTaskSequence successfully	InstallSoftware	2017-03-20 10:07:46	3088 (0x0C10)
    Total RequestedConfig policy instance(s) : 6398	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Locked ActualConfig successfully	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    New/Changed ActualConfig policy instance(s) : 6	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    [1] Added/updated setting 'ccm_softwaredistribution:adv_advertisementid=XXX204d6:pkg_packageid=XXX004a5:prg_programid=sas9.4_frv1_frv1 - base'.	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    [2] Added/updated setting 'inventorydataitem:dataitemid={1c52b11e-7b65-4a7b-a86d-e9fb5d628f5a}:itemclass=filesystemfile:namespace=\\.\root\ccm\invagt'.	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    [3] Added/updated setting 'inventorydataitem:dataitemid={588efb96-fdbe-42a0-9f9c-4b1a079c394a}:itemclass=win32reg_smsguestvirtualmachine:namespace=\\.\root\cimv2'.	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    [4] Added/updated setting 'inventorydataitem:dataitemid={c55030c7-9b65-4a4f-9587-a7a1cafc7c46}:itemclass=win32reg_addremoveprograms64:namespace=\\localhost\root\cimv2'.	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    [5] Added/updated setting 'inventorydataitem:dataitemid={d36fe83b-49d9-44d6-b322-a1c890cd40cf}:itemclass=win32reg_addremoveprograms:namespace=\\localhost\root\cimv2'.	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    [6] Added/updated setting 'inventorydataitem:dataitemid={e664b7ce-4a67-4e31-a1ec-3aa8e2398479}:itemclass=win32reg_smsguestvirtualmachine64:namespace=\\.\root\cimv2'.	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Unlocked ActualConfig successfully	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Unlocked policy transaction lock successfully	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Raising event:
    instance of CCM_PolicyAgent_SettingsEvaluationComplete
    {
    	ClientID = "GUID:32f57337-4e7c-4c27-86d6-e9cdfa48ab96";
    	DateTime = "20170320140747.519000+000";
    	PolicyNamespace = "\\\\.\\root\\ccm\\policy\\machine\\actualconfig";
    	ProcessID = 3212;
    	ThreadID = 3088;
    };
    	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Successfully submitted event to the Status Agent.	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    End TS policy evaluation	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Policy evaluation initiated	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Waiting for policy to be compiled in 'root\ccm\policy\machine' namespace 	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Query path = 'CCM_SoftwareDistribution.ADV_AdvertisementID="XXX204D6",PRG_ProgramID="SAS9.4_Frv1_Frv1 - Base",PKG_PackageID="XXX004A5"'	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Verified policy is compiled in 'root\ccm\policy\machine' namespace	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    content location count = 1	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Checking if the active request handle: {B00074A1-8E2F-4F16-BE4B-2F5C80DA8AE3} is valid.	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    CoCreateInstance succeeded	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Active request handle: {B00074A1-8E2F-4F16-BE4B-2F5C80DA8AE3} is valid.	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Invoking Execution Manager to install software 	InstallSoftware	2017-03-20 10:07:47	3088 (0x0C10)
    Installing software for PackageID='XXX004A5' ProgramID='SAS9.4_Frv1_Frv1 - Base' AdvertID='XXX204D6' has started, jobID='{3C28977B-83B0-4608-93BD-C8D3E086DE4F}'	InstallSoftware	2017-03-20 10:07:48	3088 (0x0C10)
    Setting TSEnv variable 'SMSTSInstallSoftwareJobID_XXX004A5_XXX204D6_SAS9.4_Frv1_Frv1 - Base'='{3C28977B-83B0-4608-93BD-C8D3E086DE4F}'	InstallSoftware	2017-03-20 10:07:48	3088 (0x0C10)
    Waiting for installation job to complete..	InstallSoftware	2017-03-20 10:07:48	3088 (0x0C10)
    CompleteExecution received	InstallSoftware	2017-03-20 10:08:01	3108 (0x0C24)
    CompleteExecution processed	InstallSoftware	2017-03-20 10:08:01	3108 (0x0C24)
    Received job completion notification from Execution Manager	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    Installation completed with exit code 0x80070001	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    Installation failed with error (0x80070001)	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    Setting TSEnv variable 'SMSTSInstallSoftwareJobID_XXX004A5_XXX204D6_SAS9.4_Frv1_Frv1 - Base'=''	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    GetExecRequestMgrInterface successful	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    Releasing job request, jobID='{3C28977B-83B0-4608-93BD-C8D3E086DE4F}'	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    Releasing of Job Request successful	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    CompleteJob successful	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    ReleaseSource() for \\MyServer.INTRAXXX\SMSPKGE$\XXX004A5\.	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    reference count 1 for the source \\MyServer.INTRAXXX\SMSPKGE$\XXX004A5\ before releasing	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    Released the resolved source \\MyServer.INTRAXXX\SMSPKGE$\XXX004A5\	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    pInstall->Install(sPackageID, sProgramName), HRESULT=80070001 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,361)	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    Install Software failed, hr=0x80070001	InstallSoftware	2017-03-20 10:08:01	3088 (0x0C10)
    Process completed with exit code 2147942401	TSManager	2017-03-20 10:08:01	3260 (0x0CBC)
    !--------------------------------------------------------------------------------------------!	TSManager	2017-03-20 10:08:01	3260 (0x0CBC)
    Failed to run the action: SAS 9.4 - Base. 
    Unknown error (Error: 80070001; Source: Unknown)	TSManager	2017-03-20 10:08:01	3260 (0x0CBC)
    MP server MyServer.INTRAXXX. Ports 80,443. CRL=false.	TSManager	2017-03-20 10:08:01	3260 (0x0CBC)
    Setting authenticator	TSManager	2017-03-20 10:08:01	3260 (0x0CBC)
    Set authenticator in transport	TSManager	2017-03-20 10:08:01	3260 (0x0CBC)
    Sending StatusMessage	TSManager	2017-03-20 10:08:01	3260 (0x0CBC)
    Setting message signatures.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Setting the authenticator.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    CLibSMSMessageWinHttpTransport::Send: URL: MyServer.INTRAXXX:80  CCM_POST /ccm_system/request	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Request was successful.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Set a global environment variable _SMSTSLastActionRetCode=-2147024895	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Set a global environment variable _SMSTSLastActionSucceeded=false	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Clear local default environment	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Failed to run the action: SAS 9.4 - Base. Execution has been aborted	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Failed to run the action: SAS 9.4 - Base. Execution has been aborted	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    MP server MyServer.INTRAXXX. Ports 80,443. CRL=false.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Setting authenticator	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Set authenticator in transport	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Sending StatusMessage	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Setting message signatures.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Setting the authenticator.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    CLibSMSMessageWinHttpTransport::Send: URL: MyServer.INTRAXXX:80  CCM_POST /ccm_system/request	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Request was successful.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Failed to run the last action: SAS 9.4 - Base. Execution of task sequence failed.
    Unknown error (Error: 80070001; Source: Unknown)	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    MP server MyServer.INTRAXXX. Ports 80,443. CRL=false.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Setting authenticator	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Set authenticator in transport	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Sending StatusMessage	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Setting message signatures.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Setting the authenticator.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    CLibSMSMessageWinHttpTransport::Send: URL: MyServer.INTRAXXX:80  CCM_POST /ccm_system/request	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Request was successful.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,923)	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Task Sequence Engine failed! Code: enExecutionFail	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    ****************************************************************************	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Task sequence execution failed with error code 80004005	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Cleaning Up.	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Removing Authenticator	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (e:\qfe\nts\sms\framework\ccmutillib\ccmutillib.cpp,1660)	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Cleaning up task sequence folder	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    dwAttributes != INVALID_FILE_ATTRIBUTES, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\core\ccmcore\ccmfile.cpp,211)	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    File "C:\_SMSTaskSequence\TSEnv.dat" does not exist. (Code 0x80070002)	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,508)	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Successfully unregistered Task Sequencing Environment COM Interface.	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Command line for extension .exe is "%1" %*	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Set command line: "C:\WINDOWS\CCM\TsProgressUI.exe" /Unregister	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Executing command line: "C:\WINDOWS\CCM\TsProgressUI.exe" /Unregister	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    ==========[ TsProgressUI started in process 3336 ]==========	TsProgressUI	2017-03-20 10:08:10	3292 (0x0CDC)
    Command line: "C:\WINDOWS\CCM\TsProgressUI.exe" /Unregister	TsProgressUI	2017-03-20 10:08:10	3292 (0x0CDC)
    Unregistering COM classes	TsProgressUI	2017-03-20 10:08:10	3292 (0x0CDC)
    Unregistering class objects	TsProgressUI	2017-03-20 10:08:10	3292 (0x0CDC)
    Shutdown complete.	TsProgressUI	2017-03-20 10:08:10	3292 (0x0CDC)
    Process completed with exit code 0	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Successfully unregistered TS Progress UI.	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Setting program history for XXX004A4:*	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Opening the task sequence key HKLM\Software\Microsoft\SMS\Task Sequence	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Deleting the package ID from registry key HKLM\Software\Microsoft\SMS\Task Sequence\Package	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Deleting the program ID from registry key HKLM\Software\Microsoft\SMS\Task Sequence\Program	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Start to cleanup TS policy	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    TS deleting 'CCM_SoftwareDistribution.PolicyID="DEP-XXX204D6-XXX004A5-1A71D205",PolicyInstanceID="{8BEB51F1-CB0C-47D6-B010-88CF299A7747}",PolicyRuleID="{f0f95436-4ed9-47a1-b7e2-4a603cd10a95}",PolicySource="CcmTaskSequence",PolicyVersion="4.00"'.	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    TS Deleted 1 instances	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    TS Policy cleanup done	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    End TS policy cleanup	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Get Install Directory for SMS Client	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Start to evaluate TS policy with lock	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Locked policy transaction lock successfully	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Updating settings in \\.\root\ccm\policy\machine\actualconfig	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    RequestedConfig policy instance(s) : 436	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Locked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source SMS:Client:Default:{8864FB91-94EE-4F16-A144-0D82A232049D} successfully	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Namespace: \\.\ROOT\ccm\policy\Machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "SMS:Client:Default:{8864FB91-94EE-4F16-A144-0D82A232049D}") AND (PolicyState = "Active") AND (PolicyType = "Machine")	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    There is no ccm_policy_policy instance, skipping addition to realinst map	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Unlocked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source SMS:Client:Default:{8864FB91-94EE-4F16-A144-0D82A232049D} successfully	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    RequestedConfig policy instance(s) : 0	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Locked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source SMS:XXX successfully	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    RequestedConfig policy instance(s) : 5953	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Unlocked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source SMS:XXX successfully	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    RequestedConfig policy instance(s) : 0	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Locked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source CcmPortal successfully	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Namespace: \\.\ROOT\ccm\policy\Machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "CcmPortal") AND (PolicyState = "Active") AND (PolicyType = "Machine")	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    There is no ccm_policy_policy instance, skipping addition to realinst map	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Unlocked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source CcmPortal successfully	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    RequestedConfig policy instance(s) : 0	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Locked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source Local successfully	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    RequestedConfig policy instance(s) : 9	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Unlocked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source Local successfully	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    RequestedConfig policy instance(s) : 0	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Locked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source CcmTaskSequence successfully	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Namespace: \\.\ROOT\ccm\policy\Machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "CcmTaskSequence") AND (PolicyState = "Active") AND (PolicyType = "Machine")	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    There is no ccm_policy_policy instance, skipping addition to realinst map	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Unlocked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source CcmTaskSequence successfully	TSManager	2017-03-20 10:08:10	3260 (0x0CBC)
    Total RequestedConfig policy instance(s) : 6398	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Locked ActualConfig successfully	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    New/Changed ActualConfig policy instance(s) : 6	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    [1] Added/updated setting 'ccm_softwaredistribution:adv_advertisementid=XXX204d6:pkg_packageid=XXX004a5:prg_programid=sas9.4_frv1_frv1 - base'.	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    [2] Added/updated setting 'inventorydataitem:dataitemid={1c52b11e-7b65-4a7b-a86d-e9fb5d628f5a}:itemclass=filesystemfile:namespace=\\.\root\ccm\invagt'.	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    [3] Added/updated setting 'inventorydataitem:dataitemid={588efb96-fdbe-42a0-9f9c-4b1a079c394a}:itemclass=win32reg_smsguestvirtualmachine:namespace=\\.\root\cimv2'.	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    [4] Added/updated setting 'inventorydataitem:dataitemid={c55030c7-9b65-4a4f-9587-a7a1cafc7c46}:itemclass=win32reg_addremoveprograms64:namespace=\\localhost\root\cimv2'.	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    [5] Added/updated setting 'inventorydataitem:dataitemid={d36fe83b-49d9-44d6-b322-a1c890cd40cf}:itemclass=win32reg_addremoveprograms:namespace=\\localhost\root\cimv2'.	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    [6] Added/updated setting 'inventorydataitem:dataitemid={e664b7ce-4a67-4e31-a1ec-3aa8e2398479}:itemclass=win32reg_smsguestvirtualmachine64:namespace=\\.\root\cimv2'.	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Unlocked ActualConfig successfully	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Unlocked policy transaction lock successfully	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Raising event:
    instance of CCM_PolicyAgent_SettingsEvaluationComplete
    {
    	ClientID = "GUID:32f57337-4e7c-4c27-86d6-e9cdfa48ab96";
    	DateTime = "20170320140812.958000+000";
    	PolicyNamespace = "\\\\.\\root\\ccm\\policy\\machine\\actualconfig";
    	ProcessID = 2580;
    	ThreadID = 3260;
    };
    	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Successfully submitted event to the Status Agent.	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    End TS policy evaluation	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Policy evaluation initiated	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    g_TSManager.Run(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,452)	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    ::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,811)	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    GetTsRegValue() is unsuccessful. 0x80070002.	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    End program: 	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Error executing Task Sequence Manager service. Code 0x80004005	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Sending error status message	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    MP server MyServer.INTRAXXX. Ports 80,443. CRL=false.	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Setting authenticator	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Set authenticator in transport	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Sending StatusMessage	TSManager	2017-03-20 10:08:12	3260 (0x0CBC)
    Setting message signatures.	TSManager	2017-03-20 10:08:13	3260 (0x0CBC)
    Setting the authenticator.	TSManager	2017-03-20 10:08:13	3260 (0x0CBC)
    CLibSMSMessageWinHttpTransport::Send: URL: MyServer.INTRAXXX:80  CCM_POST /ccm_system/request	TSManager	2017-03-20 10:08:13	3260 (0x0CBC)
    Request was successful.	TSManager	2017-03-20 10:08:13	3260 (0x0CBC)
    Finalizing logging from process 2580	TSManager	2017-03-20 10:08:13	3260 (0x0CBC)
    Successfully finalized logs to SMS client log directory from C:\WINDOWS\CCM\Logs	TSManager	2017-03-20 10:08:13	3260 (0x0CBC)
    
    MP server MyServer.INTRAXXX. Ports 80,443. CRL=false.	TSManager	2017-03-20 10:08:02	3260 (0x0CBC)
    Setting authenticator	TSManager	2017-03-20 10


    • Edited by FRacine Monday, March 20, 2017 2:21 PM
    Monday, March 20, 2017 2:18 PM
  • From the above: "Installation completed with exit code 0x80070001"

    This is an exit code being returned from the command-line that you supplied so is outside the scope of control of ConfigMgr. Thus, you need to troubleshoot your command-line.

    Also, is this a task sequence to just deploy a single-application? If so, why use a TS for this?


    Jason | http://blog.configmgrftw.com | @jasonsandys

    Monday, March 20, 2017 2:33 PM
  • Hi,

    In this TS, I will deploy applications as requirements for SAS. So SAS will not be alone.

    What is wrong for that commandline:

     %WINDIR%\Sysnative\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -file.\SAS9.4_Frv1_Frv1.ps1 install Interactive -Perso: base

    May be the dot just after -file... I will give a try.

    About sizing cache during a TS. Would you suggest me a way to increase the case during the TS? The cache need to be increase before the SAS would download and after the TS I would need to get back the TS to its original size.

    I manually changed the cache size to 30GB. Now smsts is saying donwloading to  C:\_SMSTaskSequence\Packages\XXX004A5. Does it means that directory has the same settings than the cache?

    thanks,


    Monday, March 20, 2017 2:47 PM
  • > "What is wrong for that commandline"

    It's not the command-line itself that is necessarily wrong, but whatever is being called is returning an exit code of 1. Sometimes this can be a problem with the syntax of the command-line but it's often what the command does that causes the exit code.

    This script will change the cache for you: http://cm12sdk.net/?p=2250


    Jason | http://blog.configmgrftw.com | @jasonsandys

    Monday, March 20, 2017 3:03 PM
  • What's in the SAS9.4_Frv1_Frv1.ps1 -file you're calling out? Post the script.

    Monday, March 20, 2017 7:03 PM
  • Hi,

    It is the powershell setup script. I tested it a lot and believing it is working. A long and big script. Not sure it would be relevant here.

    Monday, March 20, 2017 7:23 PM
  • Hi,

    It is the powershell setup script. I tested it a lot and believing it is working. A long and big script. Not sure it would be relevant here.


    Indeed it is relevant.
    • Marked as answer by FRacine Tuesday, March 21, 2017 11:38 AM
    Tuesday, March 21, 2017 4:40 AM
  • Use a batch file to install all your other applications which will be deployed and downloaded locally. Put your SAS on a network share and use command to execute from network share.  Remember to assign permission for your clients as system account does not have permission on network share by default.

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by FRacine Tuesday, March 21, 2017 11:38 AM
    Tuesday, March 21, 2017 10:24 AM
    Moderator