Deployment and Imaging Group

 View Only
Expand all | Collapse all

Unable to Create Image with Deployment Solution 7.5 SP1 HF2

  • 1.  Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Sep 27, 2014 04:02 PM

    Hi,

     

    I am trying to create a windows 8 Image but it does not move farword from Prepare for Image Capture task its in log viewer it give warnnings countinusly as

     

    The handler 'GetTasks' is failed to process request. Called without 'resourceGuid' parameter or with invalid.
    -----------------------------------------------------------------------------------------------------
    Date: 9/27/2014 12:30:02 PM, Tick Count: 13624690 (03:47:04.6900000), Host Name: NS75, Size: 373 B
    Process: w3wp (1648), Thread ID: 5, Module: w3wp.exe
    Priority: 2, Source: Altiris.TaskManagement.Common.XmlHttp.BaseXmlHttpCallback.LogResponseException
    File: C:\ProgramData\Symantec\SMP\Logs\a.log

    and so on.

     

    kindly advise for the solution.

     

    regards

    Hussain



  • 2.  RE: Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Oct 01, 2014 11:52 PM

    THAT message looks like the task handler isn't working at all.  Do any tasks arrive at the workstation?  That is, if you were to make a quick script task maybe a one-liner to just do like a popup message box in VBScript, would the workstation get it?  I like to set the script task with the name of "HI" and just one line:

    msgbox "hi"

    Then under advanced, set it to run under the currently logged on user.  Assign it to a workstation you're actively watching / logged on to, and see if it gets there.

    If not, you're problem is bigger than DS.  It could be the agent isn't finished installing or... well, several things.  But that's a starting point.  It SOUNDS like the prepare for image capure task isn't running at all.  Is that what it LOOKS liike?



  • 3.  RE: Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Oct 03, 2014 01:50 AM

    Hi Thomas Baird,

    I already check it runs other tasks and also the script but Prepare for image capture job fails but sysprep runs because it change the domain of target system to workgroup and name the work group .

    My domain is = test.sym

    after running sysprep it shows

    workgroup = test

    and job keep running untill I stop it. or if I restart the computer it rerun the task Prepare for Image capture any suggestions.

    Also I have run this Job on other systems and some time it works fine but most of time it fails.

    Note: I was using 7.5 and recently upgraded to SP1

    regards

     

    Hussain



  • 4.  RE: Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Oct 07, 2014 04:59 AM

    You say Sysprep runs, or keeps running.  Generally, if Sysprep is running and never stops, it's because the rearm count is too low.  You can check this in the OS in a command prompt:

    slmgr /dlv

    if the rearm count is too low, you would have a problem.  It is an issue with Vista and Windows 7 but should not be a problem in Windows 8.1

    see if that is the issue.  If the rearm count is too low, then sysprep will start but never finish.



  • 5.  RE: Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Oct 13, 2014 06:14 AM

    Hi Thomas,

    Thanks for your respone but I am not sure it was a problem with rearm count because I was using Virtual machine and I recreated new VM and also restart the Network Boot services with new PXE environment and its working. but still I am not sure why this problem was I will keep trying and if I face same problem I will try to check with rearm count.

    regards

     

    Hussain



  • 6.  RE: Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Dec 08, 2014 10:17 AM

    I'm having the same issue. Prepare for image process starts, but never finishes. I can run other scripts on the machine. This is a windows 8.1 machine. Below is what I keep seeing in the logs. 

    <event date='12/08/2014 10:10:03.9510000 -05:00' severity='2' hostName='bid24580' source='CAtrsException' module='client task agent.dll' process='AeXNSAgent.exe' pid='3732' thread='4696' tickCount='267093' >
      <![CDATA[CTaskAgentBase::_OnUpdateTasks(): CAtrsException exception, error = "Unable to update active task list", OS error = 2147942407, at line 558
        re-throw at CTaskAgentBase::_updateRemoteTasks]]>
    </event>
    <event date='12/08/2014 10:10:34.0460000 -05:00' severity='2' hostName='bid24580' source='CAtrsException' module='client task agent.dll' process='AeXNSAgent.exe' pid='3732' thread='4696' tickCount='297187' >
      <![CDATA[CTaskServerNetCommsConnection::GetTaskInstances(): CTaskServerOperationException exception, error = "The handler 'GetTasks' is failed to process request. Called without 'resourceGuid' parameter or with invalid.", OS error = 7, at CTaskServerOperationException::CTaskServerOperationException
        re-throw at CTaskServerNetCommsConnection::_checkResponse
        re-throw at CTaskServerNetCommsConnection::_ExtractAndCheckResponse
        re-throw at CTaskServerNetCommsConnection::_CallMethod
        re-throw at CTaskServerNetCommsConnection::_CallMethod
        re-throw at CTaskServerNetCommsConnection::_Post
        re-throw at CTaskServerNetCommsConnection::_PostToTaskServer
        re-throw at CTaskServerNetCommsConnection::GetTaskInstances]]>
    </event>

     



  • 7.  RE: Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Dec 08, 2014 12:04 PM

    Hi SamTarr,

    1 - please keep in mind the following known issue:

    "The Prepare for Image capture task fails on a computer with Windows 8.1 Update 1"

    as from page 15 of the release notes below:

    http://www.symantec.com/docs/DOC7940

    if this applies to your case please try implementing the workaround.

     

    2 - As Thomas wrote above, check the rearm count:

    slmgr /dlv

     

    3 - Probably not related to this but as best practice remember to use the FQDN when setting up the "prepare for image capture task"

    53.jpg

     

     

    Regards,

    Mauro



  • 8.  RE: Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Dec 08, 2014 01:43 PM

    Thanks for the response. It wasn't actaully failing, just never finishing. I went ahead and tried the work around anyway and it didn't solve this issue. I also checked the rearm acount and its at 1000.

    If I run sysprep thourgh windows an run a command to reset the SMA GUID then reboot to PXE would that have the same results as the prepare for image capture task? 



  • 9.  RE: Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Dec 08, 2014 05:39 PM

    Hi SamTarr,

    DS 7.x: "the Prepare for Image Capture task is the only supported method of capturing a disk image"

    The article also include "Doing things manually"

    http://www.symantec.com/docs/HOWTO2169

     

    1 - I would run sysprep through Windows for troubleshooting purposes to see if it returns an error

    2 - I would use the below article instructions to "clean up" the image and then I would run again the prepare for image capture (I have not yet tested this with windows 8.1 update 1):

    https://www-secure.symantec.com/connect/articles/how-sysprep-windows-vista-7-or-8-image-more-three-times

     

    Mauro

     



  • 10.  RE: Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Dec 09, 2014 10:39 AM

    I was able to reproduce and fix a very similar issue in the LAB with Windows8, please check if it applies to your case:

    https://www-secure.symantec.com/connect/blogs/ds-75-prepare-image-capture-task-running-indefinitely-waiting-agent-get-task-windows8windows81

     

     

    Regards,

    Mauro

     



  • 11.  RE: Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Dec 10, 2014 11:36 AM

    Thanks for all your help. It ended up being a bitlocker issue. When I disabled secure boot so I could PXE booth the tablet enabled bitlocker and I didn't know it. This was casusing sysprep to error. I never saw the error when running the task probably because it runs as system, but when I ran it by hand it came up. Sorry to have wasted your time. 



  • 12.  RE: Unable to Create Image with Deployment Solution 7.5 SP1 HF2

    Posted Dec 10, 2014 11:55 AM

    Hi SamTarr,

     

    thank you for the update, no waste of time at all. I am sure this will be helpful to other people ending up here on this post.

    True, the console is not returning the sysprep errors.

    Running sysprep via command line and analyzing the sysprep logs can help troubleshoot the issue.

     

    Thank you,

    Regards

    Mauro