1 2 Previous Next 20 Replies Latest reply on Jan 12, 2012 2:24 AM by smaillet

    Capture Task not working

    Rookie

      Hey,

       

      When we run a capture task in the logs its appearing that it thinks the computer is off.

      We also found some issues with the account not mapping the drive.

      LOG:

      "Machine","CbaStatus","ExitCode","Duration","Begin","End","Command"
      "(OFF) 005056B31DD0","OFF","N/A","0:00:00","9/01/2012 2:44:16 PM","9/01/2012 2:44:16 PM","N/A"
      ; "Job Complete","0 Done","0 Failed","1 Off","0 Unknown"

      Thanks,

      Nathan Ashmore

        • 1. Re: Capture Task not working
          Rookie

          UPDATE:

          I have been looking at the logs and found I'm getting a Security error code 4653 (IPsec Main Mode) in the event log on the core landesk server.

          However, i am able to manually map and run the <core>\ldmain\osd\image2\imagew.exe using the same credentuals in winpe.

          Thanks,

          Nathan

          • 2. Re: Capture Task not working
            Rookie

            I was able to solve this myself.

            After rebooting the core server it started responding correctly again.

            I did also Activate Landesk again as it was pending renewal, dont think this had anything to do with the issue though.

            • 3. Re: Capture Task not working
              Rookie
              I also have a problem of image capture. The task does not start.
              You have to look at what log?
              Did you solve your problem just by rebooting the server?
              • 4. Re: Capture Task not working
                Rookie

                Yeah it seamed that way for me.

                Also make sure that the account you are using has enough permissions to read/write to your core server.

                Try an admin account first to eliminate any rights issues.

                The logs can be found on your core server under <core>\ldlogs then find the osd task that you ran.

                Once you found the log you can past it here and im sure myself or someone else will be able to help you if your unsure

                • 5. Re: Capture Task not working
                  Frank Wils ITSMMVPGroup

                  If the task doesnt start at all, also take a look at your LANDesk services if the Inventory and Scheduler services and the Management Agent service are all running properly.

                   

                  Frank

                  Axle-IT

                  • 6. Re: Capture Task not working
                    Rookie
                    I have no log for this task sequence. The problem could come from elsewhere? see the script right?

                     

                    [VALUES]
                    Task=7
                    ScriptName=CWin7x64EntSP1
                    ScriptDescription=Capture Windows 7 x64 Entreprise SP1 with ImageW V2
                    FallBackNIC=
                    UseFallBackNIC=FALSE
                    ImageUserName=administrateur
                    ImageDomain=ankama
                    ImagePassword=10808F2BE5F8D5D61851A004B79
                    ImageToolType=11
                    ImageUNC=\\ankama.lan\partages\Ankama\Admins\Landesk\Capture\x64
                    ToolUNC=\\ankama.lan\partages\Ankama\Admins\Landesk\Tools\imagew 2\imagew.exe
                    ImageToolCmd=H:\Ankama\Admins\Landesk\Tools\IMAGEW~1\imagew.exe /b /uy /d:0 /rb:0 /max:2GB /f:"""i:\Ankama\Admins\Landesk\Capture\x64\%Computer - Device Name%"""
                    [OWNER]
                    GUID=e9c315a6-5a7f-45a6-bfc8-f4bfd55bb4a5
                    OSDPLUG=TRUE
                    DESCRIPTION=Capture Windows 7 x64 Entreprise SP1 with ImageW V2
                    NAME=CWin7x64EntSP1
                    TYPE=WinPE
                    [JOBPARAM]
                    ABORT_ON_CMD_FAILURE=1
                    TASK_COMPLETION_ENABLED=FALSE
                    [MACHINES]
                    REMEXEC0=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/bootfile.exe" /disableclientqueue
                    REMEXEC1=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/tlibr16.dll" /disableclientqueue
                    REMEXEC2=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/tlibr32.dll" /disableclientqueue
                    REMEXEC3=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/lddefrag.exe" /disableclientqueue
                    REMEXEC4=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/FlushBuffer.exe" /disableclientqueue
                    REMEXEC5=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/cicfgmgr.vxd" /disableclientqueue
                    REMEXEC6=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/cindis.vxd" /disableclientqueue
                    REMEXEC7=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/copyfile.exe" /disableclientqueue
                    REMEXEC8=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/boot.img" /disableclientqueue
                    REMEXEC9=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/ChangeBCD.exe" /disableclientqueue
                    REMEXEC10=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/BCD" /disableclientqueue
                    REMEXEC11=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/files/bcdedit.exe" /disableclientqueue
                    REMEXEC12=<qt/>%LDMS_CLIENT_DIR%\ChangeBCD<qt/> <qt/>%LDMS_CLIENT_DIR%\bcdedit.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\BCD<qt/>
                    REMEXEC13=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /dest="C:\boot.wim" /p="http://%CUSTJOBHOSTIP%/landesk/vboot/boot.wim" /disableclientqueue
                    REMEXEC14=<qt/>%LDMS_CLIENT_DIR%\copyfile.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\boot.img<qt/> <qt/>%LDMS_CLIENT_DIR%\BCD<qt/> \boot\BCD
                    REMEXEC15=<qt/>%LDMS_CLIENT_DIR%\lddefrag.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\boot.img<qt/>, STATUS
                    REMEXEC16=<qt/>%LDMS_CLIENT_DIR%\FlushBuffer.exe<qt/>, STATUS
                    REMEXEC17=<qt/>%LDMS_CLIENT_DIR%\bootfile.exe<qt/> %LDMS_CLIENT_DIR%\boot.img /keep /bootunsafe, ASYNC
                    BEGINWINPE=TRUE
                    REMPING18=WINPE, TIMEOUT=1800
                    REMEXEC19=diskpart /s X:\LDClient\rmvol.txt
                    REMEXEC20=ldrun drvmap.exe ankama\administrateur 10808F2BE5F8D5D61851A004B79 I: """\\ankama.lan\partages""", STATUS FACILITY=3513
                    REMEXEC21=ldrun drvmap.exe ankama\administrateur 10808F2BE5F8D5D61851A004B79 H: """\\ankama.lan\partages""", STATUS FACILITY=3513
                    REMEXEC22=ldrun sdclient /f /o /dest="X:\LDClient\assvol.txt" /p="http://%CUSTJOBHOSTIP%/landesk/files/assvol.txt" /disableclientqueue, STATUS
                    REMEXEC23=ldrun tokreplw X:\LDClient\assvol.txt partition=2
                    REMEXEC24=diskpart /s X:\LDClient\assvol.txt
                    REMEXEC25=cmd /c del /f /q C:\boot.wim
                    REMEXEC26=ldrun H:\Ankama\Admins\Landesk\Tools\IMAGEW~1\imagew.exe /b /uy /d:0 /rb:0 /max:2GB /f:"""i:\Ankama\Admins\Landesk\Capture\x64\%Computer - Device Name%"""
                    REMEXEC27=ldrun reboot, timeout=2

                    • 7. Re: Capture Task not working
                      Rookie
                      I restart the services and does not work here.

                       

                      It is a task of capturing via pxe boot. I forgot to mention.
                      • 8. Re: Capture Task not working
                        Frank Wils ITSMMVPGroup

                        Your script looks ok. You do have connection to your core server from WinPE?

                         

                        Try also the steps in this document:

                        http://community.landesk.com/support/docs/DOC-3473

                         

                        Frank

                        Axle-IT

                        • 9. Re: Capture Task not working
                          Rookie
                          Missing LANDesk Management Agent service

                           

                          If the core does not have a LANDesk Management Agent service, you can install this service by following the steps listed below:

                          1. On the core, pull up the Start > Run window

                          2. In the field, type or paste the following command and then hit enter:

                               "C:\Program Files\LANDesk\Shared Files\residentagent.exe" /register

                           

                          It seems that the service does not install.
                          Other Problem : I can not find the log file : CoreWebServices.log
                          Verifying the PXE.amsx Web Service functionality
                          • Open  the CoreWebServices.log located in the log directory on the core  server. The log should contain lines that are similar to those listed  below:

                           

                          RunScript: started with client mac address 000C29461DD1, script GUID bc6a8a9c-3edc-4845-83fb-5e1cceb60b71
                          RunScript: completed succesfully with client mac address 000C29461DD1, script GUID bc6a8a9c-3edc-4845-83fb-5e1cceb60b71

                           

                          • Can the LANDesk PXE.asmx web page be accessed? (Note: This must be run locally on the Core Server

                          • Open a web browser on the core and type/paste the following address:

                           

                           

                           

                          http://localhost/landesk/ManagementSuite/Core/core.webservices/PXE.asmx

                           

                          This should display the web page shown below:

                           

                          • Will  the GetObjIDFromMacAddress function resolve a Mac address to a  Computer_Idn from the PXE.asmx web page? (Note: This must be run locally  from the Core Server)

                           

                          1. Click on the GetObjIDFromMACAdress link in the web site.

                          2. On the MAC Address field, enter in the mac with no spaces or dashes.

                          3. Click on the "Invoke" button to process.

                          4. The following return should be displayed:

                           

                           

                           

                          • 10. Re: Capture Task not working
                            Frank Wils ITSMMVPGroup

                            In your first screenshot you can see the LANDesk Management Agent is installed... Is it also started? Are there any errors in your custjob.log?

                             

                            Frank

                            Axle-IT

                            • 11. Re: Capture Task not working
                              Rookie

                              custjob.log :

                               

                              Thu, 17 Nov 2011 10:46:42 Custjob started...
                              Thu, 17 Nov 2011 10:46:42 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 17 Nov 2011 10:55:48 Custjob started...
                              Thu, 17 Nov 2011 10:55:48 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 17 Nov 2011 11:07:28 Custjob started...
                              Thu, 17 Nov 2011 11:07:28 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 17 Nov 2011 11:27:31 Custjob started...
                              Thu, 17 Nov 2011 11:27:31 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 17 Nov 2011 12:32:09 Custjob started...
                              Thu, 17 Nov 2011 12:32:09 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 17 Nov 2011 16:28:45 Custjob started...
                              Thu, 17 Nov 2011 16:28:45 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 17 Nov 2011 17:31:25 Custjob started...
                              Thu, 17 Nov 2011 17:31:25 Commandline: /OBJID=19 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 18 Nov 2011 15:47:20 Custjob started...
                              Fri, 18 Nov 2011 15:47:20 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 18 Nov 2011 16:25:31 Custjob started...
                              Fri, 18 Nov 2011 16:25:31 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 18 Nov 2011 17:18:25 Custjob started...
                              Fri, 18 Nov 2011 17:18:25 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 18 Nov 2011 17:49:49 Custjob started...
                              Fri, 18 Nov 2011 17:49:49 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Mon, 21 Nov 2011 11:29:22 Custjob started...
                              Mon, 21 Nov 2011 11:29:22 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_ImageX.ini" /bootonly
                              Mon, 21 Nov 2011 11:55:44 Custjob started...
                              Mon, 21 Nov 2011 11:55:44 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_ImageX.ini" /bootonly
                              Mon, 21 Nov 2011 12:26:41 Custjob started...
                              Mon, 21 Nov 2011 12:26:41 Commandline: /OBJID=17 /SCRIPT="test.ini" /bootonly
                              Mon, 21 Nov 2011 17:01:23 Custjob started...
                              Mon, 21 Nov 2011 17:01:23 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Mon, 21 Nov 2011 17:33:16 Custjob started...
                              Mon, 21 Nov 2011 17:33:16 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Mon, 21 Nov 2011 17:55:16 Custjob started...
                              Mon, 21 Nov 2011 17:55:16 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Mon, 21 Nov 2011 18:07:17 Custjob started...
                              Mon, 21 Nov 2011 18:07:17 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Tue, 22 Nov 2011 10:19:07 Custjob started...
                              Tue, 22 Nov 2011 10:19:07 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Tue, 22 Nov 2011 11:13:26 Custjob started...
                              Tue, 22 Nov 2011 11:13:26 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Tue, 22 Nov 2011 15:32:11 Custjob started...
                              Tue, 22 Nov 2011 15:32:11 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Tue, 22 Nov 2011 15:48:33 Custjob started...
                              Tue, 22 Nov 2011 15:48:33 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Tue, 22 Nov 2011 17:01:19 Custjob started...
                              Tue, 22 Nov 2011 17:01:19 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Tue, 22 Nov 2011 17:16:22 Custjob started...
                              Tue, 22 Nov 2011 17:16:22 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 24 Nov 2011 12:30:08 Custjob started...
                              Thu, 24 Nov 2011 12:30:08 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 24 Nov 2011 13:20:03 Custjob started...
                              Thu, 24 Nov 2011 13:20:03 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 24 Nov 2011 13:31:03 Custjob started...
                              Thu, 24 Nov 2011 13:31:03 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 24 Nov 2011 13:40:53 Custjob started...
                              Thu, 24 Nov 2011 13:40:53 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 24 Nov 2011 14:23:39 Custjob started...
                              Thu, 24 Nov 2011 14:23:39 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 24 Nov 2011 16:09:46 Custjob started...
                              Thu, 24 Nov 2011 16:09:46 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Thu, 24 Nov 2011 17:50:37 Custjob started...
                              Thu, 24 Nov 2011 17:50:37 Commandline: /OBJID=17 /SCRIPT="Cap_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 09:55:17 Custjob started...
                              Fri, 25 Nov 2011 09:55:17 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 09:57:42 Custjob started...
                              Fri, 25 Nov 2011 09:57:42 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 10:20:37 Custjob started...
                              Fri, 25 Nov 2011 10:20:37 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 10:35:51 Custjob started...
                              Fri, 25 Nov 2011 10:35:51 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 10:35:59 Custjob started...
                              Fri, 25 Nov 2011 10:35:59 Commandline: /OBJID=18 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 10:56:16 Custjob started...
                              Fri, 25 Nov 2011 10:56:16 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 12:24:32 Custjob started...
                              Fri, 25 Nov 2011 12:24:32 Commandline: /OBJID=20 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 12:29:47 Custjob started...
                              Fri, 25 Nov 2011 12:29:47 Commandline: /OBJID=21 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 15:08:43 Custjob started...
                              Fri, 25 Nov 2011 15:08:43 Commandline: /OBJID=20 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 15:08:52 Custjob started...
                              Fri, 25 Nov 2011 15:08:52 Commandline: /OBJID=21 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 16:08:03 Custjob started...
                              Fri, 25 Nov 2011 16:08:03 Commandline: /OBJID=21 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 16:44:39 Custjob started...
                              Fri, 25 Nov 2011 16:44:39 Commandline: /OBJID=20 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 16:44:46 Custjob started...
                              Fri, 25 Nov 2011 16:44:46 Commandline: /OBJID=21 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 25 Nov 2011 17:38:13 Custjob started...
                              Fri, 25 Nov 2011 17:38:13 Commandline: /OBJID=20 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Mon, 28 Nov 2011 09:48:43 Custjob started...
                              Mon, 28 Nov 2011 09:48:43 Commandline: /OBJID=20 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Mon, 28 Nov 2011 09:49:39 Custjob started...
                              Mon, 28 Nov 2011 09:49:39 Commandline: /OBJID=21 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Mon, 28 Nov 2011 10:41:08 Custjob started...
                              Mon, 28 Nov 2011 10:41:08 Commandline: /OBJID=21 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Mon, 28 Nov 2011 11:10:38 Custjob started...
                              Mon, 28 Nov 2011 11:10:38 Commandline: /OBJID=20 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Tue, 29 Nov 2011 09:55:05 Custjob started...
                              Tue, 29 Nov 2011 09:55:05 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Tue, 29 Nov 2011 17:57:28 Custjob started...
                              Tue, 29 Nov 2011 17:57:28 Commandline: /OBJID=22 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Tue, 06 Dec 2011 09:20:42 Custjob started...
                              Tue, 06 Dec 2011 09:20:42 Commandline: /OBJID=27 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Tue, 06 Dec 2011 09:25:08 Custjob started...
                              Tue, 06 Dec 2011 09:25:08 Commandline: /OBJID=28 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Tue, 06 Dec 2011 10:15:11 Custjob started...
                              Tue, 06 Dec 2011 10:15:11 Commandline: /OBJID=29 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Tue, 06 Dec 2011 10:15:22 Custjob started...
                              Tue, 06 Dec 2011 10:15:22 Commandline: /OBJID=30 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Tue, 06 Dec 2011 10:38:02 Custjob started...
                              Tue, 06 Dec 2011 10:38:02 Commandline: /OBJID=31 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Tue, 06 Dec 2011 13:27:52 Custjob started...
                              Tue, 06 Dec 2011 13:27:52 Commandline: /OBJID=32 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Tue, 06 Dec 2011 13:59:08 Custjob started...
                              Tue, 06 Dec 2011 13:59:08 Commandline: /OBJID=21 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Tue, 06 Dec 2011 17:16:37 Custjob started...
                              Tue, 06 Dec 2011 17:16:37 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Wed, 07 Dec 2011 09:21:54 Custjob started...
                              Wed, 07 Dec 2011 09:21:54 Commandline: /OBJID=35 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Wed, 07 Dec 2011 12:15:05 Custjob started...
                              Wed, 07 Dec 2011 12:15:05 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Wed, 07 Dec 2011 17:06:50 Custjob started...
                              Wed, 07 Dec 2011 17:06:50 Commandline: /OBJID=37 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Thu, 08 Dec 2011 12:10:55 Custjob started...
                              Thu, 08 Dec 2011 12:10:55 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Thu, 08 Dec 2011 18:32:48 Custjob started...
                              Thu, 08 Dec 2011 18:32:48 Commandline: /OBJID=44 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 09 Dec 2011 09:16:35 Custjob started...
                              Fri, 09 Dec 2011 09:16:35 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 09 Dec 2011 11:11:04 Custjob started...
                              Fri, 09 Dec 2011 11:11:04 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 09 Dec 2011 11:47:17 Custjob started...
                              Fri, 09 Dec 2011 11:47:17 Commandline: /OBJID=22 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 09 Dec 2011 12:17:20 Custjob started...
                              Fri, 09 Dec 2011 12:17:20 Commandline: /OBJID=22 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 09 Dec 2011 15:41:31 Custjob started...
                              Fri, 09 Dec 2011 15:41:31 Commandline: /OBJID=17 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Mon, 12 Dec 2011 11:55:36 Custjob started...
                              Mon, 12 Dec 2011 11:55:36 Commandline: /OBJID=336 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Mon, 12 Dec 2011 14:58:05 Custjob started...
                              Mon, 12 Dec 2011 14:58:05 Commandline: /OBJID=343 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Mon, 12 Dec 2011 15:03:09 Custjob started...
                              Mon, 12 Dec 2011 15:03:09 Commandline: /OBJID=344 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Tue, 13 Dec 2011 10:32:23 Custjob started...
                              Tue, 13 Dec 2011 10:32:23 Commandline: /OBJID=393 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Wed, 14 Dec 2011 09:27:07 Custjob started...
                              Wed, 14 Dec 2011 09:27:07 Commandline: /OBJID=399 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Wed, 14 Dec 2011 09:27:15 Custjob started...
                              Wed, 14 Dec 2011 09:27:15 Commandline: /OBJID=21 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Wed, 14 Dec 2011 16:33:50 Custjob started...
                              Wed, 14 Dec 2011 16:33:50 Commandline: /OBJID=412 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Wed, 14 Dec 2011 16:40:16 Custjob started...
                              Wed, 14 Dec 2011 16:40:16 Commandline: /OBJID=22 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Test380.ini" /bootonly
                              Thu, 15 Dec 2011 09:31:03 Custjob started...
                              Thu, 15 Dec 2011 09:31:03 Commandline: /OBJID=427 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 16 Dec 2011 09:06:37 Custjob started...
                              Fri, 16 Dec 2011 09:06:37 Commandline: /OBJID=427 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 16 Dec 2011 09:59:07 Custjob started...
                              Fri, 16 Dec 2011 09:59:07 Commandline: /OBJID=450 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 16 Dec 2011 10:50:41 Custjob started...
                              Fri, 16 Dec 2011 10:50:41 Commandline: /OBJID=412 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 16 Dec 2011 11:55:37 Custjob started...
                              Fri, 16 Dec 2011 11:55:37 Commandline: /OBJID=450 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 16 Dec 2011 15:22:39 Custjob started...
                              Fri, 16 Dec 2011 15:22:39 Commandline: /OBJID=427 /SCRIPT="Dep_Win_7_SP1_x86_Ent_Imagew.ini" /bootonly
                              Fri, 16 Dec 2011 15:22:48 Custjob started...
                              Fri, 16 Dec 2011 15:22:48 Commandline: /OBJID=412 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Fri, 16 Dec 2011 16:04:19 Custjob started...
                              Fri, 16 Dec 2011 16:04:19 Commandline: /OBJID=456 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Tue, 20 Dec 2011 09:58:31 Custjob started...
                              Tue, 20 Dec 2011 09:58:31 Commandline: /OBJID=473 /SCRIPT="Dep_Win_7_SP1_x64_Ent_Imagew.ini" /bootonly
                              Tue, 27 Dec 2011 17:28:19 Custjob started...
                              Tue, 27 Dec 2011 17:28:19 Commandline: /taskid=139 /DelegatedScript="C:\Windows\TEMP\task_139\PXE Representative Deployment.ini"
                              Wed, 28 Dec 2011 11:44:29 Custjob started...
                              Wed, 28 Dec 2011 11:44:29 Commandline: /taskid=140 /DelegatedScript="C:\Windows\TEMP\task_140\PXE Representative Deployment.ini"
                              Wed, 11 Jan 2012 12:37:49 6844 6840 Custjob started...
                              Wed, 11 Jan 2012 12:37:49 6844 6840 Commandline: /OBJID=22 /SCRIPT="CWin7x64EntSP1.ini" /bootonly

                               

                               

                              a log has finally emerged : CJ-OSD-CWin7x64EntSP1-0-01112012-123750

                               

                              "Machine","CbaStatus","ExitCode","Duration","Begin","End","Command"
                              "782BCB93ABA7","OK",0,0:00:00,1/11/2012 12:38:02 PM,1/11/2012 12:38:02 PM,"WINPE, TIMEOUT=1800"
                              "782BCB93ABA7","ERR_Fail",-2147481753,0:00:26,1/11/2012 12:38:03 PM,1/11/2012 12:38:29 PM,"diskpart /s X:\LDClient\rmvol.txt"
                              ; "Job Complete","0 Done","1 Failed","0 Off","0 Unknown"

                              • 12. Re: Capture Task not working
                                Frank Wils ITSMMVPGroup

                                Well, than your previous actions on the services did manage to get you a result

                                 

                                It just errors out now on the first command, to remove volumes. In your script you can remark this one with a ; in front of it. It removes the driveletter assignments of volumes so you dont map to an existing driveletter. You shouldnt really need this anyway.

                                 

                                Frank

                                Axle-IT

                                • 13. Re: Capture Task not working
                                  Rookie
                                  [VALUES]
                                  Task=7
                                  ScriptName=CWin7x64EntSP1
                                  ScriptDescription=Capture Windows 7 x64 Entreprise SP1 with ImageW V2
                                  FallBackNIC=
                                  UseFallBackNIC=FALSE
                                  ImageUserName=administrateur
                                  ImageDomain=ankama.lan
                                  ImagePassword=10808F2BE5F8D5D61851A004B79
                                  ImageToolType=11
                                  ImageUNC=\\ankama.lan\partages\Ankama\Admins\Landesk\Capture\x64
                                  ToolUNC=\\ankama.lan\partages\Ankama\Admins\Landesk\Tools\imagew 2\imagew.exe
                                  ImageToolCmd=H:\Ankama\Admins\Landesk\Tools\IMAGEW~1\imagew.exe /b /uy /d:0 /rb:0 /max:2GB /f:"""i:\Ankama\Admins\Landesk\Capture\x64\%Computer - Device Name%"""
                                  [OWNER]
                                  GUID=e9c315a6-5a7f-45a6-bfc8-f4bfd55bb4a5
                                  OSDPLUG=TRUE
                                  DESCRIPTION=Capture Windows 7 x64 Entreprise SP1 with ImageW V2
                                  NAME=CWin7x64EntSP1
                                  TYPE=WinPE
                                  [JOBPARAM]
                                  ABORT_ON_CMD_FAILURE=1
                                  TASK_COMPLETION_ENABLED=FALSE
                                  [MACHINES]
                                  REMEXEC0=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/bootfile.exe" /disableclientqueue
                                  REMEXEC1=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/tlibr16.dll" /disableclientqueue
                                  REMEXEC2=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/tlibr32.dll" /disableclientqueue
                                  REMEXEC3=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/lddefrag.exe" /disableclientqueue
                                  REMEXEC4=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/FlushBuffer.exe" /disableclientqueue
                                  REMEXEC5=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/cicfgmgr.vxd" /disableclientqueue
                                  REMEXEC6=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/cindis.vxd" /disableclientqueue
                                  REMEXEC7=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/copyfile.exe" /disableclientqueue
                                  REMEXEC8=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/boot.img" /disableclientqueue
                                  REMEXEC9=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/ChangeBCD.exe" /disableclientqueue
                                  REMEXEC10=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/BCD" /disableclientqueue
                                  REMEXEC11=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/files/bcdedit.exe" /disableclientqueue
                                  REMEXEC12=<qt/>%LDMS_CLIENT_DIR%\ChangeBCD<qt/> <qt/>%LDMS_CLIENT_DIR%\bcdedit.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\BCD<qt/>
                                  REMEXEC13=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /dest="C:\boot.wim" /p="http://%CUSTJOBHOSTIP%/landesk/vboot/boot.wim" /disableclientqueue
                                  REMEXEC14=<qt/>%LDMS_CLIENT_DIR%\copyfile.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\boot.img<qt/> <qt/>%LDMS_CLIENT_DIR%\BCD<qt/> \boot\BCD
                                  REMEXEC15=<qt/>%LDMS_CLIENT_DIR%\lddefrag.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\boot.img<qt/>, STATUS
                                  REMEXEC16=<qt/>%LDMS_CLIENT_DIR%\FlushBuffer.exe<qt/>, STATUS
                                  REMEXEC17=<qt/>%LDMS_CLIENT_DIR%\bootfile.exe<qt/> %LDMS_CLIENT_DIR%\boot.img /keep /bootunsafe, ASYNC
                                  BEGINWINPE=TRUE
                                  REMPING18=WINPE, TIMEOUT=1800
                                  REMEXEC19=diskpart /s X:\LDClient\rmvol.txt
                                  REMEXEC20=ldrun drvmap.exe ankama.lan\administrateur 10808F2BE5F8D5D61851A004B79 I: """\\ankama.lan\partages""", STATUS FACILITY=3513
                                  REMEXEC21=ldrun drvmap.exe ankama.lan\administrateur 10808F2BE5F8D5D61851A004B79 H: """\\ankama.lan\partages""", STATUS FACILITY=351
                                  3

                                  REMEXEC22=ldrun sdclient /f /o /dest="X:\LDClient\assvol.txt" /p="http://%CUSTJOBHOSTIP%/landesk/files/assvol.txt" /disableclientqueue, STATUS
                                  REMEXEC23=ldrun tokreplw X:\LDClient\assvol.txt partition=2
                                  REMEXEC24=diskpart /s X:\LDClient\assvol.txt
                                  REMEXEC25=cmd /c del /f /q C:\boot.wim
                                  REMEXEC26=ldrun H:\Ankama\Admins\Landesk\Tools\IMAGEW~1\imagew.exe /b /uy /d:0 /rb:0 /max:2GB /f:"""i:\Ankama\Admins\Landesk\Capture\x64\%Computer - Device Name%"""
                                  REMEXEC27=ldrun reboot, timeout=2
                                  I have to remove the red lines in the script?
                                  • 14. Re: Capture Task not working
                                    Frank Wils ITSMMVPGroup

                                    But we are getting closer and closer. Post your latest CJ-xxx.log. We should see the problem there. Also, you can try to do a "net use i: \\server\share * /U:domain\user" in WinPE to see if you get an error.

                                     

                                    Frank

                                    Axle-IT

                                    1 2 Previous Next