none
An invalid SLShare value of \\SERVERNAME\DeploymentLogs$ was specified RRS feed

  • Question

  • I have problems when I deploy a laptop which has been deployed once before, it fails with the message: An invalid SLShare value of \\SERVERNAME\DeploymentLogs$ was specified.

    I configured in my CustomSettings.ini where the Deployment Logs are stored in: SLShare=\\SERVERNAME\DeploymentLogs$

    I shared the folder and set full permissions for everyone. 

    My service account can create, delete the existing logs files.

    The following steps I perform when I redeploy a computer which has been deployed once before:

    • Delete Computer the log folder under: \\SERVERNAME\DeploymentLogs$
    • Execute the following commands on the computer:
    • diskpart

           select disk 0

           clean

    • Restart WDS Service

    The error only appears that were deployed in the past already. Not with new ones. The mysterious part is that it always fails when it installs CitrixReceiver with the following command:

    CitrixReceiver.exe /silent

    If I disable Citrix the next application (Office) fails with the same error. The previous applications like 7zip, Acrobat Reader DC never fail.

    Does anyone have a idea how to fix this? Every help is appreciated :)

    Result.xml:

    <?xml version="1.0"?>
    
    -<Results>
    
    <Errors>9</Errors>
    
    <Warnings>3</Warnings>
    
    <RetVal>-2147467259</RetVal>
    
    <DeploymentType>NEWCOMPUTER</DeploymentType>
    
    
    -<Messages>
    
    <![CDATA[Litetouch deployment failed, Return Code = -2147467259 0x80004005 An invalid SLShare value of \\WDSAP01\DeploymentLogs$ was specified. Failed to run the action: Install CitrixReceiver. Incorrect function. (Error: 00000001; Source: Windows) The execution of the group (State Restore) has failed and the execution has been aborted. An action failed. Operation aborted (Error: 80004004; Source: Windows) Failed to run the last action: Install CitrixReceiver. Execution of task sequence failed. Incorrect function. (Error: 00000001; Source: Windows) Task Sequence Engine failed! Code: enExecutionFail Task sequence execution failed with error code 80004005 SetNamedSecurityInfo() failed. SetObjectOwner() failed. 0x80070005. RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram GetTsRegValue() is unsuccessful. 0x80070002. Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]]>
    
    </Messages>
    
    </Results>

    Task Sequence:

    Install 7zip

    Install Acrobat Reader DC

    Install Checkpoint

    Install Citrix Receiver <- point of failure

    Install Office

    .....



    end of smsts.log:

    <![LOG[Expand a string: cscript.exe "%SCRIPTROOT%\ZTIApplications.wsf"]LOG]!><time="09:54:42.070-60" date="02-02-2018" component="TSManager" context="" type="0" thread="4460" file="executionenv.cxx:783">
    <![LOG[Expand a string: ]LOG]!><time="09:54:42.070-60" date="02-02-2018" component="TSManager" context="" type="0" thread="4460" file="executionenv.cxx:783">
    <![LOG[Start executing the command line: cscript.exe "%SCRIPTROOT%\ZTIApplications.wsf"]LOG]!><time="09:54:42.070-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="instruction.cxx:723">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="09:54:42.070-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="instruction.cxx:752">
    <![LOG[Expand a string: WinPEandFullOS]LOG]!><time="09:54:42.070-60" date="02-02-2018" component="TSManager" context="" type="0" thread="4460" file="executionenv.cxx:783">
    <![LOG[Executing command line: cscript.exe "%SCRIPTROOT%\ZTIApplications.wsf"]LOG]!><time="09:54:42.070-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="commandline.cpp:828">
    <![LOG[Process completed with exit code 1]LOG]!><time="09:54:42.741-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="commandline.cpp:1124">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="09:54:42.741-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="instruction.cxx:805">
    <![LOG[Failed to run the action: Install CitrixReceiver. 
    Incorrect function. (Error: 00000001; Source: Windows)]LOG]!><time="09:54:42.741-60" date="02-02-2018" component="TSManager" context="" type="3" thread="4460" file="instruction.cxx:911">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="09:54:42.741-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="utils.cpp:6045">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=1]LOG]!><time="09:54:42.741-60" date="02-02-2018" component="TSManager" context="" type="0" thread="4460" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="09:54:42.741-60" date="02-02-2018" component="TSManager" context="" type="0" thread="4460" file="executionenv.cxx:669">
    <![LOG[Clear local default environment]LOG]!><time="09:54:42.741-60" date="02-02-2018" component="TSManager" context="" type="0" thread="4460" file="executionenv.cxx:808">
    <![LOG[Let the parent group (State Restore) decides whether to continue execution]LOG]!><time="09:54:42.741-60" date="02-02-2018" component="TSManager" context="" type="0" thread="4460" file="instruction.cxx:1020">
    <![LOG[The execution of the group (State Restore) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)]LOG]!><time="09:54:42.741-60" date="02-02-2018" component="TSManager" context="" type="3" thread="4460" file="instruction.cxx:217">
    <![LOG[Failed to run the last action: Install CitrixReceiver. Execution of task sequence failed.
    Incorrect function. (Error: 00000001; Source: Windows)]LOG]!><time="09:54:42.741-60" date="02-02-2018" component="TSManager" context="" type="3" thread="4460" file="engine.cxx:222">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="09:54:42.741-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="utils.cpp:6045">
    <![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="3" thread="4460" file="tsmanager.cpp:1125">
    <![LOG[****************************************************************************]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="tsmanager.cpp:1155">
    <![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="3" thread="4460" file="tsmanager.cpp:1156">
    <![LOG[Cleaning Up.]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="tsmanager.cpp:762">
    <![LOG[Removing Authenticator]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="tsmanager.cpp:876">
    <![LOG[Cleaning up task sequence folder]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="utils.cpp:2581">
    <![LOG[Unable to delete file C:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing.]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="ccmfile.cpp:1086">
    <![LOG[Failed to delete directory 'C:\_SMSTaskSequence']LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="2" thread="4460" file="ccmfile.cpp:1250">
    <![LOG[SetNamedSecurityInfo() failed.]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="3" thread="4460" file="utils.cpp:6944">
    <![LOG[SetObjectOwner() failed. 0x80070005.]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="3" thread="4460" file="utils.cpp:6956">
    <![LOG[RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005.]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="3" thread="4460" file="utils.cpp:7085">
    <![LOG[RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="2" thread="4460" file="utils.cpp:7169">
    <![LOG[Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="resolvesource.cpp:517">
    <![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="environmentlib.cpp:960">
    <![LOG[Executing command line: "C:\MININT\Tools\X64\TsProgressUI.exe" /Unregister]LOG]!><time="09:54:42.756-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="commandline.cpp:828">
    <![LOG[==========[ TsProgressUI started in process 1904 ]==========]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TsProgressUI" context="" type="1" thread="3104" file="winmain.cpp:330">
    <![LOG[Unregistering COM classes]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TsProgressUI" context="" type="1" thread="3104" file="winmain.cpp:204">
    <![LOG[Shutdown complete.]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TsProgressUI" context="" type="1" thread="3104" file="winmain.cpp:512">
    <![LOG[Process completed with exit code 0]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="commandline.cpp:1124">
    <![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="utils.cpp:3155">
    <![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TSManager" context="" type="2" thread="4460" file="utils.cpp:880">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TSManager" context="" type="2" thread="4460" file="utils.cpp:911">
    <![LOG[End program: ]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="tsmanager.cpp:1003">
    <![LOG[Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TSManager" context="" type="3" thread="4460" file="tsmanager.cpp:1007">
    <![LOG[Sending error status message]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="tsmanager.cpp:1008">
    <![LOG[In non SMS staqndalone mode.Ignoring SendStatusMessage request]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="tsmanager.cpp:1706">
    <![LOG[LOGGING: Setting log directory to "C:\Users\ADMINI~1\AppData\Local\Temp\".]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TSManager" context="" type="1" thread="4460" file="tslogging.cpp:2180">
    <![LOG[Process completed with exit code 2147500037]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TSMBootstrap" context="" type="1" thread="4416" file="commandline.cpp:1124">
    <![LOG[Exiting with return code 0x80004005]LOG]!><time="09:54:42.772-60" date="02-02-2018" component="TSMBootstrap" context="" type="1" thread="4416" file="tsmbootstrap.cpp:1266">
    <![LOG[Used smsts.ini to set logging settings.]LOG]!><time="09:54:42.819-60" date="02-02-2018" component="TsProgressUI" context="" type="1" thread="3092" file="tslogging.cpp:1457">
    <![LOG[==========[ TsProgressUI started in process 2488 ]==========]LOG]!><time="09:54:42.834-60" date="02-02-2018" component="TsProgressUI" context="" type="1" thread="3092" file="winmain.cpp:330">
    <![LOG[Unregistering COM classes]LOG]!><time="09:54:42.834-60" date="02-02-2018" component="TsProgressUI" context="" type="1" thread="3092" file="winmain.cpp:204">
    <![LOG[Shutdown complete.]LOG]!><time="09:54:42.834-60" date="02-02-2018" component="TsProgressUI" context="" type="1" thread="3092" file="winmain.cpp:512">
    


    Friday, February 2, 2018 9:12 AM

Answers

  • Is your "Checkpoint" an anti-virus or some security software? If so that could be your cause. I have Cisco AMP and LANrev set to install at the very end that way they don't interfere with other software installations. Perhaps change your task sequence to install that software after all other software and then set a reboot after it installs, just in case.

    As for you Log share failure it could be that it's reading an older portion of the pre-existing log (it appends information) or it could be that your computer had a MININT folder on C:\ that had never been properly removed from the last time it was imaged.


    Daniel Vega

    • Marked as answer by Flextom Monday, February 5, 2018 2:04 PM
    Friday, February 2, 2018 3:23 PM

All replies

  • Is your "Checkpoint" an anti-virus or some security software? If so that could be your cause. I have Cisco AMP and LANrev set to install at the very end that way they don't interfere with other software installations. Perhaps change your task sequence to install that software after all other software and then set a reboot after it installs, just in case.

    As for you Log share failure it could be that it's reading an older portion of the pre-existing log (it appends information) or it could be that your computer had a MININT folder on C:\ that had never been properly removed from the last time it was imaged.


    Daniel Vega

    • Marked as answer by Flextom Monday, February 5, 2018 2:04 PM
    Friday, February 2, 2018 3:23 PM
  • I moved the Checkpoint installation to the very end of the Application Installations. Seems like it fixed it. Thank you very much!

    Monday, February 5, 2018 2:04 PM