Run tasks asynchronously at boot

[robin@pingwing ~]$ systemd-analyze blame | head -n 5
3.595s updatedb.service
1.403s man-db.service
196ms [email protected]
185ms systemd-logind.service
166ms alsa-restore.service
updatedb and man-db are run every time the system boots (or only the first boot of the day, not sure) to update their databases, which is fine. I like it that way.
As you can clearly see they're not holding up the boot process for too long, although still 90% of the boot time is spent on those 2 services
I was wondering whether there's a way to have them run asyncronously? So they'd still be run every time, but the boot process would continue rather than waiting for those 2 processes to exit.
Thank you.

phw wrote:
Why run those tasks on system startup at all? On my system the man-db service is inactive, but is set to run daily via systemd timers (https://wiki.archlinux.org/index.php/Sy … ctionality)
I would check your output of
systemctl list-timers
Probably those two services are already there.
[robin@pingwing ~]$ systemctl list-timers
NEXT LEFT LAST PASSED UNIT ACTIVATES
Tue 2014-07-22 00:00:00 CEST 12h left Mon 2014-07-21 11:05:04 CEST 46min ago logrotate.timer logrotate.service
Tue 2014-07-22 00:00:00 CEST 12h left Mon 2014-07-21 11:05:04 CEST 46min ago man-db.timer man-db.service
Tue 2014-07-22 00:00:00 CEST 12h left Mon 2014-07-21 11:05:04 CEST 46min ago shadow.timer shadow.service
Tue 2014-07-22 00:00:00 CEST 12h left Mon 2014-07-21 11:05:04 CEST 46min ago updatedb.timer updatedb.service
Tue 2014-07-22 11:20:08 CEST 23h left Mon 2014-07-21 11:20:08 CEST 31min ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
So what do I do with this?
Either way, I have no problem with it running at boot. I was just wondering whether I could do it asynchronously.

Similar Messages

  • How can I run a custom program ASYNCHRONOUSLY when booting WinPE?

    I have a custom application that I want to have running during WinPE for my Litetouch deployments. I had this working in SCCM and now I want to get it working in MDT.
    I have the Netcheck.exe application in my Extras folder, it ends up on the root of my X: drive.
    Here is my unattend.xml file.
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="windowsPE">
            <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
                <Display>
                    <ColorDepth>32</ColorDepth>
                    <HorizontalResolution>1024</HorizontalResolution>
                    <RefreshRate>60</RefreshRate>
                    <VerticalResolution>768</VerticalResolution>
                </Display>
    <RunAsynchronous>
    <RunAsynchronousCommand>
    <Order>1</Order>
    <Path>X:\NetCheck.exe</Path>
    <Description>Run the NetCheck app</Description>
    </RunAsynchronousCommand>
    <RunAsynchronousCommand>
    <Order>2</Order>
    <Path>wscript.exe X:\Deploy\Scripts\LiteTouch.wsf</Path>
    <Description>Lite Touch PE</Description>
    </RunAsynchronousCommand>
    </RunAsynchronous>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    By default, the Litetouch.wsf file is launched synchronously, and so my Netcheck app won't run until the Litetouch wizard closes (this won't work for my needs). Also, synchronous commands are run before Asynchronous commands.  Therefore, I need to run
    both my custom Netcheck app and the Litetouch wizard Asynchronously.
    However, every time I use the unattend file that I pasted above, WinPE boots and then immediately reboots. If I am quick and hit F8 I get a command prompt, and then my Netcheck app and the Litetouch wizard both run (sweet!), but then when I close that cmd
    prompt, WinPE shuts down (lame).
    The wpeinit.log is shown below. Everything seems to look good, so what is wrong? How can I accomplish this?
    2014-09-09 14:23:02.588, Info      WPEINIT is processing the unattend file [X:\unattend.xml]
    2014-09-09 14:23:02.588, Info      Spent 141ms initializing removable media before unattend search
    2014-09-09 14:23:02.604, Info      ==== Initializing Display Settings ====
    2014-09-09 14:23:02.620, Info      Setting display resolution 1024x768x32@60: 0x00000000
    2014-09-09 14:23:02.620, Info      STATUS: SUCCESS (0x00000000)
    2014-09-09 14:23:02.620, Info      ==== Initializing Computer Name ====
    2014-09-09 14:23:02.620, Info      Generating a random computer name
    2014-09-09 14:23:02.620, Info      No computer name specified, generating a random name.
    2014-09-09 14:23:02.620, Info      Renaming computer to MININT-9KBBIFF.
    2014-09-09 14:23:02.620, Info      Waiting on the profiling mutex handle
    2014-09-09 14:23:02.620, Info      Acquired profiling mutex
    2014-09-09 14:23:02.620, Info      Service winmgmt disable: 0x00000000
    2014-09-09 14:23:02.620, Info      Service winmgmt stop: 0x00000000
    2014-09-09 14:23:02.620, Info      Service winmgmt enable: 0x00000000
    2014-09-09 14:23:02.620, Info      Released profiling mutex
    2014-09-09 14:23:02.620, Info      STATUS: SUCCESS (0x00000000)
    2014-09-09 14:23:02.620, Info      ==== Initializing Virtual Memory Paging File ====
    2014-09-09 14:23:02.620, Info      No WinPE page file setting specified
    2014-09-09 14:23:02.635, Info      STATUS: SUCCESS (0x00000001)
    2014-09-09 14:23:02.635, Info      ==== Initializing Optional Components ====
    2014-09-09 14:23:02.635, Info      WinPE optional component 'Microsoft-WinPE-HTA' is present
    2014-09-09 14:23:02.651, Info      WinPE optional component 'Microsoft-WinPE-MDAC' is present
    2014-09-09 14:23:02.651, Info      WinPE optional component 'Microsoft-WinPE-WMI' is present
    2014-09-09 14:23:02.667, Info      WinPE optional component 'Microsoft-WinPE-WSH' is present
    2014-09-09 14:23:02.682, Info      STATUS: SUCCESS (0x00000000)
    2014-09-09 14:23:02.682, Info      ==== Initializing Network Access and Applying Configuration ====
    2014-09-09 14:23:02.682, Info      No EnableNetwork unattend setting was specified; the default action for this context is to enable networking support.
    2014-09-09 14:23:02.682, Info      Global handle for profiling mutex is non-null
    2014-09-09 14:23:02.682, Info      Waiting on the profiling mutex handle
    2014-09-09 14:23:02.682, Info      Acquired profiling mutex
    2014-09-09 14:23:02.997, Info      Install MS_MSCLIENT: 0x0004a020
    2014-09-09 14:23:02.997, Info      Install MS_NETBIOS: 0x0004a020
    2014-09-09 14:23:03.138, Info      Install MS_SMB: 0x0004a020
    2014-09-09 14:23:03.326, Info      Install MS_TCPIP6: 0x0004a020
    2014-09-09 14:23:03.702, Info      Install MS_TCPIP: 0x0004a020
    2014-09-09 14:23:03.702, Info      Service dhcp start: 0x00000000
    2014-09-09 14:23:03.702, Info      Service lmhosts start: 0x00000000
    2014-09-09 14:23:03.827, Info      Service ikeext start: 0x00000000
    2014-09-09 14:23:03.921, Info      Service mpssvc start: 0x00000000
    2014-09-09 14:23:03.921, Info      Service mrxsmb10 start: 0x00000000
    2014-09-09 14:23:03.921, Info      Released profiling mutex
    2014-09-09 14:23:03.921, Info      Spent 1250ms installing network components
    2014-09-09 14:23:04.108, Info      Installing device root\kdnic X:\windows\INF\kdnic.inf succeeded
    2014-09-09 14:23:04.608, Info      Installing device vmbus\{f8615163-df3e-46c5-913f-f2d2f965ed0e} X:\windows\INF\wnetvsc.inf succeeded
    2014-09-09 14:23:04.670, Info      Spent 750ms installing network drivers
    2014-09-09 14:23:09.768, Info      QueryAdapterStatus: found operational adapter with DHCP address assigned.
    2014-09-09 14:23:09.768, Info      Spent 5062ms confirming network initialization; status 0x00000000
    2014-09-09 14:23:09.768, Info      STATUS: SUCCESS (0x00000000)
    2014-09-09 14:23:09.768, Info      ==== Applying Firewall Settings ====
    2014-09-09 14:23:09.768, Info      STATUS: SUCCESS (0x00000001)
    2014-09-09 14:23:09.768, Info      ==== Executing Synchronous User-Provided Commands ====
    2014-09-09 14:23:09.768, Info      STATUS: SUCCESS (0x00000001)
    2014-09-09 14:23:09.768, Info      ==== Executing Asynchronous User-Provided Commands ====
    2014-09-09 14:23:09.768, Info      Parsing RunAsynchronousCommand: 2 entries
    2014-09-09 14:23:09.768, Info        Command 0: 0x00000000
    2014-09-09 14:23:09.768, Info      Successfully executed command 'X:\NetCheck.exe'
    2014-09-09 14:23:09.768, Info        Command 1: 0x00000000
    2014-09-09 14:23:09.784, Info      Successfully executed command 'wscript.exe X:\Deploy\Scripts\LiteTouch.wsf'
    2014-09-09 14:23:09.784, Info      STATUS: SUCCESS (0x00000000)
    2014-09-09 14:23:09.784, Info      ==== Applying Shutdown Settings ====
    2014-09-09 14:23:09.784, Info      No shutdown setting was specified
    2014-09-09 14:23:09.784, Info      STATUS: SUCCESS (0x00000001)

    Here is how i ended up solving my problem.
    Change the unattend file to look like this:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <RefreshRate>60</RefreshRate>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <RunSynchronous>
    <RunSynchronousCommand>
    <Order>1</Order>
    <Path>wscript.exe X:\Deploy.vbs</Path>
    <Description>Run the .vbs file that kicks off Netcheck and the Litetouch wizard</Description>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Here is the Deploy.vbs:
    Set objShell = Wscript.CreateObject("Wscript.shell")
    objShell.Run "X:\Netcheck.exe", 0, false
    objShell.Run "wscript.exe X:\Deploy\Scripts\LiteTouch.wsf", 0, true

  • Failed to run task sequence - 80004005. DNS working though.

    I seem to be getting a fairly common generic error but with possibly with a slight difference then some of the other problems/answers I have seen.  Generally it looks like this is a DNS issue but I am not sure in my case.
    Let me 1<sup>st</sup> describe my infrastructure and what I am trying to accomplish.  System Center 2012 R2, trying to deploy server 2012.  We use PKI on the main MPs/DPs.  I have another DP that I will use for OSD content that
    won’t use PKI.  I am 1<sup>st</sup> attempting to use boot media, vs PXE, to image a computer.  I have distributed the content to the DP, created a boot media USB and everything looks good there as far as I can tell.  My boot media
    selects the PKI MP and we have created the client cert and I direct it to the non-http DP.  The process seems to accept the certificate and the boot media creation completes.  Next boot off the media on the computer and drop into Windows PE where
    I can manually enter the IP information.  When I click next the process fails.
    Error:
    Failed to Run Task Sequence
    An error occurred while retrieving policy for this computer (0x80004005).
    So starting some of the troubleshooting I F8.
    -Can I ping the SCCM site servers?  Yes, I can ping, both short and FQDN, the primary, MP, DP.
    Looking at the SMSTSLog I see the following lines/errors.
    1)Failed to open PXE registry key.  Not a PXE boot.
    2)Failed to find the source drive where WinPE was booted from
    But then the next line is:  Executing from Media WinPE
    These 2 are at the top of the log and the process seems to continue on with the IP and variable information.  These are the lines of information later in the log with the error(s):
    -CLibSMSMessageWinHTTPTransport::Send:URL: (my MP)
    -In SSL, but with no client cert
    -Error.  Received 0x80072ee7 from WinHttpSendRequest.
    -Hr,HRESULT=80072ee7
    -sending with winhttp failed, 80072ee7
    -m_pHttp Transport -> (etc….)
    -MPKeyInformation.RequestMPKeyInformationForMedia
    -Failed to get information of MP: https//(my MP)
    So I am wondering where I start.  I don’t see that unknown host line that seems to indicate that it is a DNS issue.  I see some stuff about the in SSL but with no cert.  Does this mean that the cert we had to create isn’t working correctly? 
    We pretty much followed
    http://www.jamesbannanit.com/2012/05/how-to-build-and-capture-in-configuration-manager-2012-using-https/
    I have also looked through this
    http://blogs.technet.com/b/configurationmgr/archive/2009/07/27/a-step-by-step-for-using-osd-through-system-center-configuration-manager-2007.aspx
    And I have pretty much everything done there except a network access account.  Looking at my settings I am set to, “Use the computer account of the Configuration Manager client”  However, my computer I am trying to image is a “WORKGROUP” and not
    joining the domain.  But.. am I really getting that far in the process?  Would I be failing to get policy because of this or does this just come into play when I try to get the OS from the DP?

    Have you seen this thread?
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/528c2b54-55ef-4926-bebb-f73ca18a059b/trouble-deploying-windows-7-using-osd-using-pxe-in-sccm-2007-sp2-r3-error-80072ee7?forum=configmgrosd
    I have some free manuals http://1drv.ms/1kk6u6j

  • Download content locally when needed by running task sequence functionality with Windows PE.

    I am trying to understand what happens when the "Download content locally when needed by running task sequence" option in chosen on a task sequence deployment. My assumption is that any needed packages would not be identified
    and downloaded until task sequence is kicked off. 
    Using task sequence boot media, it looks likes a package has been obtained before any task sequence has been selected. I am assuming the package was acquired during the WinPE boot process. Can anyone confirm that this is
    the correct behavior when using the "Download content locally when needed by running task sequence" option? If not, how would WinPE be obtaining the PS100292 SCCM package?
    This specific package contains and HTA file. Only one of  several task sequences deployed to the All Unknown Computers make a call to the HTA file. The one that does, the HTA call is the very first step of the task sequence.
    --Tony

    Hi everyone! I figured what was going on here. I was using an ESX VM and the package was stored on the c:\ from previous attempts and troubleshooting. Long story short, I had to rip the HDD from the VM and add a new one to set every thing back.

  • Failed to Run Task Sequence Failed to Run Task Sequence 0x80004005

    Please help me with this error. i tried everything with the forums and internet blogs non of work for me. Pls find out the Trace below and help me to sought out this problem.
    Failed to Run Task Sequence 0x80004005
    <![LOG[LOGGING: Finalize process ID set to 780]LOG]!><time="11:50:44.583+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="784" file="tslogging.cpp:1495">
    <![LOG[==============================[ TSBootShell.exe ]==============================]LOG]!><time="11:50:44.583+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="784"
    file="bootshell.cpp:1052">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL']LOG]!><time="11:50:44.583+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="784" file="util.cpp:963">
    <![LOG[Debug shell is enabled]LOG]!><time="11:50:44.583+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="784" file="bootshell.cpp:1063">
    <![LOG[Waiting for PNP initialization...]LOG]!><time="11:50:44.676+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="bootshell.cpp:60">
    <![LOG[RAM Disk Boot Path: NET(0)\SMSIMAGES\LCS00005\BOOT.LCS00005.WIM]LOG]!><time="11:50:44.676+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="configpath.cpp:186">
    <![LOG[Booted from network (PXE)]LOG]!><time="11:50:44.676+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="configpath.cpp:201">
    <![LOG[Network(PXE) path: X:\sms\data\]LOG]!><time="11:50:44.676+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="configpath.cpp:203">
    <![LOG[Found config path X:\sms\data\]LOG]!><time="11:50:44.676+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="bootshell.cpp:545">
    <![LOG[Booting from removable media, not restoring bootloaders on hard drive]LOG]!><time="11:50:44.676+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="bootshell.cpp:579">
    <![LOG[X:\sms\data\WinPE does not exist.]LOG]!><time="11:50:44.676+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="bootshell.cpp:596">
    <![LOG[X:\_SmsTsWinPE\WinPE does not exist.]LOG]!><time="11:50:44.676+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="bootshell.cpp:610">
    <![LOG[Executing command line: wpeinit.exe -winpe]LOG]!><time="11:50:44.676+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="bootshell.cpp:857">
    <![LOG[The command completed successfully.]LOG]!><time="11:50:58.592+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="bootshell.cpp:939">
    <![LOG[Starting DNS client service.]LOG]!><time="11:50:58.592+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="bootshell.cpp:663">
    <![LOG[Executing command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\]LOG]!><time="11:50:59.106+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796"
    file="bootshell.cpp:857">
    <![LOG[The command completed successfully.]LOG]!><time="11:50:59.106+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="796" file="bootshell.cpp:939">
    <![LOG[==============================[ TSMBootStrap.exe ]==============================]LOG]!><time="11:50:59.184+480" date="03-07-2014" component="TSMBootstrap" context="" type="1" thread="244"
    file="tsmbootstrap.cpp:1129">
    <![LOG[Command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\]LOG]!><time="11:50:59.184+480" date="03-07-2014" component="TSMBootstrap" context="" type="0" thread="244"
    file="tsmbootstrap.cpp:1130">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL']LOG]!><time="11:50:59.184+480" date="03-07-2014" component="TSMBootstrap" context="" type="1" thread="244" file="util.cpp:963">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\TSRESNLC.DLL']LOG]!><time="11:50:59.184+480" date="03-07-2014" component="TSMBootstrap" context="" type="1" thread="244" file="resourceutils.cpp:169">
    <![LOG[Adding SMS bin folder "X:\sms\bin\x64" to the system environment PATH]LOG]!><time="11:50:59.200+480" date="03-07-2014" component="TSMBootstrap" context="" type="0" thread="244"
    file="tsmbootstrap.cpp:963">
    <![LOG[PXE Boot with Root = X:\]LOG]!><time="11:50:59.200+480" date="03-07-2014" component="TSMBootstrap" context="" type="1" thread="244" file="tsmbootstrap.cpp:1062">
    <![LOG[Executing from PXE in WinPE]LOG]!><time="11:50:59.200+480" date="03-07-2014" component="TSMBootstrap" context="" type="1" thread="244" file="tsmbootstrap.cpp:1077">
    <![LOG[Loading TsPxe.dll from X:\sms\bin\x64\TsPxe.dll]LOG]!><time="11:50:59.200+480" date="03-07-2014" component="TSMBootstrap" context="" type="0" thread="244" file="tsmbootstraputil.cpp:1320">
    <![LOG[TsPxe.dll loaded]LOG]!><time="11:50:59.200+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmbootstraputil.cpp:1330">
    <![LOG[Device has PXE booted]LOG]!><time="11:50:59.200+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tspxe.cpp:122">
    <![LOG[Variable Path: \SMSTemp\2014.03.07.10.07.05.0001.{A1AEE046-70ED-4ACB-BCBC-7DF72AEBD6B2}.boot.var]LOG]!><time="11:50:59.200+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244"
    file="tspxe.cpp:134">
    <![LOG[Succesfully added firewall rule for Tftp]LOG]!><time="11:50:59.216+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="fwopen.cpp:123">
    <![LOG[Executing: X:\sms\bin\x64\smstftp.exe -i 192.168.0.18 get \SMSTemp\2014.03.07.10.07.05.0001.{A1AEE046-70ED-4ACB-BCBC-7DF72AEBD6B2}.boot.var X:\sms\data\variables.dat]LOG]!><time="11:50:59.216+480" date="03-07-2014" component="TSPxe"
    context="" type="0" thread="244" file="tspxe.cpp:177">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="11:50:59.278+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="commandline.cpp:228">
    <![LOG[Set command line: "X:\sms\bin\x64\smstftp.exe" -i 192.168.0.18 get \SMSTemp\2014.03.07.10.07.05.0001.{A1AEE046-70ED-4ACB-BCBC-7DF72AEBD6B2}.boot.var X:\sms\data\variables.dat]LOG]!><time="11:50:59.278+480" date="03-07-2014"
    component="TSPxe" context="" type="0" thread="244" file="commandline.cpp:731">
    <![LOG[Executing command line: "X:\sms\bin\x64\smstftp.exe" -i 192.168.0.18 get \SMSTemp\2014.03.07.10.07.05.0001.{A1AEE046-70ED-4ACB-BCBC-7DF72AEBD6B2}.boot.var X:\sms\data\variables.dat]LOG]!><time="11:50:59.278+480" date="03-07-2014"
    component="TSPxe" context="" type="1" thread="244" file="commandline.cpp:827">
    <![LOG[Process completed with exit code 0]LOG]!><time="11:50:59.372+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="commandline.cpp:1123">
    <![LOG[Succesfully removed firewall rule for Tftp]LOG]!><time="11:50:59.372+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="fwopen.cpp:146">
    <![LOG[Successfully downloaded pxe variable file.]LOG]!><time="11:50:59.372+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="tspxe.cpp:187">
    <![LOG[we are booted using PXE]LOG]!><time="11:50:59.372+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="tsmediawizardcontrol.cpp:2629">
    <![LOG[we are booted using PXE and we don't use a password or the password is provided by the user]LOG]!><time="11:50:59.372+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244"
    file="tsmediawizardcontrol.cpp:2645">
    <![LOG[Found network adapter "D-Link DFE-520TX PCI Fast Ethernet Adapter" with IP Address 0.0.0.0.]LOG]!><time="11:50:59.372+480" date="03-07-2014" component="TSPxe" context="" type="0"
    thread="244" file="tsmbootstraputil.cpp:474">
    <![LOG[Found network adapter "Realtek PCIe GBE Family Controller" with IP Address 192.168.2.195.]LOG]!><time="11:50:59.372+480" date="03-07-2014" component="TSPxe" context="" type="0"
    thread="244" file="tsmbootstraputil.cpp:474">
    <![LOG[Run PXE Interactive]LOG]!><time="11:50:59.372+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmediawizardcontrol.cpp:2780">
    <![LOG[Running Wizard in Interactive mode]LOG]!><time="11:50:59.372+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="tsmediawizardcontrol.cpp:2782">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="11:50:59.387+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="tsremovablemedia.cpp:322">
    <![LOG[CryptDecrypt (hKey, 0, 1, 0, pData, &dwDecryptedLen), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\smscrypt\windes.cpp,165)]LOG]!><time="11:50:59.387+480" date="03-07-2014" component="TSPxe" context=""
    type="0" thread="244" file="windes.cpp:165">
    <![LOG[SMS::Crypto::DES::DecryptBuffer( (BYTE*)pszPassword, (DWORD)(wcslen(pszPassword)*sizeof(WCHAR)), encryptedBuffer.getBuffer(), (DWORD)encryptedBuffer.size(), pbDecryptedBuffer, dwDecryptedBufferSize ), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\tscore\tsremovablemedia.cpp,387)]LOG]!><time="11:50:59.387+480"
    date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsremovablemedia.cpp:387">
    <![LOG[Activating Welcome Page.]LOG]!><time="11:50:59.387+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmediawelcomepage.cpp:131">
    <![LOG[Loading bitmap]LOG]!><time="11:50:59.387+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="tsmbootstrap.cpp:1228">
    <![LOG[Executing command line: X:\WINDOWS\system32\cmd.exe /k]LOG]!><time="11:55:20.456+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="784" file="bootshell.cpp:857">
    <![LOG[The command completed successfully.]LOG]!><time="11:55:20.472+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="784" file="bootshell.cpp:939">
    <![LOG[Successfully launched command shell.]LOG]!><time="11:55:20.472+480" date="03-07-2014" component="TSBootShell" context="" type="1" thread="784" file="bootshell.cpp:430">
    <![LOG[WelcomePage::OnWizardNext()]LOG]!><time="12:43:26.237+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmediawelcomepage.cpp:340">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="12:43:26.237+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="tsremovablemedia.cpp:322">
    <![LOG[CryptDecrypt (hKey, 0, 1, 0, pData, &dwDecryptedLen), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\smscrypt\windes.cpp,165)]LOG]!><time="12:43:26.237+480" date="03-07-2014" component="TSPxe" context=""
    type="0" thread="244" file="windes.cpp:165">
    <![LOG[SMS::Crypto::DES::DecryptBuffer( (BYTE*)pszPassword, (DWORD)(wcslen(pszPassword)*sizeof(WCHAR)), encryptedBuffer.getBuffer(), (DWORD)encryptedBuffer.size(), pbDecryptedBuffer, dwDecryptedBufferSize ), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\tscore\tsremovablemedia.cpp,387)]LOG]!><time="12:43:26.237+480"
    date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsremovablemedia.cpp:387">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="12:43:26.237+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="tsremovablemedia.cpp:322">
    <![LOG[CryptDecrypt (hKey, 0, 1, 0, pData, &dwDecryptedLen), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\smscrypt\windes.cpp,165)]LOG]!><time="12:43:26.237+480" date="03-07-2014" component="TSPxe" context=""
    type="0" thread="244" file="windes.cpp:165">
    <![LOG[SMS::Crypto::DES::DecryptBuffer( (BYTE*)pszPassword, (DWORD)(wcslen(pszPassword)*sizeof(WCHAR)), encryptedBuffer.getBuffer(), (DWORD)encryptedBuffer.size(), pbDecryptedBuffer, dwDecryptedBufferSize ), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\tscore\tsremovablemedia.cpp,387)]LOG]!><time="12:43:26.237+480"
    date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsremovablemedia.cpp:387">
    <![LOG[Verifying media password.]LOG]!><time="12:43:26.237+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="tsmediawizardcontrol.cpp:271">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="12:43:26.237+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="tsremovablemedia.cpp:322">
    <![LOG[Spawned thread 960 to download policy.]LOG]!><time="12:43:26.252+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="tsmediawelcomepage.cpp:405">
    <![LOG[Entering TSMediaWizardControl::GetPolicy.]LOG]!><time="12:43:26.252+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="960" file="tsmediawizardcontrol.cpp:527">
    <![LOG[Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00350031004100300031003600420036002D0046003000440045002D0034003700350032002D0042003900370043002D003500340045003600460033003800360041003900310032007D00']LOG]!><time="12:43:26.252+480"
    date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="environmentscope.cpp:284">
    <![LOG[Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}]LOG]!><time="12:43:26.252+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960"
    file="environmentscope.cpp:659">
    <![LOG[Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00420041003300410033003900300030002D0043004100360044002D0034006100630031002D0038004300320038002D003500300037003300410046004300320032004200300033007D00']LOG]!><time="12:43:26.252+480"
    date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="environmentscope.cpp:284">
    <![LOG[Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}]LOG]!><time="12:43:26.252+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960"
    file="environmentscope.cpp:659">
    <![LOG[Setting LogMaxSize to 1000000]LOG]!><time="12:43:26.252+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:555">
    <![LOG[Setting LogMaxHistory to 1]LOG]!><time="12:43:26.252+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:556">
    <![LOG[Setting LogLevel to 0]LOG]!><time="12:43:26.252+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:557">
    <![LOG[Setting LogEnabled to 1]LOG]!><time="12:43:26.252+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:558">
    <![LOG[Setting LogDebug to 1]LOG]!><time="12:43:26.252+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:559">
    <![LOG[UEFI: false]LOG]!><time="12:43:26.252+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:569">
    <![LOG[Loading variables from the Task Sequencing Removable Media.]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:584">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsremovablemedia.cpp:322">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL']LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="util.cpp:963">
    <![LOG[Setting SMSTSMP TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSMediaGuid TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSBootMediaPackageID TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSHTTPPort TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSHTTPSPort TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSIISSSLState TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSLaunchMode TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSMediaPFX TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSPublicRootKey TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSSiteCode TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSSiteSigningCertificate TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSUseFirstCert TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSx64UnknownMachineGUID TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSx86UnknownMachineGUID TS environment variable]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Root CA Public Certs=]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:615">
    <![LOG[Missing root CA environment variable from variables file]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:621">
    <![LOG[Support Unknown Machines: 0]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:632">
    <![LOG[Custom hook from X:\\TSConfig.INI is ]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:675">
    <![LOG[No hook is found to be executed before downloading policy]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:699">
    <![LOG[Authenticator from the environment is empty.]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:838">
    <![LOG[Need to create Authenticator Info using PFX]LOG]!><time="12:43:26.268+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="960" file="tsmediawizardcontrol.cpp:850">
    <![LOG[Initialized CStringStream object with string: {293EDF76-D3BA-4366-B956-6BADCC3E6B71};2014-03-07T20:43:26Z.]LOG]!><time="12:43:26.299+480" date="03-07-2014" component="TSPxe" context="" type="0"
    thread="960" file="stringstream.cpp:101">
    <![LOG[Set media certificate in transport]LOG]!><time="12:43:26.315+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="960" file="libsmsmessaging.cpp:9418">
    <![LOG[Set authenticator in transport]LOG]!><time="12:43:26.315+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="960" file="libsmsmessaging.cpp:7751">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: sccm.lan.lankacom.lk:80  GET /SMS_MP/.sms_aut?MPKEYINFORMATIONMEDIA]LOG]!><time="12:43:26.315+480" date="03-07-2014" component="TSPxe" context="" type="1"
    thread="960" file="libsmsmessaging.cpp:8621">
    <![LOG[Error. Status code 503 returned]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="960" file="libsmsmessaging.cpp:8984">
    <![LOG[dwResultCode == 200, HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,5165)]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context="" type="0"
    thread="960" file="libsmsmessaging.cpp:5165">
    <![LOG[RequestMPKeyInformation: Send() failed.]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context="" type="3" thread="960" file="libsmsmessaging.cpp:5165">
    <![LOG[MPKeyInformation.RequestMPKeyInformationForMedia(szTrustedRootKey), HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,9427)]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe"
    context="" type="0" thread="960" file="libsmsmessaging.cpp:9427">
    <![LOG[Failed to get information for MP: http://sccm.lan.lankacom.lk. 80004005.]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context="" type="3" thread="960" file="tsmbootstraputil.cpp:1475">
    <![LOG[sMP.length() > 0, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstraputil.cpp,1483)]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context=""
    type="0" thread="960" file="tsmbootstraputil.cpp:1483">
    <![LOG[TSMBootstrapUtil::SelectMP ( sSMSTSMP.c_str(), sMediaPfx.c_str(), sMediaGuid.c_str(), sAuthenticator.c_str(), sEnterpriseCert.c_str(), sServerCerts.c_str(), nHttpPort, nHttpsPort, bUseCRL, sSiteCode, sAssignedSiteCode, sMP, sCertificates, sX86UnknownMachineGUID,
    sX64UnknownMachineGUID), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,904)]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context=""
    type="0" thread="960" file="tsmediawizardcontrol.cpp:904">
    <![LOG[Exiting TSMediaWizardControl::GetPolicy.]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="960" file="tsmediawizardcontrol.cpp:1378">
    <![LOG[pWelcomePage->m_pTSMediaWizardControl->GetPolicy(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawelcomepage.cpp,303)]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe"
    context="" type="0" thread="960" file="tsmediawelcomepage.cpp:303">
    <![LOG[Setting wizard error: An error occurred while retrieving policy for this computer  (0x80004005). For more information, contact your system administrator or helpdesk operator.]LOG]!><time="12:43:26.346+480" date="03-07-2014"
    component="TSPxe" context="" type="0" thread="244" file="tsmediawizardcontrol.cpp:1547">
    <![LOG[WelcomePage::OnWizardNext()]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmediawelcomepage.cpp:340">
    <![LOG[Skipping Confirmation Page.]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmediaconfirmationpage.cpp:170">
    <![LOG[Skipping Task Sequence Selection Page.]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmediataskselectionpage.cpp:118">
    <![LOG[Skipping Variables Selection Page.]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmediavariablesselectionpage.cpp:155">
    <![LOG[Skipping Resolve Progress Page.]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmediaresolveprogresspage.cpp:96">
    <![LOG[Activating Finish Page.]LOG]!><time="12:43:26.346+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmediafinishpage.cpp:107">
    <![LOG[Initializing the countdown timer.]LOG]!><time="12:43:26.362+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmediafinishpage.cpp:197">
    <![LOG[Loading bitmap]LOG]!><time="12:43:26.362+480" date="03-07-2014" component="TSPxe" context="" type="1" thread="244" file="tsmbootstrap.cpp:1228">
    <![LOG[Suspending the countdown timer.]LOG]!><time="12:43:27.968+480" date="03-07-2014" component="TSPxe" context="" type="0" thread="244" file="tsmediafinishpage.cpp:384">

    CLibSMSMessageWinHttpTransport::Send: URL: sccm.lan.lankacom.lk:80  GET /SMS_MP/.sms_aut?MPKEYINFORMATIONMEDIA
    Error. Status code 503 returned
    That's from the log above. When the client is trying to communicate with the MP, it is getting a 503 which is an HTTP error code for service unavailable. Thus, you need to troubleshoot your MP which is most likely unhealthy.
    Jason | http://blog.configmgrftw.com

  • Offline OSD Failed to Run Task Sequence 0x80004005

    hi Folks.. I am getting this error message "
    Failed to Run Task Sequence 0x80004005
    when trying to do an offline build via DVD generated from SCCM 2012 R2. Its failing on the applying OS step. Pxe boot build works fine. I've put the smsts log file below. Any help/ advice appreciated.

    hi. Apologies there is a restriction on the amount of characters for text so can cannot post the entire smsts log. 
    here is the step its failing on.
    <![LOG[Start executing an instruction. Instruction name: Install Operating System. Instruction pointer: 0]LOG]!><time="03:51:00.239+480" date="01-19-2015" component="TSManager" context="" type="1"
    thread="716" file="engine.cxx:116">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=Install Operating System]LOG]!><time="03:51:00.239+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716"
    file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=0]LOG]!><time="03:51:00.239+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716" file="executionenv.cxx:668">
    <![LOG[The group (Install Operating System) has been successfully started]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="1" thread="716" file="instruction.cxx:156">
    <![LOG[Do not send status message in full media case]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="1" thread="716" file="utils.cpp:5763">
    <![LOG[User did not specify local data drive]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716" file="utils.cpp:1974">
    <![LOG[Volume D:\ is not a fixed hard drive]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="1" thread="716" file="utils.cpp:1077">
    <![LOG[Volume X:\ is not a fixed hard drive]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="1" thread="716" file="utils.cpp:1077">
    <![LOG[TSM root drive = ]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="1" thread="716" file="utils.cpp:1142">
    <![LOG[We do not find an available volume to store the local data path]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="1" thread="716" file="utils.cpp:1989">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=1]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716" file="executionenv.cxx:668">
    <![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=1]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716" file="executionenv.cxx:386">
    <![LOG[Set a global environment variable _SMSTSInstructionStackString=0]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716" file="executionenv.cxx:668">
    <![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=0]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716" file="executionenv.cxx:414">
    <![LOG[Save the current environment block]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716" file="executionenv.cxx:833">
    <![LOG[pszPath[0] != L'\0', HRESULT=80070057 (e:\nts_sccm_release\sms\framework\core\ccmcore\path.cpp,60)]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="0"
    thread="716" file="path.cpp:60">
    <![LOG[Filesystem::Path::Add(sEnvPath, EnvDataFileName, sEnvPath), HRESULT=80070057 (e:\qfe\nts\sms\framework\tscore\environmentlib.cpp,676)]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context=""
    type="0" thread="716" file="environmentlib.cpp:676">
    <![LOG[Failed to save environment to  (80070057)]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="2" thread="716" file="environmentlib.cpp:697">
    <![LOG[TS::Environment::SharedEnvironment.saveEnvironment(szPath), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\executionengine\executionenv.cxx,842)]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager"
    context="" type="0" thread="716" file="executionenv.cxx:842">
    <![LOG[Failed to save the current environment block. This is usually caused by a problem with the program. Please check the Microsoft Knowledge Base to determine if this is a known issue or contact Microsoft Support Services for further assistance.
    The parameter is incorrect. (Error: 80070057; Source: Windows)]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="3" thread="716" file="executionenv.cxx:842">
    <![LOG[SaveEnvironment(), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\executionengine\executionenv.cxx,420)]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context=""
    type="0" thread="716" file="executionenv.cxx:420">
    <![LOG[Failed to persist execution state. Error 0x(80070057)]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="2" thread="716" file="executionenv.cxx:426">
    <![LOG[Failed to save execution state and environment to local hard disk]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="2" thread="716" file="engine.cxx:249">
    <![LOG[Start executing an instruction. Instruction name: Restart in Windows PE. Instruction pointer: 1]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="1"
    thread="716" file="engine.cxx:116">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=Restart in Windows PE]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716"
    file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=1]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716" file="executionenv.cxx:668">
    <![LOG[Set a local default variable SMSRebootMessage]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716" file="executionenv.cxx:700">
    <![LOG[Set a local default variable SMSRebootTimeout]LOG]!><time="03:51:00.255+480" date="01-19-2015" component="TSManager" context="" type="0" thread="716" file="executionenv.cxx:700">
    <![LOG[Set a global environment variable _SMSTSLogPath=X:\windows\TEMP\SMSTSLog]LOG]!><time="03:51:00.255+480" date="01-19-2015" 

  • Failed to Run Task Sequence on unknown computers

    Hey everyone i need some major help here.  I am 99.9% sure that we dont have something configured properly but here goes.  I have a the following:
    A task sequence that is enabled to deploy a image to all platforms (Console, Boot media, PXE)
    I have Boot Media created that has "Enable unknown computer support"
    I have a workstation that has NEVER been on our network (Bare Metal
    Now here is the problem on that workstation, I use the boot media, and get a "Failed to run Task Sequence" There are no Task Sequences available for this computer"
    BUT, if it has/had the SCCM agent on it.. It works fine..
    Ideas? Starting points?

    A task sequence that is enabled to deploy a image to all platforms (Console, Boot media, PXE)
    I have Boot Media created that has "Enable unknown computer support"
    Step #2 alone is not sufficient. There has to be a deployment for the task sequence to the 'All Unknown Computers' collection too. You did not mention this ...
    Torsten Meringer | http://www.mssccmfaq.de

  • Failed to Run Task Sequence (Error 0x80070032)

    Hello folks
    We just setup the productive SCCM environment and successfully staged many clients. But with one we have some trouble.
    I have added the Client with the Hostname and MAC address into SCCM
    Added the Client into the Collection where the Task Sequence for staging is applied
    Made a boot image on CD-ROM and booted up the client
    He can successfully connect to the SCCM Server and also get the right ask Sequence
    Bevor starting downloading the Vista OS WIM, the following Error occure:
    Failed to Run Task Sequence
    An error occured while starting the task sequence (0x80070032).
    For more information, please contact ....
    I used the Boot CD-ROM successfully on other clients without any problem.
    The same Task Sequence was working perfect on other clients
    All Clients are HP DC7800 SFF Desktops
    BIOS Settings are default by all the Clients
    Have tested the same Client on the Test SCCM Environment and got the same problem.
    Deleted the Client and re-added it into the SCCM Server
    Tried to use different network cable on different location
    Client successfully get a DHCP IP address
    We have all done so far as I have the knowledge. Any help would kindly be appreachate.
    Kind regards
    Stefan

    Hi folks
    As seen in another thread (http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2592075&SiteID=17) that the local smsts.log file located in x:\windows\temp\smstslog\ will help to analyse whats happen in the background, I have seen the following line in the Log:
    The active system partition on a MBR system must be NTFS
    and
    Failed to prepare the system partition for staging.
    The request is not supported. (Error: 80070032; Source: Windows)
    and
    Failed to stage WinPE. Code(0x80070032)
    So, I did the steps informed in the other thread to press F8 durcing the Error and used the following in the DOS Box:
    Diskpart
    Select Disk 0
    Clean
    After that steps, the Bootprocess worked perfect. It seams that the Disk was partitioned not that good, that WinPE could handle it.
    Hope this helps other for analysing.
    Cheers
    Stefan

  • I'm running windows XP using boot camp. What key do I push on the keyboard to bring up my desktop?

    I'm running windows XP using boot camp. What key do I push on the keyboard to bring up/go to my desktop?

    Have a look here http://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts
    Stefan

  • Waiting for the previously running task to complete issue

    I am running the full extract process , and one task SDE_ORA_InventoryProductDimension running for 18 hours and its status is "Waiting for the previously running task to complete"
    but all running tasked are completed and left tasks are queued by this task, so what make this issue happen?
    I restart the informatica server and the task running now!
    but for this task I run before it has ten million records , and it always make the dataware house server's cache full and server down,
    so how to handle this problem?
    Edited by: Yu Yang on Apr 16, 2013 4:58 AM

    Check if /*+ FULL(PER_ALL_PEOPLE_F) */ hint existed in the SDE_ORA_INVENTORYPRODUCTDIMENSION_FULL mapping Source qualifier?.
    I suggest you to raise an SR and check with your DBA's if they can do something to improve the Performance.
    Mark helpfull if it helps.
    Regards,
    Veeresh Rayan

  • Failed to Run Task Sequence (error ocurred while retrieving policy for the computer)

    Hi, all of sudden we're getting an issue with SCCM when attempting to deploy an image we get a Failed to Run Task Sequence. Used to work previously, now suddenly it isn't working for any.
    Full error:
    Failed to Run Task Sequence
    An Error occurred while retrieving policy for this computer (0x8009310B). For more information....
    Log:
    Reading Policy Body. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Parsing Policy Body. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Downloading policy body EAB200A4-EAB00066-6F6BCC28. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Preparing Policy Body Request. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
        Setting transport. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
        Setting policy location = ttp://<mp>/SMS_MP/.sms_pol?EAB200A4-EAB00066-6F6BCC28.11_00. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Executing Policy Body Request. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    CLibSMSMessageWinHttpTransport::Send: URL: servername.bla.com.au:80  GET /SMS_MP/.sms_pol?EAB200A4-EAB00066-6F6BCC28.11_00 TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Error. Status code 404 returned TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Found a secure policy. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Trying to decode policy. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    CryptDecryptMessage ( &DecryptParams, pbEncrypted, nEncryptedSize, 0, &nPlainSize, 0 ), HRESULT=8009310b (e:\nts_sccm_release\sms\framework\smscrypt\windes.cpp,339) TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Decoding in non ssl mode failed. Checking if decoding was really needed. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Failed to verify a properly formed XML. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    oPolicy.RequestPolicy((GetPolicyFlags() & POLICY_SECURE) != 0, (GetPolicyFlags() & POLICY_COMPRESS) != 0), HRESULT=8009310b (e:\nts_sccm_release\sms\framework\tscore\tspolicy.cpp,2067) TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Failed to download policy EAB200A4-EAB00066-6F6BCC28 (Code 0x8009310b). TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    (*iTSPolicyAssignment)->GetObjects(pszClassName, aTSPolicyObjectArray ), HRESULT=8009310b (e:\nts_sccm_release\sms\framework\tscore\tspolicy.cpp,1224) TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    m_pPolicyManager->GetObjects( TS::Policy::TaskSequence::GetClassNameW(), TS::Policy::TaskSequence::GetPolicyCategory(), TS::Policy::TSPolicyAssignment::POLICY_TS_FOR_CD_AND_PXE, aTSPolicyObjectArray ), HRESULT=8009310b (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1205) TSPxe 16/01/2015
    2:54:40 PM 1176 (0x0498)
    Exiting TSMediaWizardControl::GetPolicy. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    pWelcomePage->m_pTSMediaWizardControl->GetPolicy(), HRESULT=8009310b (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawelcomepage.cpp,303) TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Setting wizard error: An error occurred while retrieving policy for this computer  (0x8009310B). For more information, contact your system administrator or helpdesk operator. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    WelcomePage::OnWizardNext() TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Skipping Confirmation Page. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Skipping Task Sequence Selection Page. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Skipping Variables Selection Page. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Skipping Resolve Progress Page. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Activating Finish Page. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Initializing the countdown timer. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Loading bitmap TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Suspending the countdown timer. TSPxe 16/01/2015 2:54:49 PM 1124 (0x0464)
    Exiting task sequence wizard. TSPxe 16/01/2015 2:54:51 PM 1124 (0x0464)
    Exiting with return code 0x00000000 TSPxe 16/01/2015 2:54:51 PM 1124 (0x0464)
    Execution complete. TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515) TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337) TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,549) TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    ::RegOpenKeyExW (HKEY_LOCAL_MACHINE, c_szSMSTSKey, 0, KEY_READ, &hSubKey), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,258) TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    RegOpenKeyExW failed for Software\Microsoft\SMS\Task Sequence TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    GetTsRegValue() failed. 0x80070002. TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    End program:  TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    Finalizing logging from process 840 TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    Finalizing logs to root of first available drive TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    Successfully finalized logs to C:\SMSTSLog TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    Cleaning up task sequencing logging configuration. TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)

    CLibSMSMessageWinHttpTransport::Send: URL: servername.bla.com.au:80  GET /SMS_MP/.sms_pol?EAB200A4-EAB00066-6F6BCC28.11_00 TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Error. Status code 404 returned TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    6 (0x0358)
    Is the management point still working? Examine mpcontrol.log. Do mplist and mpcert work?
    Torsten Meringer | http://www.mssccmfaq.de

  • Failed to run task sequence. Error occurred while starting the task sequence (0x8007000E)

    Hi there
    Patch Tuesday yesterday (10th June2014). As always we deploy new patches first to a test collection where Windows 7 updates automatically apply.
    Upon trying to rebuild any of the machines in this test collection, we were presented with the following error message:
    Failed to run task sequence.  Error occurred while starting the task sequence (0x8007000E)
    After searching about this, I found this page from Niall Brady, which explained the problem:
    http://www.niallbrady.com/2013/05/17/after-selecting-a-task-sequence-in-configuration-manager-2012-sp1-you-receive-threadtoresolveandexecutetasksequence-failed-code0x8007000e-in-smsts-log/
    So I removed some of the machines from the test Windows update collection, and as per the advice in the above link, the error was gone and those machines could be built successfully.
    So the problem is there were too many many policies downloaded (apps, packages and most of all updates) for the task sequence ram to store, hence the error.
    Now...
    ...I have a question.
    The next logical step to my mind is to patch our OS image with all missing patches, so these do not have to be downloaded at build time. Niall mentions this as one of the resolutions to this issue.
    However there seems to be some confusion over whether this would actually make a difference.
    I read through this link:
    http://social.technet.microsoft.com/Forums/en-US/7e597b44-2586-4063-b6d0-cec48a7c11c7/sccm-2012-task-sequence-failure-0x8007000e?forum=configmanagerosd
    There's seems to be no consensus on this.
    Is SCCM 2012 clever enough to - when the task sequence is first started - to download ONLY the updates (policies) it detects as NOT present in the OS image...
    or
    Will it simply try to download policies for ALL items deployed to it, whether the updates are present in the OS image or not?
    I will be disappointed if SCCM 2012 SP1 CU2 isn't clever enough to only download policies at build time for the apps, packages and updates it detects as needed.
    I'd be grateful for some clarity on this.
    Regards,
    John, Glasgow.

    Hi Jason
    Thank you for replying, I appreciate it.
    1) We currently have 15 or 16 software update groups for Office updates, dating back a month or two. The latest software update group contains all the patches in the previous software update groups plus the patches released on 10th June. Do you recommend
    deleting all but the latest software update group?
    2) I'm almost reluctant to ask this, but based on what you have advised, is it the case that when the task sequence executes, it will download policies for each update in each software update group regardless of whether it has already downloaded a policy
    for an update in a previous software update group? So in effect it's downloading policies (for updates) it has already downloaded?
    3) I'm not clear on why there would be no policy for an image; in Niall Brady's informative page on the 8007000E error, he writes the following:
    "The reason it has run of space could be due to four possibilites: too many applications, too many Windows updates, too many Task Sequence steps, too many referenced packages'.
    Can you shed some light on why there isn't a policy for an image?
    Thanks again for replying,
    John.

  • My macbook pro running lion will not boot . it stays on the grey page with the cog spinning. I have tried all methods of booting to no avail. I have removed the bottom and taken out the battery and the ram . will this affect my applecare warranty.

    my macbook pro running lion will not boot . it stays on the grey page with the cog spinning. I have tried all methods of booting to no avail. I have removed the bottom and taken out the battery and the ram . will this affect my applecare warranty. I had to try myself as I'm overseas for two months and nowhere near any sort of help .

    there was a recent software update that seemed to screw HDV up.  Do some searching here over the last month or 2 and you'll find a bunch of posts and some possible solutions.
    Worst case scenario, do as Shane suggests.  But might I suggest you take a look at the user tips section of the forum.  there are some great tips on how to prevent these sorts of problems by cloning your startup drive, etc.

  • Question about running EverQuest on a Boot Camp MacMini

    Hey all,
    I'm trying to get EverQuest working on my MacMini running Windows 7 via Boot Camp. Browsing through the archives of the internet, I've found many posts from 2007-2010 of people having success with this on a MacBook Pro (a few posts of which I found in these community archives), and I'm 99% certain that my MacMini hardware is more than sufficient. Anyway, I haven't even got to loading the game yet so performance my question isn't about performance.
    My issue is that I'm trying to run the EverQuest LaunchPad to start patching the game, and it won't connect right from the outset. I've followed all of SoE's EQ LaunchPad Troubleshooting tips (here: http://help.soe.com/app/answers/detail/a_id/29017 ) and I've also gone in to my router settings and opened/forwarded all of the necessary EQ ports to this computer's IP address. I was hoping that would do it but no luck.
    I also contacted the SOE Support staff and they were categorically unhelpful as usual. I used to play EQ a decade ago and I wasn't surprised to see that their customer service hasn't changed one bit. Well, here's to hoping that the Mac community is much more positive and helpful than SOE Support.
    Has anyone experienced similar problems getting EverQuest to run on a Windows Boot Camp machine like this? How did people get their LaunchPad client to connect? I'm hoping there's some really dumb, obvious fix that I'm missing here because it really does seem like many have gotten this to work successfully and I'm a bit stumped at the moment..
    Any advice would be greatly appreciated. Thanks!

    the hardware of macs today and windows computer is pretty much the same
    so when one use bootcamp it's really just a bootloaded which collects the windows partition from the harddisk and then let it take over and apart from one having to install the apple drivers and software to get it running well
    it's the same as any windows computer
    I do all my my gaming on windows on my imac and face no different challenges then I did when I had a windows computer really
    so If I were you I would broaden my googling for solutions not just to include bootcamp but all windows issues with newer windows versions and everquest could as easy be a issue there with newer video card drivers and the likes

  • OSD - Failed to run Task Sequence. An error occurred while starting the task sequence (0x8007000E).

    Failed to run Task Sequence.
    An error occurred while starting the task sequence (0x8007000E)."
    While OSD, picks up task sequence but fails in resolving task sequence dependencies. SMSPXE identifies device is not in database (unknown).
    SMSTS.log shows
    ThreadToResolveAndExecuteTaskSequence failed. Code(0x8007000E)" in SMSTS.LOG, have seen other articles suggesting failure due to lack of storage (RAM) but this task sequence has worked in past.
    By the way, if I create a stand alone media, we are able to image the workstation. What has changed in the task sequence such that the workstation is unable to download policies due to lack of storage (RAM) on workstation. Workstation has 2 GB of RAM.

    I have found a work around for the issue, even though the computer is unknown, there were software updates targeted to the ALL SYSTEMS collection which applies to All Unknown Computers and therefore to x64 Unknown Computer and x86 Unknown Computer.
    We had a SCEP ADR applying definition updates to All Systems, we applied the ADR to a different collection, removed all the SCEP updates to All Systems and successfully re-imaged the workstation. Following article was of great help in identifying the problem
    after-selecting-a-task-sequence-in-configuration-manager-2012-sp1-you-receive-threadtoresolveandexecutetasksequence-failed-code0x8007000e-in-smsts-log
    Thanks Gerry for your assistance.

Maybe you are looking for

  • CUIC DB Schema Document

    Hi All, Can someone share me or guide me to the URL, to get the CUIC DB schema(i am not referring to the AWDB or HDS schema). I am basically trying to run a report to capture any error occured while executing the report. In 7.5 CUIS, CISCO provided a

  • Problem with updating XI 3.0 (Kernel etc.)

    Hi, well i finally did all the patching to SP 19, everything worked fine. Except the Kernel patch. I have an error concerning CL_BSP_MODEL where i found note 869197 to update the Kernel (we have 43 - should be 48 for getting rid of the error) Therefo

  • Basic List Margin Question

    I know this is a very simple thing, but I have no clue how to do this. I have an unordered listing that indents itself from the table border. I would like to get rid of this indent so it is right against the border. I turned the borders on and you ca

  • White lines appear around placed images in printing.

    A native Illustrator document with placed Photoshop (both CS6) images produces whites lines around the placed images when printed.  The Illustrator document does not show white lines on screen.  Nor does the PDF (Acrobat X Pro) generated from the IA

  • Get selection screen parameters from sap query

    Hello. I use SAP Query Reporting, so I added a report assignment for detailing (sq01 ->  Change button -> Goto -> Report Assignment -> Insert row -> Other type row -> Abap Report Program) and put there ABAP program. When I run query and press CtrlShi