Running SCUP in task sequence

We use SCCM 2012 and SCUP 2011. One question...
When you install a workstation (running the task sequence) can you install a full version of Adobe Flash Player from SCUP or only update it through the task sequence?
Ergo, do we need to have the latest version of Flash Player (v.15.0.0.167) in our task seqence as an application or can it be removed completely and Flash Player is installed as part of the software updates, like any other wsus updates?
Flash Player v. 15.0.0.167 is deployed to all workstations, but our task sequence contains v. 12.0.
hope my question make sense...

You can't install Flash Player directly you must have a flash player version on the client before the flash player updates apply on the machine.
Put the latest version you need in the task sequence instead, and update
existing machines thru the update from SCUP.

Similar Messages

  • Powershell Syntax working when run in cmd, but when run through SCCM2007 Task Sequence it claims the syntax is incorrect?

    The code below is a simple powershell statement which enables me to change the execution policy so that I can run powershell scripts. When I run this in a normal windows enviroment the statement will work fine, not giving me an issue whatsoever. However,
    whenever it runs in the task sequence the TS fails. I am running this via the command line option in the task sequence, each time running this step as 3 different types of administrators.
    powershell.exe -noninteractive Set-ExecutionPolicy -ExecutionPolicy unrestricted
    Checking the log file it states this:
    Set-ExecutionPolicy : The term 'Set-ExecutionPolicy' is not recognized as the InstallSoftware 13/10/2014 17:28:09 3768 (0x0EB8)
    name of a cmdlet, function, script file, or operable program. Check the InstallSoftware 13/10/2014 17:28:09 3768 (0x0EB8)
    spelling of the name, or if a path was included, verify that the path is InstallSoftware 13/10/2014 17:28:09 3768 (0x0EB8)
    correct and try again. InstallSoftware 13/10/2014 17:28:09 3768 (0x0EB8)
    At line:1 char:1 InstallSoftware 13/10/2014 17:28:09 3768 (0x0EB8)
    + Set-ExecutionPolicy -ExecutionPolicy unrestricted InstallSoftware 13/10/2014 17:28:09 3768 (0x0EB8)
    + ~~~~~~~~~~~~~~~~~~~ InstallSoftware 13/10/2014 17:28:09 3768 (0x0EB8)
    + CategoryInfo : ObjectNotFound: (Set-ExecutionPolicy:String) [], InstallSoftware 13/10/2014 17:28:09 3768 (0x0EB8)
    CommandNotFoundException InstallSoftware 13/10/2014 17:28:09 3768 (0x0EB8)
    + FullyQualifiedErrorId : CommandNotFoundException InstallSoftware 13/10/2014 17:28:09 3768 (0x0EB8)
    InstallSoftware 13/10/2014 17:28:09 3768 (0x0EB8)
    Failed to run the action: Script Exception.
    Incorrect function. (Error: 00000001; Source: Windows) TSManager 13/10/2014 17:28:09 2716 (0x0A9C)
    I am new to both SCCM and Powershell, but from my point of view, this should work, considering that the syntax is not actually incorrect? Please could anyone with any idea drop some hints and tips on how to
    stop this issue.

    I'm not using 3 admin accounts at once if that's how it sounded. I have tried 3 different Admin accounts because I felt that perhaps the difference in permissions may have made a difference in whether I was able to run the syntax and scripts. So I tried
    using my own personal administrator account, the SCCMNA account, and the local admin account, which I read worked.
    At this point in the task sequence I have:
    - Installed the OS
    - Connected to the domain
    - Installed Applications such as; Flash, Shockware, Reader etc.
    Once it has installed the last application within a folder called "Helper Apps" (Which contains various Java and Adobe apps which install fine) it will then run a "Use Toolkit Package" using the MDT toolkit, once this stage is complete
    it then progresses to the Script Exception section of the TS.
    powershell.exe -noninteractive Set-ExecutionPolicy -ExecutionPolicy unrestricted
    I obviously need this to work otherwise I am not allowed to run the script, but because this syntax is "incorrect" it stops the task sequence.
    I hope this information might shed some more light on the situation.

  • Run Powershell Script task sequence

    Hi,
    Anyone have good documentation on how to use the Run PowerShell Script task sequence ?
    Thanks

    If you are just interested in running a powershell command without creating a package, you can do this with the the Command line step by using this format in the command line:
    PowerShell -ExecutionPolicy bypass -Command "& {your powershell commands}"
    Here is an example of a multiline command to increase the agents cache size. Notice the ";"'s which are used to delineate a new line.
    PowerShell -ExecutionPolicy bypass -Command "& {$UIResourceM gr = New-Object -ComObject UIResource.UIResourceMgr;$Cache = $UIResourceMgr.GetC acheInfo();$Cache.TotalSize = "20480"}"

  • Can I set a priority in SCCM 2012 for advertisements or any other ideas to fix my Task sequences?

    I have several task sequences that I deploy to lab computers that we re-image 1 or 2 times a year.  The task sequences run and install specific software
    for that lab after the base image deploys.
    The base image is deployed using WDS without SCCM in the mix.  It is a setup they we are using because of legacy business processes that just make this easier.
     Then after the machine boots up and gets its SCCM policies the task sequences start running to deploy the software.
    The issue I am noticing is that I have no control over what runs first and sometimes Windows Updates that are deployed via SCCM run before or in between the task
    sequences that I have running.  Some installs fail because of the pending Windows Update reboot, which I believe I have gotten around just by checking for it and rebooting before it installs the software.  The issue is that the Windows update could
    and usually is one of those lovely updates that requires multiple reboots.  The second reboot is killing my task sequence.
    The issue is I need to somehow force this updates to run after my task sequences or make sure they run first.  The only way I can think of this is by having
    priorities for the task sequences.  I can't just add installing the updates to the task sequence, because the second reboot will kill my whole task sequence there too.
    Anyone have any ideas on how to get around this issue?  I want the machines to install the Windows updates so I can't just remove them from the collection.

    That's definitely the best option to do everything via the task sequence deployment.
    Also, there are script available in the community to add or remove a device from a collection, see for example:
    http://sccmfaq.wordpress.com/2013/05/20/sccm-2012-sp1-remove-client-from-collection-after-osd/
    Keep in mind that if you want to use a script like that during the task sequence that the device running the task sequence (and by that the script) requires specific rights within ConfigMgr.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • MDT 2013 Windows 8.1 Deployment Starts Prompting For Administrator Login In Middle Of Task Sequence

    I have a 8.1 deployment task sequence that automatically logs into the administrator account until about half way through the deployment.
    It actually looks like it logs in for a second and then dumps back out to the login prompt.
    After this reboot, the problem starts.  When I log in manually, I see it is at the installing the Java application step.  What could cause this?

    Yes, it's possible that the scripts to boot to desktop or the script to remove apps are causing this, but other people use these settings in deployments and didn't mention this as a side effect.
    This reg file is supposed to set the Start Menu background to match the desktop wallpaper and set IE to use desktop version, but does not seem to work.
    regedit.exe /s 81settings.reg
    Windows Registry Editor Version 5.00
    [HKEY_USERS\CUSTOM\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent]
    "MotionAccentId_v1.00"=dword:000000db
    [HKEY_USERS\CUSTOM\Software\Policies\Microsoft\Windows\EdgeUI]
    "DisableHelpSticker"=dword:00000001
    [HKEY_USERS\CUSTOM\Software\Microsoft\Internet Explorer\Main]
    "ApplicationTileImmersiveActivation"=dword:00000000
    "AssociationActivationMode"=dword:00000002
    ================================================
    powershell.exe -Command "set-ExecutionPolicy Unrestricted -Force; cpi '%DEPLOYROOT%\Applications\Remove Windows 8.1 Modern Applications\RemoveWindows8Apps.ps1' -destination c:\; c:\RemoveWindows8Apps.ps1; ri c:\*.ps1 -Force; set-ExecutionPolicy Restricted
    -Force"
    <#     
        Purpose:    Remove built in apps specified in list 
        Pre-Reqs:    Windows 8.1 
    #>
    # Main Routine 
    # Get log path. Will log to Task Sequence log folder if the script is running in a Task Sequence 
    # Otherwise log to \windows\temp
    try
    $tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment
    $logPath = $tsenv.Value("LogPath")
    catch
    Write-Host "This script is not running in a task sequence"
    $logPath = $env:windir + "\temp"
    $logFile = "$logPath\$($myInvocation.MyCommand).log"
    # Start logging
    Start-Transcript $logFile
    Write-Host "Logging to $logFile"
    # List of Applications that will be removed
    $AppsList = "microsoft.windowscommunicationsapps","Microsoft.BingFinance","Microsoft.BingMaps",`
    "Microsoft.BingWeather","Microsoft.ZuneVideo","Microsoft.ZuneMusic","Microsoft.Media.PlayReadyClient.2",`
    "Microsoft.XboxLIVEGames","Microsoft.HelpAndTips","Microsoft.BingSports",`
    "Microsoft.BingNews","Microsoft.BingFoodAndDrink","Microsoft.BingTravel","Microsoft.WindowsReadingList",`
    "Microsoft.BingHealthAndFitness","Microsoft.WindowsAlarms","Microsoft.Reader","Microsoft.WindowsCalculator",`
    "Microsoft.WindowsScan","Microsoft.WindowsSoundRecorder","Microsoft.SkypeApp"
    ForEach ($App in $AppsList)
    $Packages = Get-AppxPackage | Where-Object {$_.Name -eq $App}
    if ($Packages -ne $null)
          Write-Host "Removing Appx Package: $App"
          foreach ($Package in $Packages)
          Remove-AppxPackage -package $Package.PackageFullName
    else
          Write-Host "Unable to find package: $App"
    $ProvisionedPackage = Get-AppxProvisionedPackage -online | Where-Object {$_.displayName -eq $App}
    if ($ProvisionedPackage -ne $null)
          Write-Host "Removing Appx Provisioned Package: $App"
          remove-AppxProvisionedPackage -online -packagename $ProvisionedPackage.PackageName
    else
          Write-Host "Unable to find provisioned package: $App"
    # Stop logging
    ====================================================
    Install java and turn off updates.
    Start /wait jre-8u25-windows-i586.exe INSTALL_SILENT=1 STATIC=0 AUTO_UPDATE=0 WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H WEB_ANALYTICS=0 EULA=0 REBOOT=0
    regedit.exe /s disableupdate.reg
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
    "EnableJavaUpdate"=dword:00000000
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy]
    "EnableJavaUpdate"=dword:00000000

  • Install CS6 Applications via SCCM Task Sequence

    Hi
    We have an SCCM 2012 R2 infrastructure on our network, and want to deploy Adobe CS6 applications using Windows Installer Packages created with Adobe Application Manager Enterprise Edition 3.1
    We created individual packages for each application (for flexibility) following the instructions provided at this address: http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/AdobeApplication ManagerEnterpriseEditionDeploy…
    When we go to install the packages via an SCCM Task Sequence, the following occurs:
    1     The application is installed
    2     The application is not installed
    We have followed the instructions provided by Adobe for the deployment, and cannot get any consistency with the installers. For example, when we run the task sequence, the following applications will be installed:
    1     Dreamweaver
    2     Fireworks
    3     Flash Professional
    4     Illustrator
    5     InDesign
    6     Photoshop
    When we run the same task sequence again, the following applications are installed:
    1     Dreamweaver
    2     Fireworks
    3     Illustrator
    4     Photoshop
    The task sequence first images the computer with Windows 7, and reboots the computer between each application being installed
    I have also attempted packaging all the applications together, in a Design and Web Premium style package, with the same, unfortunate results
    Please, can you help with this?

    The error means RPC server unavailable. TS needs to invoke Execution Manager by RPC. This may be caused by the issue of RPC starting. I suggest you check the RPC service availability first. Another try is to add a restart computer step before installing
    SQL. If still no avail, add a Delay "cmd.exe /c timeout /t 900".
    Regarding the connecting network share issue, seems the network services has not been initializing or ready. Another possibility is the DHCP time out. Check the Event log and this may give you some clues of why the network is not ready or DHCP cannot get
    IP address. Network Monitor can also be used to monitor the IP helper when the Client try to send DHCP request after reboot.
    Juke Chou
    TechNet Community Support

  • PXE Boot and Task Sequence slowness

    I have been assured that our subnet 10.10.156.x is all 100MB.   Yet when I PXE up and run our CM2012 task sequence it takes over 1 hour
    just to resolve the task sequence.  Forget trying to actually do the OSD since that would take about 6 hours.
    Before I go back to networking I wanted to explain what I did to this forum to make sure I did things right.  
    Our CM2012 server is also our one and only MP.  It is also a DP for most of our small company.   Our CM2012 server is on subnet 10.10.141.x.  Yes, it has a static IP address.   
    Our 10.10.156.x subnet is in the same phsycal building as the 10.10.141.x subnet.  .141 is for servers and .156 is for workstations.
    We have a server that holds all of our DHCP scopes.   On this DHCP server I found the 10.10.156.x scope.  I added the following:
    066 Boot Server Host Name:  10.10.141.54 (which is our CM2012 server)
    067 Bootfile name:  \smsboot\x64\wdsnbp.com
    When I go to any workstations on the 10.10.156.x subnet I PXE boot up, it does see 10.10.141.54 and it launches the CM2012 OSD task wizard.   But as I said it is slower than glue and un-useable at this time.
    Did I setup this up right or do I need to do something else?  Or is our networking team full of it?  
    mqh7

    Ok, I did that.   I saw no errors and in fact it all looked fine.  It just took a long time.  so I talked to our top network tech.  He said the IP address means nothing.  It is all about what the wall Ports are connected too in the
    server/network room.   So this does appear to be an internal networking problem we need to solve.
    last question:  If you have 100MB ports is that considered slow for a CM2012 OSD?  our .WIM and all installed applications are close to 5GB of data.   So is 100MB good or should it all be Gigibit?
    mqh7

  • MDT Task Sequence with standard "Create Task Sequence Media" image capture?

    Hello,
    After much research and a lot of exhausted attempts/hours between two of us we have broken down and decided to ask a very direct question. Is it possible to run an MDT Task Sequence with an image captured within SCCM and not MDT?
    Reason for asking is the sequence fails every time with the error:
    “Task Sequence: NAME has failed with the error code (0x80070490).”
    I should note that there is no smsts log because it fails during the install and comes back with "no OS available" and there is no sccm client on the machine either. From what I could gather the error code is related to the HDD and I have tried
    every setting within the task sequence I know of in different combinations to no avail. Which led us to wondering if maybe the whole process isn't even possible since we are using an MDT task sequence with an sccm image capture.
    The standard task sequences work fine with the sccm image capture, but as soon as we try to the MDT sequence it fails. ANy advice/information/help on this is much appreciated.

    I can't thank you enough, that was exactly it. I should have known that it would be something so simple, I've been going crazy looking through the task sequence properties trying to figure out what I could be missing.
    No problem at all, happy to help! I was in the same boat driving myself crazy looking at the task sequence properties. I just happened to stumble upon that setting and decided to give it a shot since I had exhausted seemingly every other avenue.
    Also, to answer your other question, in a standard task sequence, you can name the computer by using the collection variable "OSDComputerName". Just right click the collection you have your task sequence deployed to, choose properties, and then the collection
    variables tab. Click the starburst, enter the variable name OSDComputerName, uncheck the box for "do not display" (I think that's the setting) and apply your changes. When you run your task sequence again, you'll choose your TS from the list, click next, double
    click OSDComputerName (just clicking next will skip it and begin the TS), enter the computer name, click OK, and kick off your TS.
    I'm still finding my way around SCCM since it was thrown into my lap with no prior experience so I'm happy to help when someone is stuck. I've been there more times than I can count and others have helped me.

  • MDT Capture Task Sequence not working correctly

    Hello All<o:p></o:p>
    I need some help to tell me what I am doing wrong. I am using Hyper V and trying to capture a image of Windows 7 x64. From within the OS I run the
    Litetouch.wsf from the deployment share. I get the normal MDT Wizard windows. I pick my capture task sequence and everything looks like it is running fine sys prep happens and I but back into windows PE I start to process the rules again and I am taken
    back to the Select task sequence screen in WinPE.  If I pick the capture task sequence again the deployment fails. <o:p></o:p>

    (posting for anyone else that found this page, this was my fix)
    I had the same problem as the initial poster apart from what I wanted to capture was a 'real' pc.  The reason my 'capture' task sequence wasn't booting into WinPE from the local disk and continuing on with the capture was because the local disk was
    being wiped when the boot wim - LiteTouchPE_x64.wim, was being run. 
    A few weeks prior to me wanting to capture a PC I'd been working out how to stop the occasional error when you boot a PC off the WDS server - “The Task Sequence Has Been Suspended”.  I was particularly interested in stopping this error as I want to
    remotely start a Win7 install on a PC, this error would stop the install happening but I wouldn't see this error and end up visiting the PC only to find the install hadn't really started.  After googling around, I found a page that explains how to edit
    the unattend.xml file in the boot image - LiteTouchPE_x64.wim, in the xml file to run the command wscript.exe X:\Deploy\Scripts\LTICleanup.wsf.  Sounded good so I done what the page said (myitforum.com/cs2/blogs/cnackers/archive/2010/10/20/microsoft-deployment-toolkit-lite-touch-lti-the-task-sequence-has-been-suspended.aspx)
    but it didn't stop the message appearing.  In the end I fixed this problem by adding the line 'SkipWizard=YES' in my customsettings.ini file.  I didn't remove the LTICleanup.wsf from unattend.xml, it didn't seem to do any harm, that was until I tried
    to capture a PC.
    When I ran though my 'sysprep and capture' task sequence, the PC would sysprep ok and then reboot, ready to capture it.  Instead of the 'capturing a WIM file' sequence I was expecting to see, I, like the original posted got shown the list of available
    task sequences window.  If you try again to run the capture sequence, it will fail as this has to be started in a running Windows environment, not in WinPE.  After several hours wondering what is going wrong, I dawned on me what was going wrong,
    the LTICleanup.wsf was being run when the boot image was being run and wiping my disk, a disk that was ready to run an existing task sequence, the capture sequence, no wonder it was failing.  Removing the LTICleanup.wsf command from within unattend.xml
    or rebuilding the boot image (by running 'Update Deployment Share' within MDT 2010) fixed the problem, the capture now worked.
    Hopefully this will help someone else like me who was wondering what was going wrong with a capture.

  • Hidden Task sequences - Media vs PXE boot

    Hello all -
    I have a custom configuration where we have 6 different *available* (not mandatory) task sequences deployed to PXE and Boot Media (Hidden) and I'm using a small powershell forms app to select which deployment ID they are using.  I get slightly different
    behavior with Boot Media vs PXE.
    Boot Media
    I get a "Welcome to the Task Sequence Wizard" dialog before it enumerates policies (as expected)
    I use the powershell form and hit submit
    I get a confirmation dialog (same physical size as the first one) "The required task sequence will run be (Insert task sequence name here).  Simply hit ok at this point.  There is no timer or countdown.
    PXE
    I do not get any introductory dialog box.  It immediately goes into the Powershell form.
    I use the powershell form and hit submit.
    The next dialog I get is a small one, informing me of the *mandatory* task sequence that will run in 180 seconds.  This will count down to zero.  This behavior is undesirable.
    I'm fine with getting the introductory dialog box, but getting the 180 second countdown of a mandatory task sequence (no task sequence is mandatory) is not desirable.
    Is this expected?  When I wasn't using hidden task sequences, I still got the first dialog, it just didn't have options for DHCP/network config as before.

    So, you're using pre-execution-hook, to execute your PoSH ?
    We do something similar (pre-select a TS), so that we can run specific hidden OSD TS, for our "test and dev" TS.
    We use TSmedia to do that, not PXE. (I'll need to check, but I use TSmedia myself. Maybe my colleague might use PXE for this. He is the real brains in my team ;)
    For us, PXE is used for "regular/production-ready" OSD TS, not for dev.
    We don't use mandatory/required TS - all of ours are optional/available.
    We use All Systems(filtered by OS), and Unknown Computers, as the deployment target. In our organisation, end-users reimage their PC's as they see fit, on a self-service basis.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Getting Access is Denied when Running Script in OSD Task Sequence

    I am attempting put in a script that will move the computer account to the proper OU in AD.  I have the script but when it launches inside of the TS I get "CScript Error: Loading script "C:\_SMSTaskSequence\WDPackage\Scripts\MoveOU.vbs" failed
    (Access is denied. )."
    I am using the Run Command Line, and using the "Run this step as the following account"  I have verified that the account has access to do what I need it to do in AD.  I have attached the logs as well.
    PackageID = 'WI10015A' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    BaseVar   = '', ContinueOnError='' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    SwdAction = '0001' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    Getting linked token InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    failed to get the token information InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    Get RunAs private desktop SMSTS-169042\SMSTSDesktop
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Run command line under a user account InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Found the location for the package _SMSTSWI10015A. The location is on \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    nPos != CCM::Utility::String::npos, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,253)
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Creating a connection to \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\ with default account
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Connection request for "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    No credentials available for connecting to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A". See whether the share has already been connected.
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Connecting to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Successfully connected to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Resolved source to '\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A'
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Command line for extension .exe is "%1" %* InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Set command line: Run command line InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Working dir '\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A'
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Executing command line: Run command line InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Create a process under given user token InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Process completed with exit code 1 InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Microsoft (R) Windows Script Host Version 5.8
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Copyright (C) Microsoft Corporation. All rights reserved.
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    CScript Error: Loading script "C:\_SMSTaskSequence\WDPackage\Scripts\MoveOU.vbs" failed (Access is denied. ).
    InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Command line returned 1 InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Entering ReleaseSource() for \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    reference count 1 for the source \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\ before releasing
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Released the resolved source \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Process completed with exit code 1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Failed to run the action: Move Computer to Correct OU. 
    Incorrect function. (Error: 00000001; Source: Windows)
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Sending status message . . . TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Send a task execution status message SMS_TSExecution_ActionFailError
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    MP server <SCCMSERVERNAME> and port 80. SSL=false. CRL=false.
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Site code: WI1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Client machine name: 1J44KQ1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Client Identity: GUID:6ffb32d4-1184-4e40-a1c8-26272a707a72
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Advertisement ID: WI12029D TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Package ID: WI1001E7 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Sending StatusMessage TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Formatted header: TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>ABB94CBE-33F4-4EB9-A151-34EE3474A0F9</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2012-03-21T12:46:54Z</SentTime><Protocol>http</Protocol><Body
    Type="ByteRange" Offset="0" Length="4174"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
    TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    CLibSMSMessageWinHttpTransport::Send: URL: <SCCMSERVERNAME>:80  CCM_POST /ccm_system/request
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    The request has succeeded. 200 OK TSManager
    3/21/2012 8:46:55 AM 2520 (0x09D8)
    Set a global environment variable _SMSTSLastActionRetCode=1
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Set a global environment variable _SMSTSLastActionSucceeded=false
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Clear local default environment TSManager
    3/21/2012 8:46:55 AM 2520 (0x09D8)
    Let the parent group (Testing) decides whether to continue execution
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    The execution of the group (Testing) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Failed to run the last action: Move Computer to Correct OU. Execution of task sequence failed.
    Incorrect function. (Error: 00000001; Source: Windows)
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Any suggestions would be greatly appreciated!
    "You can't fix stupid!"

    I'm having the exact same issue.  I'm using AutoIT for my script to move the computer account.  I've tried using ADO, LDAP, and LDAP/ADSystemInfo object.  They all fail with access denied.  In fact the ADO version of my script fails just
    trying to create the "ADODB.Connection" object which I know for a fact doesn't require elevation or administrator access.  However, all three versions of the script work correctly when run manually outside the TS.  They also work correctly on XP
    machines during OSD.  Only when deploying a Win7 machine do they fail during the TS.  I've tried adding the runas user to the local administrators group beforehand but no dice.  Did you have to restart the computer after doing the net localgroup
    change?  There has to be some other security config in Win7 that is set somewhere doing this.  I just can't figure out what.  I've even started looking at DCOM/COM permissions to see if something isn't right there.
    I don't see why but maybe the script needs to be run locally?  Any other ideas?

  • Error 16389 running a Task Sequence to install software

    We've run into multiple WinXPProSP3 computers generating error code 16389 when trying to run a TS.  After searching on Google, we found this, 
    http://blogs.technet.com/b/smsandmom/archive/2007/10/29/sccm-2007-task-sequence-fails-drive-letter-not-displayed.aspx
    , which led to another article to modify a RegKey,  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318} , to add a key of UpperFilters, with a value of PartMgr.  The key WAS missing on the machines with
    the error, and, adding that key and value DOES fix the problem.  This key and value seem to be default for the OS.
    However, searching Google for that RegKey has a LOT of suggestions to delete that key and value, due to issues with USB Thumbdrives and iPods not being seen when plugged in--so, it seems that there may be a conflict.
    Does anyone know of a fix for Error 16389 without having to add that key, if it's going to cause other problems?
    Thanks.

    Hi,
    Will you please past the detailed errors in the smsts.log?
    From your description your are using TS to install software right?
    If so you should first make sure this software package meats the following requirement when it was deployed through TS:
    this program can be installed under local system account.
    this program can be installed without any user interaction (such as: press next button).
    this program will not force computer reboot, it allows sccm ts to manage the reboot.
    If your OSD TS return 16389 exit code, you can try to change the volume license keys. Because once i have seem this error and it was solved by changing the volume license key.
    Hope this will help.
    Thanks

  • 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 (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

Maybe you are looking for