Deployment Solution

 View Only
Expand all | Collapse all

7.1 "Prepare for Image Capture" stuck at "Running"

  • 1.  7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 08, 2012 05:30 PM

    Oddly enough, I have had this task working previously.

    When I run the task now, it just sits at "Running".  I have finally given up on it after trying it multiple times exceeding over 30 minutes.  If I check the Client PC, the Agent shows that it has received and is running the task.

    The task is set to reboot to PXE, which never happens during this process.

    Are there any particular logs that I can look at to help me figure out why this task is not working?

    Thank you



  • 2.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 08, 2012 07:09 PM

    Look in Task Manager to see if sysprep.exe is still running. If it is look at the sysprep logs, see the Online configuration phase section;

    http://support.microsoft.com/kb/927521

    Otherwise, use the Remote Altiris Agent Diagnostics (RAAD) tool:

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

    to look at the Altiris Agent logs.

     



  • 3.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 09, 2012 09:08 AM

    Thanks for the help Andy.  Looking at the logs within Online Configuration show no changes since September of this year.  I will take a peak at the RAAD tool.



  • 4.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 09, 2012 09:46 AM

    Right now my Prepare for Image Capture task has been running for nearly thirty minutes.  Here are the logs that I was able to find using the RAAD tool:

     

    Sev Date Text Source Module Process
    4 10/9/2012 8:37:20 AM Checked if policy {2D50EC37-23CF-49DC-8E52-0576B5FC38E3} for job index 0 is due: 0 CDeliveryPolicy::IsWakeupDue() smfagent.dll AeXNSAgent.exe
    4 10/9/2012 8:37:20 AM End download for package: {A56201E5-6615-4D4A-B6AC-F1D458AC4404}. SWDAgent smfagent.dll AeXNSAgent.exe
    4 10/9/2012 8:37:20 AM End download for package: Deployment Automation Folder (x64) {A56201E5-6615-4D4A-B6AC-F1D458AC4404} PackageDelivery AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:37:20 AM Retry package: id={A56201E5-6615-4D4A-B6AC-F1D458AC4404} delay=1440 secs at=10/9/2012 9:01:20 AM causedDelay=1 earliestRetryTime=
    DownloadQueue AeXPackageDelivery.dll AeXNSAgent.exe
    1 10/9/2012 8:37:20 AM Error while downloading package: UncTransfer: Failed to open source file: The system cannot find the path specified. (-2147024893) PackageDelivery AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:37:19 AM Download Package complete: downloaded 0 bytes at 0 bytes per second, used 0 bytes from cache PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    1 10/9/2012 8:37:19 AM Download Package failed: UncTransfer: Failed to open source file: The system cannot find the path specified. (-2147024893) PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    2 10/9/2012 8:37:19 AM UncTransfer: Failed to open source file: The system cannot find the path specified. (-2147024893) CoNetworkTransport(544) AeXNetComms.dll AeXNSAgent.exe
    2 10/9/2012 8:37:19 AM GetFiles '\\dbgbat2.com\NSCap\Bin\Win64\X64\Deployment\Automation\PEinstall_x64\PEInstall_x64.exe'->'C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\Software Delivery\{A56201E5-6615-4D4A-B6AC-F1D458AC4404}\cache\PEInstall_x64.exe' failed: UncTransfer: Failed to open source file: The system cannot find the path specified. (-2147024893) AeXNetworkTransport AeXNetComms.dll AeXNSAgent.exe
    2 10/9/2012 8:37:19 AM A connection to the network resource '\\dbgbat2.com\NSCap\Bin\Win64\X64\Deployment\Automation\PEinstall_x64' was made successfully, but access to the files at this location is not available: The system cannot find the path specified (3) UncAccessor AeXNetComms.dll AeXNSAgent.exe
    4 10/9/2012 8:37:19 AM Dropped connection to '\\dbgbat2.com\NSCap' DisconnectNetworkDrive AeXNetComms.dll AeXNSAgent.exe
    4 10/9/2012 8:37:19 AM Made connection to '\\dbgbat2.com\NSCap' using account 'DB\altiris' on device '\\dbgbat2.com\NSCap' ConnectNetworkDrive AeXNetComms.dll AeXNSAgent.exe
    4 10/9/2012 8:37:17 AM Download Package from: \\dbgbat2.com\NSCap\Bin\Win64\X64\Deployment\Automation\PEinstall_x64 PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:37:17 AM GetPackageLocalSources: Local package server not found PackageManager AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:37:17 AM GetServerLists: Local codebase(s) have not been received from NS. Trying to get it from local PS... PackageManager AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:37:17 AM Download package sources from: HTTP://DBGBAT2.COM/ALTIRIS/NS/Agent/GetPackageInfo.aspx PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:37:17 AM Begin download for package: {A56201E5-6615-4D4A-B6AC-F1D458AC4404}. SWDAgent smfagent.dll AeXNSAgent.exe
    4 10/9/2012 8:37:17 AM Begin download for package: Deployment Automation Folder (x64) {A56201E5-6615-4D4A-B6AC-F1D458AC4404} PackageDelivery AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:25:17 AM Checked if policy {2D50EC37-23CF-49DC-8E52-0576B5FC38E3} for job index 0 is due: 0 CDeliveryPolicy::IsWakeupDue() smfagent.dll AeXNSAgent.exe
    4 10/9/2012 8:25:17 AM End download for package: {A56201E5-6615-4D4A-B6AC-F1D458AC4404}. SWDAgent smfagent.dll AeXNSAgent.exe
    4 10/9/2012 8:25:17 AM End download for package: Deployment Automation Folder (x64) {A56201E5-6615-4D4A-B6AC-F1D458AC4404} PackageDelivery AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:25:17 AM Retry package: id={A56201E5-6615-4D4A-B6AC-F1D458AC4404} delay=720 secs at=10/9/2012 8:37:17 AM causedDelay=1 earliestRetryTime=
    DownloadQueue AeXPackageDelivery.dll AeXNSAgent.exe
    1 10/9/2012 8:25:17 AM Error while downloading package: HTTP error: 404 Not Found (-2147209951) PackageDelivery AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:25:17 AM Download Package complete: downloaded 0 bytes at 0 bytes per second, used 0 bytes from cache PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    1 10/9/2012 8:25:17 AM Download Package failed: HTTP error: 404 Not Found (-2147209951) PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    2 10/9/2012 8:25:17 AM HTTP error: 404 Not Found (-2147209951) CoNetworkTransport(544) AeXNetComms.dll AeXNSAgent.exe
    2 10/9/2012 8:25:17 AM GetFiles 'HTTP://dbgbat2.com/Altiris/NS/NSCap/Bin/Win64/X64/Deployment/Automation/PEinstall_x64/PEInstall_x64.exe'->'C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\Software Delivery\{A56201E5-6615-4D4A-B6AC-F1D458AC4404}\cache\PEInstall_x64.exe' failed: HTTP error: 404 Not Found (-2147209951) AeXNetworkTransport AeXNetComms.dll AeXNSAgent.exe
    4 10/9/2012 8:25:17 AM Download Package from: http://dbgbat2.com/Altiris/NS/NSCap/Bin/Win64/X64/Deployment/Automation/PEinstall_x64 PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:25:17 AM GetPackageLocalSources: Local package server not found PackageManager AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:25:17 AM GetServerLists: Local codebase(s) have not been received from NS. Trying to get it from local PS... PackageManager AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:25:17 AM Download package sources from: HTTP://DBGBAT2.COM/ALTIRIS/NS/Agent/GetPackageInfo.aspx PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:25:17 AM Begin download for package: {A56201E5-6615-4D4A-B6AC-F1D458AC4404}. SWDAgent smfagent.dll AeXNSAgent.exe
    4 10/9/2012 8:25:17 AM Begin download for package: Deployment Automation Folder (x64) {A56201E5-6615-4D4A-B6AC-F1D458AC4404} PackageDelivery AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:21:45 AM AgentScheduler: Thread #1 thread 0xED8 ending, exit code=0 SimpleThread AgentScheduler.dll AeXNSAgent.exe
    4 10/9/2012 8:21:33 AM AgentScheduler: Thread #0 thread 0xED0 ending, exit code=0 SimpleThread AgentScheduler.dll AeXNSAgent.exe
    4 10/9/2012 8:20:11 AM Not sending basic inventory, computer configuration is unchanged ConfigServer AeXNSAgent.exe AeXNSAgent.exe
    2 10/9/2012 8:20:10 AM Error while gathering AD distinguished name: Error connecting to AD object LDAP://RootDSE: The specified domain either does not exist or could not be contacted. (-2147023541) BasicInventory AeXBasicInventory.dll AeXNSAgent.exe
    4 10/9/2012 8:19:17 AM Checked if policy {2D50EC37-23CF-49DC-8E52-0576B5FC38E3} for job index 0 is due: 0 CDeliveryPolicy::IsWakeupDue() smfagent.dll AeXNSAgent.exe
    4 10/9/2012 8:19:17 AM End download for package: {A56201E5-6615-4D4A-B6AC-F1D458AC4404}. SWDAgent smfagent.dll AeXNSAgent.exe
    4 10/9/2012 8:19:17 AM End download for package: Deployment Automation Folder (x64) {A56201E5-6615-4D4A-B6AC-F1D458AC4404} PackageDelivery AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:19:17 AM Retry package: id={A56201E5-6615-4D4A-B6AC-F1D458AC4404} delay=360 secs at=10/9/2012 8:25:17 AM causedDelay=1 earliestRetryTime=
    DownloadQueue AeXPackageDelivery.dll AeXNSAgent.exe
    1 10/9/2012 8:19:17 AM Error while downloading package: UncTransfer: Failed to open source file: The system cannot find the path specified. (-2147024893) PackageDelivery AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:19:17 AM Download Package complete: downloaded 0 bytes at 0 bytes per second, used 0 bytes from cache PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    1 10/9/2012 8:19:17 AM Download Package failed: UncTransfer: Failed to open source file: The system cannot find the path specified. (-2147024893) PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    2 10/9/2012 8:19:17 AM UncTransfer: Failed to open source file: The system cannot find the path specified. (-2147024893) CoNetworkTransport(544) AeXNetComms.dll AeXNSAgent.exe
    2 10/9/2012 8:19:17 AM GetFiles '\\dbgbat2.com\NSCap\Bin\Win64\X64\Deployment\Automation\PEinstall_x64\PEInstall_x64.exe'->'C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\Software Delivery\{A56201E5-6615-4D4A-B6AC-F1D458AC4404}\cache\PEInstall_x64.exe' failed: UncTransfer: Failed to open source file: The system cannot find the path specified. (-2147024893) AeXNetworkTransport AeXNetComms.dll AeXNSAgent.exe
    2 10/9/2012 8:19:17 AM A connection to the network resource '\\dbgbat2.com\NSCap\Bin\Win64\X64\Deployment\Automation\PEinstall_x64' was made successfully, but access to the files at this location is not available: The system cannot find the path specified (3) UncAccessor AeXNetComms.dll AeXNSAgent.exe
    4 10/9/2012 8:19:17 AM Dropped connection to '\\dbgbat2.com\NSCap' DisconnectNetworkDrive AeXNetComms.dll AeXNSAgent.exe
    4 10/9/2012 8:19:17 AM Made connection to '\\dbgbat2.com\NSCap' using account 'DB\altiris' on device '\\dbgbat2.com\NSCap' ConnectNetworkDrive AeXNetComms.dll AeXNSAgent.exe
    4 10/9/2012 8:19:15 AM Download Package from: \\dbgbat2.com\NSCap\Bin\Win64\X64\Deployment\Automation\PEinstall_x64 PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:19:15 AM GetPackageLocalSources: Local package server not found PackageManager AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:19:14 AM GetServerLists: Local codebase(s) have not been received from NS. Trying to get it from local PS... PackageManager AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:19:14 AM Download package sources from: HTTP://DBGBAT2.COM/ALTIRIS/NS/Agent/GetPackageInfo.aspx PackageDownload AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:19:14 AM Begin download for package: {A56201E5-6615-4D4A-B6AC-F1D458AC4404}. SWDAgent smfagent.dll AeXNSAgent.exe
    4 10/9/2012 8:19:14 AM Begin download for package: Deployment Automation Folder (x64) {A56201E5-6615-4D4A-B6AC-F1D458AC4404} PackageDelivery AeXPackageDelivery.dll AeXNSAgent.exe
    4 10/9/2012 8:19:08 AM Next policy request from server DBGBAT2.com will be at 2012-10-09 09:19:08, in 60 minutes ServerSettings AeXNSAgent.exe AeXNSAgent.exe
    4 10/9/2012 8:19:07 AM CreateResource.aspx assigned the GUID {AB108318-9FCE-4DBB-AE3A-BE645EA2AAA6} for this workstation ConfigServer AeXNSAgent.exe AeXNSAgent.exe
    2 10/9/2012 8:19:05 AM The Altiris Agent has not been assigned a GUID yet, the default resource is unavailable (-2147467259) CoNSEvent(81) AeXNSEvent.dll AeXNSAgent.exe
    4 10/9/2012 8:18:57 AM CWin32CTServerDirectConnection::Disconnect() Client Task Agent client task agent.dll AeXNSAgent.exe
    4 10/9/2012 8:18:57 AM CWin32CTServerDirectConnection::Connect(): Tickle connection to server DBGBAT2.com:50124 Client Task Agent client task agent.dll AeXNSAgent.exe
    4 10/9/2012 8:18:13 AM Next event expected at 2012-10-09 12:30:00 -5:00, wakeup in 1 hour ScheduleEngine AgentScheduler.dll AeXNSAgent.exe
    2 10/9/2012 8:18:05 AM The Altiris Agent has not been assigned a GUID yet, the default resource is unavailable (-2147467259) CoNSEvent(81) AeXNSEvent.dll AeXNSAgent.exe
    4 10/9/2012 8:17:57 AM CWin32CTServerDirectConnection.OnExecute():  Lost connection.  Waiting 1 minute to retry Client Task Agent client task agent.dll AeXNSAgent.exe
    4 10/9/2012 8:17:57 AM CWin32CTServerDirectConnection::ProcessConnected(): Stopping because we got a reset connection event Client Task Agent client task agent.dll AeXNSAgent.exe
    4 10/9/2012 8:17:56 AM CTaskAgentBase::OnAgentRegistered(): Successfully registered with server "DBGBAT2.com" Client Task Agent client task agent.dll AeXNSAgent.exe
    4 10/9/2012 8:17:55 AM Attempting to register using "http://DBGBAT2.com/Altiris/ClientTaskServer/Register.aspx?resourceGuid=00000000-0000-0000-0000-000000000000" Client Task Agent client task agent.dll AeXNSAgent.exe
    4 10/9/2012 8:17:55 AM CTaskServerNetCommsConnection::CheckResponseXml(): The task server told us we need to re-register Client Task Agent client task agent.dll AeXNSAgent.exe
    4 10/9/2012 8:17:14 AM Next event expected at 2012-10-09 08:18:13 -5:00, wakeup in 58 seconds ScheduleEngine AgentScheduler.dll AeXNSAgent.exe
    4 10/9/2012 8:17:07 AM Detected session 2 event 'WTS_CONSOLE_CONNECT', ignoring SessionManager AeXNSAgent.exe AeXNSAgent.exe
    4 10/9/2012 8:17:05 AM Detected session 1 event 'WTS_CONSOLE_DISCONNECT' SessionManager AeXNSAgent.exe AeXNSAgent.exe
    4 10/9/2012 8:17:04 AM Detected session 1 logoff, stop UI if running SessionManager AeXNSAgent.exe AeXNSAgent.exe
    4 10/9/2012 8:17:04 AM Detected session 1 event 'WTS_SESSION_LOGOFF' SessionManager AeXNSAgent.exe AeXNSAgent.exe
    4 10/9/2012 8:17:04 AM A monitored event has occurred, check all schedules ScheduleEngine AgentScheduler.dll AeXNSAgent.exe
    2 10/9/2012 8:17:02 AM The Altiris Agent has not been assigned a GUID yet, the default resource is unavailable (-2147467259) CoNSEvent(81) AeXNSEvent.dll AeXNSAgent.exe
    4 10/9/2012 8:16:59 AM AexAgentUIHost.exe in session 1 quits SessionManager AeXAgentUI.dll AeXNSAgent.exe
    2 10/9/2012 8:16:57 AM The Altiris Agent has not been assigned a GUID yet, the default resource is unavailable (-2147467259) CoNSEvent(81) AeXNSEvent.dll AeXNSAgent.exe
    4 10/9/2012 8:16:57 AM Unable to start SWD task 'Deployment Automation Folder for Windows (x64) - Upgrade': system restart / logoff in progress SWDAgent smfagent.dll AeXNSAgent.exe
    4 10/9/2012 8:16:57 AM Unable to start SWD task 'Deployment Automation Folder for Windows (x64) - Install': system restart / logoff in progress SWDAgent smfagent.dll AeXNSAgent.exe
    4 10/9/2012 8:16:57 AM Post logoff event to server for GBC-BC9CGJ1\Administrator UserMonitor AeXNSAgent.exe AeXNSAgent.exe
    4 10/9/2012 8:16:57 AM Stop session : TS=1 user=GBC-BC9CGJ1\Administrator ClientSession AeXAgentUI.dll AeXAgentUIHost.exe
    4 10/9/2012 8:16:55 AM ClientPreImage ClientPreImage.dll AeXNSAgent.exe
    4 10/9/2012 8:16:53 AM Task: Prepare for Image capture has started Client Task Agent client task agent.dll AeXNSAgent.exe
    4 10/9/2012 8:16:52 AM CWin32CTServerDirectConnection::Connect(): Tickle connection to server DBGBAT2.com:50124 Client Task Agent client task agent.dll AeXNSAgent.exe
    4 10/9/2012 8:16:52 AM OperationMonitorThread thread 0xDA0 ending, exit code=0 SimpleThread client task agent.dll AeXNSAgent.exe
    4 10/9/2012 8:16:52 AM CTaskAgentBase::OnAgentRegistered(): Successfully registered with server "DBGBAT2.com" Client Task Agent client task agent.dll AeXNSAgent.exe


  • 5.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 09, 2012 09:55 AM

    PS, sysprep is still showing in task manager, even after 40 minutes.



  • 6.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 09, 2012 10:52 AM

    Trying to run SysPrep manually now, which seemed to work and reboot the computer within 10 minutes.  What could have went wrong with this Prepare task?



  • 7.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 09, 2012 12:59 PM

    Your automation partition isn't downloading by the look of it. You need to check the agent to see if you can see why.

    I'm not sure how sysprep can start without wrting any on the log files listed in the MS support article, that's most odd.



  • 8.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 09, 2012 01:18 PM

    I will try doing a full reinstall of the agent to see if that helps resolve this issue.



  • 9.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 09, 2012 05:35 PM

    Here's an update:

    I put down a new image of Windows 7 x64.  I did a full uninstall of the Symantec Agent (and verified that all folders were deleted within C:\Program files and C:\Program Files (x86).

    I then used the console to push out the Agent after rebooting the client device.  Once that was fully installed, I restarted once more and checked the About section of the Agent, verifying that the Deployment plug-in was installed.

    Once this was done, I launched the Prepare for Image Capture task, which has now been running for 30 minutes.  When I first launched it, I could almost immediately see sysprep.exe start in the client's Task Manager.  However, the Memory hardly fluxuates at all, normally staing around 1,700 K.

    I am unsure of where to go from here.  Any help would be greatly appreciated.  Thank you.



  • 10.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 09, 2012 05:43 PM

    And here are the only log changes since I launched the Prepare for Image task (taken from RAAD):

     

    4 10/9/2012 4:08:28 PM   ClientPreImage ClientPreImage.dll AeXNSAgent.exe
    4 10/9/2012 4:08:26 PM Task: Prepare for Image capture has started Client Task Agent client task agent.dll AeXNSAgent.exe

     



  • 11.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 09, 2012 05:57 PM

    If sysprep is running it must be wrting some sort of windows log file somewhere.



  • 12.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 10, 2012 10:53 AM

    I believe I have it narrowed down to the unattend file not wanting to process, which is why sysprep continues to run in a loop.

    Which leads me to my next question:

    It looks like the Prepare for Image task copies an unattend.xml file (and possibly a sysprep.inf) file from the server to the local machine.  Where would those be stored on the server?  And could those just be copied from the 6.9 server?  If so, where are the unattend and sysprep files located on that one?

    Thank you



  • 13.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 10, 2012 11:23 AM

    There's no sysprep.inf file in Windows 7. I wouldn't mess with the default unattend.xml, I think they're compiled "on the fly" from the contents of the database anyway.

    Can you copy the unattend.xml off and run it through Windows System Image Manager, part of the Windows Administrative Install Kit (WAIK)



  • 14.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 10, 2012 12:42 PM

    Well, this task appears to be using whatever unattend file is on the Altiris server, and then copies it to the client machine in the C:\Windows\System32\sysprep, as no unattend files are in that folder prior to.



  • 15.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 10, 2012 05:58 PM

    This is confusing.  The prepare for image task will continue to run, with the sysprep process running in the background for a long period of time, never doing anything.  I checked the log in Windows\System32\sysprep\Panther (setupact.log) and see this:

     

    2012-10-10 16:41:10, Info                  SYSPRP ========================================================
    2012-10-10 16:41:10, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2012-10-10 16:41:10, Info                  SYSPRP ========================================================
    2012-10-10 16:41:10, Info       [0x0f004d] SYSPRP The time is now 2012-10-10 16:41:10
    2012-10-10 16:41:10, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2012-10-10 16:41:10, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2012-10-10 16:41:10, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2012-10-10 16:41:11, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2012-10-10 16:41:11, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2012-10-10 16:41:11, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIT'
    2012-10-10 16:41:11, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2012-10-10 16:41:11, Info       [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
    2012-10-10 16:41:11, Info                         [Sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [C:\Windows\system32\sysprep\unattend.xml]...
    2012-10-10 16:41:11, Error                        [Sysprep.exe] UnattendFindAnswerFile: Unattend file [C:\Windows\system32\sysprep\unattend.xml] has already been processed.
    2012-10-10 16:41:11, Warning               SYSPRP SysprepSearchForUnattend: Found invalid unattend file while searching; hr = 0x1
    2012-10-10 16:41:11, Warning               SYSPRP WinMain:Encountered invalid unattend file during search; hrResult = 0x80300019
    2012-10-10 16:41:11, Info                  IBS    UnattendErrorFromResults: Hit an unattend error; dumping any info we have about the failure...
    2012-10-10 16:41:11, Info                  IBS    UnattendDumpSetting: ------Unattend setting error / warning------
    2012-10-10 16:41:11, Info                  IBS    UnattendDumpSetting: Error code = 0x80300019
    2012-10-10 16:41:11, Info                  IBS    UnattendDumpSetting: File path = [C:\Windows\system32\sysprep\unattend.xml]
    2012-10-10 16:41:11, Info                  IBS    UnattendDumpSetting: --------------------------------------------
    2012-10-10 16:41:11, Info                  IBS    UnattendErrorFromResults: Error text = Windows could not parse or process unattend answer file [C:\Windows\system32\sysprep\unattend.xml]. The answer file contains one or more settings elements that have already been processed.
    So my guess is that is is looping because of the unattend file.  However, I am not sure where this unattend file is coming from.  If I look in the sysprep folder before running the task, no unattend file exists.  After it has run for a short time, the file appears in there all of a sudden.
     
    Thoughts?

     



  • 16.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 11, 2012 04:09 AM

    I think the Prepare for Image Capture Task will create an unattend.xml from data in the database.

    Have you copied this unattend.xml to a computer with the WAIK on in and examined it using Windows SIM?



  • 17.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 11, 2012 09:07 AM

    Here is the log file that is generated from Windows SIM when I try to open this unattend file:

     

    8:06 AM : System.Xml.Schema.XmlSchemaValidationException: The 'wasPassProcessed' attribute is not declared.
       at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(XmlSchemaValidationException e, XmlSeverityType severity)
       at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String arg)
       at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String lName, String ns, XmlValueGetter attributeValueGetter, String attributeStringValue, XmlSchemaInfo schemaInfo)
       at System.Xml.XsdValidatingReader.ValidateAttributes()
       at System.Xml.XsdValidatingReader.ProcessElementEvent()
       at System.Xml.XsdValidatingReader.Read()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.Serializer.Validate(XmlSchema schema, String filename, ValidateCallBack additionalValidation, Object additionalParameter)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFile.DoLoad(Boolean useImagePathInAnswerFile)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.OpenAnswerFile(String path)
       at Microsoft.ComponentStudio.MainForm.OnFileOpenUnattend(Command command)
     


  • 18.  RE: 7.1 "Prepare for Image Capture" stuck at "Running"

    Posted Oct 11, 2012 09:45 AM

    Maybe the database thinks the PC is at a different stage to that which it's really at so is putting the wrong entries into the unattend.xml.

    I'd either try and run this on a different PC or delete the PC record from Altiris and let it repopulate by sending Basic Inventory and try again.