SCCM 2012 OSD Fails After Formatting and Partitioning Disks

Hello,
The problem is that when I deploy the task sequence to a computer, it loads to WindowsPE properly, then continues to formatting the hard disk and partitioning. After it has finished partitioning it then goes to the applying
the operating system portion of the task sequence. Finally it errors out with "...Image has failed with the error code (0x80070002)...". What is left on the WinPE is two log files in the SMSTSLog directory, smsts.log and wpeinit.log. Neither of these
seemed to show anything blatantly obvious to me, but I'm sure there is still some funny things happening. 
This is my first time posting to a help forum of any kind so any constructive criticism is very welcome! Thanks for helping in advance, since SCCM has probably been the most challenging software I have had to setup. I
definitely need the help.
Apparently I can't just throw in all of my logs at once, so I shortened the smsts.log and removed the wpeinit.log. So just say if you need them I guess.

It's probably your network access sccount!<o:p></o:p>
"To configure the Network Access Account, open the CM2012 R2 console, click on Administration,
expand Overview, expand Site Configuration,
click Sites, on the top ribbon click Configure
Site Components, click Software Distribution.<o:p></o:p>
Click on the tab Network Access Account,
choose Specify the account that accesses network locations (by default the option is set to Use
the computer account of Configuration Manager client). Click on the orange icon and add the user account that enough permissions to access the content which is required
while deploying Operating System."<o:p></o:p>
This account should have the minimum appropriate permissions on operating system deployment content it needs to access. This account
is important because the computer receiving the operating system does not have a security context it can use to access content on the network.<o:p></o:p>

Similar Messages

  • MDT 2013 Fails to Format or Partition disk on Surface Pro 3

    I have been trying to image a Surface Pro 3 using MDT 2013 and have been unable to get past the Format and Partition portion of the deployment.  At first I would get an error that it was unable to format or partition the drive and then after that it
    just reboots after trying for so long.  I am able to image any other device with the same task sequence and have no issue just having an issue with the Surface Pro 3.  Any help would be great.
    Thanks in advance.
    I am getting the error FAILURE (5210)
    ZTI Error - Unhandled error returned by ZTIDISKPART: Object required (424)

    I think our problem is also hardware failure although without re-imaging a working surface pro 3 I can't be sure.
    I tried what imfusio suggested in this thread.
    https://social.technet.microsoft.com/Forums/en-US/d31384bc-4e96-4a5b-a400-637bd6006d81/failure-5456-unable-to-determine-destination-disk-partition-and-or-drive-surface-pro-3?forum=mdt
    Unfortunately the deployment failed with the same ZTI Error - Unhandled error returned by ZTIDISKPART:
    Object required (424)
    I then rebooted into WinPE and ran diskpart, I could see the two volumes (EFI and OSDisk). I then tried to format the OS disk volume using diskpart. I got a paramater is incorrect error and the disk was no longer visible with a 'list disk' command. So it's
    like the format is putting the disk offline. I'm going to try restore one of these surfaces, apply all firmware updates then re-image. If that doesn't work I'm out of ideas.

  • Deployment to an UEFI enabled system using a custom Format and Partition Disk Task does not work

    Hello all,
    I know that MDT 2012 Update 1 has the necessary intelligence to create the GPT partition etc. when the Gather Process detects that the system is UEFI enabled. However i wanted to configure the Format and Parition task myself, so i copied the default one,
    disabled it and just added a new one with the following configuration.
    Disk Number 0
    Disk Type = GPT
    i then added
    EFI, Partition Type = EFI, 500 MB, file system FAT32
    MSR, 128 MB,
    OSDisk 40 GB, PRIMARY
    i then start the Win8 x64 Task Sequence , it formats the disks, it applies the image, but then when it reboots i cannot boot.
    What am i doing wrong here ?
    Alsx Verboon www.verboon.info

    Is this of any help?
    http://social.technet.microsoft.com/Forums/en-US/mdt/thread/a6679550-a343-463c-9301-1bf9706ad9af/
    http://blogs.technet.com/b/mniehaus/archive/2011/06/11/mdt-2012-beta-1-uefi-support.aspx

  • Task Sequence Windows Server 2012 format and partition issue when using MDT2012

    Hi all,
    Currently I'm working on a task sequence to deploy a Windows Server 2012 image. We've integrated MDT2012 Update 1 in SCCM2012 SP1 and created a default 'Server Task Sequence'. This task sequence deploys the install.wim to a server which has multiple disks
    attached.
    We've configured multiple format and partition disk steps to create the following partition layout:
    Disk 0: 499MB BDEDrive (do not assign drive letter) + 40GB OSDisk
    Disk 1: 40GB Programs
    Disk 2: 40GB Data
    Disk 3: 25GB User
    When the task sequence is finished I've noticed the drive letters assigned to the disk are not correct. In some cases the BDEdrive gets drive letter D assigned, sometimes drive letters are assigned starting with E, thus skipping drive
    letter D. 
    The smsts.log files show an error when it's re-assigning drive letters after booting into Windows. Looks like an error in the DiskPartScript.txt.
    <![LOG[==============================[ OSDSetupHook.exe ]==============================]LOG]!><time="16:59:40.889-120" date="05-10-2013" component="OSDSetupHook" context="" type="1" thread="776"
    file="osdsetuphook.cpp:186">
    <![LOG[Executing task sequence]LOG]!><time="16:59:40.905-120" date="05-10-2013" component="OSDSetupHook" context="" type="1" thread="776" file="osdsetuphook.cpp:279">
    <![LOG[Loading the Task Sequencing Environment from "C:\_SMSTaskSequence\TSEnv.dat".]LOG]!><time="16:59:40.920-120" date="05-10-2013" component="OSDSetupHook" context="" type="1" thread="776"
    file="basesetuphook.cpp:366">
    <![LOG[Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}]LOG]!><time="16:59:40.936-120" date="05-10-2013" component="OSDSetupHook" context="" type="1" thread="776"
    file="environmentscope.cpp:659">
    <![LOG[Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}]LOG]!><time="16:59:40.936-120" date="05-10-2013" component="OSDSetupHook" context="" type="1" thread="776"
    file="environmentscope.cpp:659">
    <![LOG[Debug shell is enabled]LOG]!><time="16:59:43.806-120" date="05-10-2013" component="OSDSetupHook" context="" type="1" thread="776" file="basesetuphook.cpp:1440">
    <![LOG[Successfully enabled debug command shell support.]LOG]!><time="16:59:43.884-120" date="05-10-2013" component="OSDSetupHook" context="" type="1" thread="776" file="debugwindow.cpp:156">
    <![LOG[Configuring local administrator account]LOG]!><time="16:59:43.884-120" date="05-10-2013" component="OSDSetupHook" context="" type="1" thread="776" file="basesetuphook.cpp:1462">
    <![LOG[Re-assign all drive letters...]LOG]!><time="16:59:43.884-120" date="05-10-2013" component="OSDSetupHook" context="" type="1" thread="776" file="diskutils.cpp:1941">
    <![LOG[Executing command line: "C:\WINDOWS\system32\diskpart.exe" /s "C:\WINDOWS\TEMP\DiskPartScript.txt"]LOG]!><time="16:59:43.900-120" date="05-10-2013" component="OSDSetupHook" context=""
    type="1" thread="776" file="commandline.cpp:827">
    <![LOG[Process completed with exit code 2147942487]LOG]!><time="16:59:50.249-120" date="05-10-2013" component="OSDSetupHook" context="" type="1" thread="776" file="commandline.cpp:1123">
    <![LOG[Diskpart.exe STDOUT:
    Microsoft DiskPart version 6.1.7601
    Copyright (C) 1999-2008 Microsoft Corporation.
    On computer: SRV03
    Volume 1 is the selected volume.
    DiskPart successfully removed the drive letter or mount point.
    The volume you selected is not valid or does not exist.
    There is no volume selected.
    ]LOG]!><time="16:59:50.249-120" date="05-10-2013" component="OSDSetupHook" context="" type="3" thread="776" file="diskutils.cpp:1807">
    When I take a look at the generated diskpart_script.log file the volume D gets selected twice, which fails the second time because of the first remove drive letter command.
    This is the output in the diskpart_script.log file:
    select volume D
    remove letter=D
    select volume D
    remove letter=D
    select volume E
    remove letter=E
    select volume F
    remove letter=F
    select volume H
    remove letter=H
    select disk 0
    select partition 1
    assign
    select disk 1
    select partition 1
    assign
    select disk 2
    select partition 1
    assign
    select disk 3
    select partition 1
    assign
    It seems this error is caused by the first 'Format and Partition Disk' step before the 'Use Toolkit Package' step which is part of the default Server Task sequence. When I disable this Format and Partition step and create the partition manually
    all looks ok showing no errors in the smsts.log file.
    I've solved this by replacing the first 'Format and Partition Disk' step by an Powershell command which formats and partitions the disk. 
    Anyone seen this behavior?

    I have a similar problem when I install windows on some clients. Have you found any explanation for the behavior?

  • I am having sporadic issues after new hard drive install and recovery using Time Machine. The same sluggish response, start up screen pixelating...If I reinstall Lion will it wipe out other applications? My HD was formatted and partitioned correctly, I ha

    I am having sporadic issues after new hard drive install and recovery using Time Machine. The same sluggish response, start up screen pixelating...If I reinstall Lion will it wipe out other applications? My HD was formatted and partitioned correctly, I have a late 2009 iMac.

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • SCCM 2012 OSD Task Sequence - force Policy and SCEP update?

    Hi,
    How can I force a policy update to update machine policy and scep definitions at the end of
    SCCM 2012 OSD Task Sequence,
    Thanks,
    Ward.

    Hi,
    I normally use this solution from Chris Nackers to deploy the latest EP definitions during OSD and deploy a custom EP policy, it works great. The policy will be downloaded when the client is registered.
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Can I use the HP Recovery partition after formatting and repartitio​ning the rest of the hard drive?

    I recently had my HP Pavilion dv4 2145dx laptop (Windows 7 64-bit) go kerput.  The Geek Squad said that the motherboard died.  I've purchased another laptop, and I'm using that one for now, and I am using the hard drive from the old dv4 as an external.
    I'm planning to keep using the hard drive from the old dv4 as an external for now, but I'd like to be able to fix the dv4 at some point in the future.  Here's the problem:  to get the most out of the old dv4's drive as an external, I'd like to repartition it so that there is one NTFS partition and one HFS+ partition.  That way I could use it easily with both my Mac and Windows machines. 
    But if I do that, I'm not sure if the HP Recovery image would still work.  If it didn't work, then if/when I get the old dv4 a new motherboard, I couldn't restore the OS from the Recovery partition.  This is a problem, because I didn't create Recovery Disks (stupid, I know - I'm definitely making them for the new machine). 
    So I'd like to do one of these two things: 
    1)  Create my dv4 Recovery Disks.  Can I do this if the dv4's drive is mounted in an external enclosure?
    2)  Format and partition the dv4 drive (leaving the Recovery partition intact), and later recover the system from the Recovery partition.  Would the Recovery partition still work under those conditions?
    Thanks for any help anyone's got.
    This question was solved.
    View Solution.

    Hi:
    Anything you do to the C:\drive will render the recovery partition inoperable.
    You won't be able to create a set of recovery disks unless the drive is operable in the notebook.
    Can you still read all 25 characters of your W7 product key on the bottom of your busted notebook?
    If so, you can do this...
    If you can read the 25 character Microsoft windows 7 product key, you can download plain Windows 7 ISO files to burn to a DVD for the version of windows that came installed on your PC, and that is listed on the Microsoft COA sticker on your PC's case.
    Burn the ISO using the Burn ISO option on your DVD burning program and burn at the slowest possible speed your program will allow. This will create a bootable DVD.
    Or use the Windows 7 USB/DVD installation tool to compile the ISO file you download from Digital River. Link and instructions below. You need a 4 GB flash drive to use the USB method of compilation.
    http://www.microsoftstore.com/store/msstore/html/p​bPage.Help_Win7_usbdvd_dwnTool
    Use the 25 character product key on the PC to activate the installation.
    The key will activate either a 32 or 64 bit installation.
    Then go to the PC's support and driver page to install the drivers you need.
    Link to the W7 ISO file downloads is below.
    http://www.mydigitallife.info/official-windows-7-s​p1-iso-from-digital-river/
    Or, you can probably still order a set of recovery disks for your notebook from HP.
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=bph07143&tmp_task=solveCategory&cc=us&dlc=en&lan​...
    Paul

  • SCCM 2012 OSD task sequence condition

    Is there a way to set a condition on a step that looks to see if the machine is already known to SCCM / Active Directory?
    I have a step that names the PC using ITX Solutions AutoName function. I want to say only use this step if the machine is not known.

    This is essentially a follow on to: http://social.technet.microsoft.com/Forums/en-US/3c6f37ad-b3dc-4219-ae7f-e6c51f05d5bf/sccm-2012-osd-retain-computer-name-on-reimage-rebuild?forum=configmanagerosd
    To my knowledge, there is nothing explicitly built-in; however, you might be able to check _SMSTSMachineName to see if it matches the default WinPE naming convention of MINNIT_* or _SMSTSClientGUID to see if it has a value.
    You could also put a task in before the format and partition step to check for an existing installation.
    Jason | http://blog.configmgrftw.com

  • Use the default format and partition step to format disk0 partition 1 in multiple disks sutiation

    As we know,we need to disable the default format and partition step in ts to let mdt deploy os on C and leave the other partitions stay safe when there is only one disk on pc,and the way of installing operation system is logical drive letter store in a varible.
    But what if there are 2 disks on pc,and for a record the disk 0 is always the OS disk,don't need to confirmed this.How can we modify the format and partition step to format only C on disk0 under this condition?then lead the mdt to do the rest deployment
    by itself.
    Thanks

    You are pushing up against the design limits of MDT, and the more complex and/or arbitrary the disk configuration the harder it is for MDT to perform installations.
    If you want to maintain the *existing* disk configuration, and just update the OS present, then the recommended course of action is to run MDT from *within* the OS (cscript.exe
    \\server\deploymentshare$\scripts\litetouch.vbs), not from WinPE. When you do this, it's called a "refresh" scenario. MDT can capture the user files via USMT, and it knows which
    partitions to use, because it's launched from within the OS itself.
    Disabling the default Format and Partition step has other unintended consequences.
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • SCCM 2012 OSD Task Sequence Fails "An error occurred while retrieving policy for this computer"

    We have SCCM 2012 R2. I amm trying to start OSD task sequence from bootable media.
    Hyper-v client gets DHCP ip and starts MDT bootable media, but could not find policy.
    From F8 I can ping SCCM/DP/MP server.
    What could be the cause?

    Yes, this DHCP client is in the same subnet as other working clients.
    smsts.log from client
    Request was successful. TSPxe
    21.03.2014 14:14:14 324 (0x0144)
    pNext != NULL, HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,1970)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    reply has no message header marker TSPxe
    21.03.2014 14:14:14 324 (0x0144)
    DoRequest (sReply, true), HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,5868)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    Failed to get client identity (80004005)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    ClientIdentity.RequestClientIdentity (), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1113)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    failed to request for client
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    Exiting TSMediaWizardControl::GetPolicy. TSPxe
    21.03.2014 14:14:14 324 (0x0144)

  • Helix gen.2 very slow with USB 3.0 and SCCM 2012 OSD

    Hello there, i have a problem with our Helix gen.2. i would like deploy the OSD with SCCM 2012 and so i insert the USB 3.0 Dongle driver in WinPE. The Download and WIM installation is very fast but slows down after the OSD TS insert all Drivers for the system an makes a reboot. After the reboot the machine runs very slow over the network (1GB) and over 20 Hours and breaks down with a unsigned Error Message 80004005. i change the driver to an old version for the UBS 3.0 but it doesn´t helps so i need help from you. with best regards andré

    What OS are you deploying on the box, 7 or 8.1?
    Did you import the drivers from the Helix2 SCCM driver pack for the appropriate OS into a Driver Package?
    Did you also add the USB 3.0 drivers specific to the OS being deployed into that same Driver Package?
    Do you have an Apply Drivers task that references this driver package in the task sequence?  If so, you should be able to find the task ID in the SMSTS.log file and verfiy it is running.

  • SCCM 2012 SP1 fails to install OSD of Captured Image

    I installed Windows Server 2012, Visual Studio Pro 2008, 2010, 2012 and SQL Server 2012 onto a machine. Configured the settings on Windows Server 2012 and SQL 2012 to how the Developers requested to be configured. Ran the Capture Media from SCCM 2012 SP1,
    saved to the designated network share. Capture was successful.
    I create a TS to deploy the image to the other Dev Servers but it reboots to say no valid operating system found. I checked Monitoring for the Deployment I see the Task sequence but has the following error: Device - Unknown, MessageID - 11170, Description
    - The task sequence manager could not successfully complete execution of the task sequence.
    I see in the Apply Operation System from a captured image shows 1-1, 2-2, or 3-3. Does it matter which one I select and if so what does the numbers mean?
    Any help is greatly appreciated, thanks!!

    Hi Blacksuit,
    Those numbers of the captured image stand for the indexes that are part of your WIM.  And yes, it does matter which one you select.  In the ConfigMgr console, go to your Software Library > Operating Systems > Operating System Images and select
    the image you imported into ConfigMgr.  Then at the bottom, click the Details tab to display your indexes.  The index that contains your OS will have an OS Version and a description.  The other indexes will be data images and not contain any
    information in the Details tab.  You'll need to choose the index (number) that contains the OS for the Apply OS step.  To apply the data image indexes, use the Apply Data Image task sequence step and specify the partitions to apply the images
    too before the Apply OS step.
    Good luck!
    -Matt 

  • SCCM 2012 OSD and WinPE-StorageWMI?

    Hi,
    I am using SCCM 2012 SP1 OSD with MDT 2012. I am trying to work out how to use the command from the
    WinPE-StorageWMI.
    I have added them to my boot wim and am trying to invoke them from powershell from the F8 prompt first
    then once I get them going in there put them in my task sequence.
    However when I do not see them?
    Am I not seeing any extra modules is there something basic I am missing? Am I meant to see a module
    called WinPE-StorageWMI?
    Thanks,
    Ward.

    The module is a part of Powershell. You need to enable WinPE-PowerShell.
    http://technet.microsoft.com/en-us/library/hh824926.aspx
    Juke Chou
    TechNet Community Support

  • SCCM 2012 OSD: Import computer object fails

    Hi,
    Please see this post:
    http://social.technet.microsoft.com/Forums/en-US/6dbd2b38-4dbb-4de3-bb25-e3a30813f108/importing-computer-fails-unable-to-save-changes?forum=configmanagerosd
    We have exactly the same issue: we cannot import a computer object due to the error "Unable to save changes", a query which searches for mac-addresses doesn't reveal the pc-name (which is logic because the sccm 2012 should run an inventory first
    but the pc is not loaded).
    Please advise.
    J.
    Jan Hoedt

    Any chance that the object (where you are trying to add a MAC address) was added to the database by AD group discovery? So the name is already in the database? If so: that's expected.
    If not: CU1 for R2 might fix the problem (it is listed as being fixed)
    Torsten Meringer | http://www.mssccmfaq.de

  • SCCM 2012 OSD; Not finding driver package during deployment

    I've been having some trouble setting up my OSD deployment using SCCM 2012 and hope someone can point me in the right direction.  Specifically I am having trouble with device driver deployment while deploying my reference image. 
    I am running SCCM Config Manager 2012 SP1 CU2. This is running on a Server 2012 VM with SQL 2012.  I am building an OSD deployment and have successfully captured my reference image.  I am not sure if it matters, but I manually built a reference
    PC and using capture media (USB stick), I successfully captured my reference image.  I have imported my drivers for the target PC into Config Manager and into a driver package.  The driver package has been deployed to the distribution point
    (DP).  I checked the status of the driver package within the console and verified it has been deployed to the DP.   I created a new task sequence (TS) to deploy the captured wim.  Within the TS, I added an "Apply
    Driver Package" step and pointed it to the aforementioned driver package.  I added a WMI query to the step as follows
    select * from Win32_ComputerSystem where Model like "HP Probook 6570b%." 
    Incidentally, I did a wmi query on the target PC to verify the model.  I deployed the TS to the unknown computers collection and PXE booted the target PC.  I ran through the OSD wizard and while OSD is verifying the deployment prerequisites,
    the deployment fails with the error, "The task sequence cannot be run because a package referenced by the task sequence could not be found."  I checked the smsts.log log and found the following:
    Failed to find CCM_SoftwareDistribution object for AdvertID="CT120043", PackageID="CT100044", ProgramID="*"
    After some research I found this error means Config Manager cannot find the driver package (PackageID="CT100044")
    for deployment.  After more research I have done the following:
    Deleted the Driver Package and recreated it and updated the TS step to point to this package.
    Deleted and recreated the TS along with the driver package.
    Recreated the driver package and distributed content, only importing the NIC drivers as a way to make a simple test.
    When distributing content I verified it was successfully completed each time as per the console.
    Each time I recreated the driver package and the OSD failed, smsts.log is showing the appropriate package ID in the error.  If I disable the Apply Driver Package step and configure a Apply Device Drivers step to install the best matched compatible drivers
    and limit the driver matching to the specific driver package, the OSD completes but the drivers do not install. It is as if Config Manager is not seeing the imported drivers at all.
    I have run out of options to try and hope someone can help point me in the next direction to take.  After reading numerous forums and guides, I am sure I am doing the OSD steps correctly but I am apparently missing something.
    Thanks in advance,
    Mike G.

    Thanks for responding.
    Yes after I posted the question I right-clicked on the driver package, and selected to update distribution points.  I checked now (about 12 hours later) and the package is showing it has not finished updating.  I checked the content status and
    it is "waiting for content."  I looked at distmgr.log and I found an error "Failed to start DP health monitoring task for package 'CT100044'. Error code: -1".  This error would occur every 30 min after each time the DP retried to process
    the package. After some research I found a post stating a file called "Microsoft" or "Program" on located on the root of the site server could cause this and renaming or deleting the file would resolve this. I renamed the file and after the next time
    it retried, the error cleared, however the package status is still waiting for content.  I tried doing a validation on the package but so far there has been no change.

Maybe you are looking for

  • How to hide the grid lines between two rows in a ALv? Please help!

    Hi Experts,          I have a ABAP ALV(reuse alv grid FM) report. The last field in the ALV is "Description" which can contain data of size more than 130 chars. Since the max field length in ALV grid is 130 chars hence I am splitting this field value

  • Large file download does not start and times out while loading

    I've been trying to download movie files from a website and it does not work. When I click on the link, the download begins preliminarily, but does not seem to actually start downloading the file. It stays like this: The MBs continue to go up for a w

  • Why cAn't I sync my iPad?

    Why can't I sync this IPad? I think I have tried everything

  • Zen Stone will not play .WMAs

    ? Hi all- my Zen Stone recently stopped playing wma file- in fact, it will not play anything other than an mp3. When I try, I simply get the red-flashing error signal. I've tried resetting it, searching for updates, etc., but with no results. If this

  • Link is not clickable in generated rtf file (https)

    I am using lowagie API for rtf letter generation. I am using the same from the last two years...I ahve made several Links having http://.... in reference..and working fine I mean they are clickable....But Know i am trying to make https://,,,,,, link