Solved

SCCM OSD Capture Task Sequence fails

Posted on 2011-09-15
13
3,231 Views
Last Modified: 2013-11-21
I am attempting to capture an OS (Windows 7 Enterprise SP1 x86 in this case) in SCCM for the first time, and I've run into an issue.

I am using a VMWare virtual desktop for this purpose. I had no problem adding the computer by MAC address to Computer Association, putting the object in a collection for capture, then advertising the task sequence.

I did notice one thing with PXE boot, it prompts to hit F12 for network boot, I was under the impression that it should boot automatically? If I don't press F12 I get the following:
PXE-M0F : Exiting Intel PXE ROM

When I do press F12, it boots into WinPE and starts the task sequence, it completes the first step (that being "Partition Disk 0"), but it immediately fails while running the "Apply Operating System" step, shows "Wiping volume C:\", and the task sequence window shows it failed with error code 0x80004005.

I opened up notepad in WinPE to browse the X: drive, but both X:\STSTSLog and X:\Windows\SMSTSLog appear to be empty, so without any log to read I'm really shooting in the dark here and not sure what to try next, any ideas?
0
Comment
Question by:McCoyIT
13 Comments
 
LVL 10

Expert Comment

by:Kezzi
Comment Utility
what are your settings under partition disk 0.  That is the step thats actually failing. Try manually partitioning and formatting your disk and see if you can successfully do that.

the only time PXE boot will automatically boot into winpe and run a task sequence is if you select the task sequence to be mandatory with a schedule.  This can cause problems though and needs careful monitoring as when the image finishes installing and the sccm client repairs/reinstalls, it has no record that it ran the task sequence advertisment and will automatically run it again.

as for the log file, you need to look in x:\windows\temp\smstslog

0
 

Author Comment

by:McCoyIT
Comment Utility
Under partit OSD Capture Task Sequence Settings
I've attached a screenshot with the settings, anything look off?

Thanks for the clarification on PXE boot, that makes sense. My bad on the path, I missed /temp/ from the path, oddly enough there is no log file there, I assume this has to do with the fact that the partitioning step is failing.
0
 
LVL 10

Expert Comment

by:Kezzi
Comment Utility
Well the settings look fine.  What is your disk set to in the BIOS?  RAID or AHCI or legacy IDE?
Have you tried manually running a DISKPART command on the machine to partition and format the disk?

When WinPE loads up, if you have selected the option on your boot image to support command prompt, then before you select your task sequence, press F8 which will bring up the command prompt.  Then type these commands in to it:

DISKPART
Select Disk 0
List Partition     (*to see how many partitions are currently there*)
Select Partition 1
Delete Partition
Select Partition 2
Delete Partition  (that is if you have more than one partition - you get the idea)
Create Partition Primary
Select Partition 1
Format FS=NTFS Label="System" Quick
0
 

Author Comment

by:McCoyIT
Comment Utility
I was able to go through those steps, but still no luck unfortunately - fails on "Wiping volume C:\".

Because this is a virtual desktop, the "hard drive" is a virtual SCSI disk. Just for the sake of argument I deleted the virtual disk and create a virtual IDE disk, but it didn't appear to make any different, the task sequence still failed in the same place.
0
 
LVL 10

Expert Comment

by:Kezzi
Comment Utility
Did you pre-allocate the disk size or is it dynamic?
0
 

Author Comment

by:McCoyIT
Comment Utility
The size is pre-allocated in this case.
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 10

Expert Comment

by:Kezzi
Comment Utility
As you have no existing image on the disk if its dynamic, skip the partition step.
0
 
LVL 10

Expert Comment

by:Kezzi
Comment Utility
what SCSI controller type did you choose for the disk logic?
hang on.... are you using VMWare Workstation?
0
 

Author Comment

by:McCoyIT
Comment Utility
I tried removing the partition step from the task sequence, and it's still failing at the "Apply Operating System" step with "Wiping volume C:\".  When I open notepad and go to the file menu to look at the disk / folder structure, the only item on C: is a  "_SMSTaskSequence" folder.

I am using VMWare vSphere
0
 

Author Comment

by:McCoyIT
Comment Utility
I am now guessing this is driver related somehow, because I tried changing the capture task sequence to us the x64 instead of the x86 install image, and this one is working.
0
 
LVL 31

Expert Comment

by:merowinger
Comment Utility
Please post the smsts.log File here
0
 
LVL 10

Expert Comment

by:Kezzi
Comment Utility
Does your x64 boot image have the vmware drivers on it?  
0
 

Accepted Solution

by:
toxicrain earned 500 total points
Comment Utility
Very easy to see what's wrong. On the Boot Image go to Properties, Select Windows PE, then Select option "Enable Command Support" (activates Command promp during WinPE task), after task start press F8 (I think that's the correct key), the  command prompt opens, open Notepad.exe and locate the log file. You can see instruction here http://blog.dotnetwork.com.br/?p=1147.

Good Luck on that. I had a problem like that and I was 1 day to figure a way to see what was the problem.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Every system administrator encounters once in while in a problem where the solution seems to be a needle in haystack.  My needle was an anti-virus version causing problems with my Exchange server. I have an HP DL350 with Windows Server 2008 Stand…
This is my 3rd article on SCCM in recent weeks, the 1st (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html) dealing with installat…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now