Jump to content


anyweb

How can I capture an image using capture media in ConfigMgr 2012

Recommended Posts

works fine, are you guys using copyprofile ? if so that's the cause of your issues

should I not be using copyprofile in my unattend for win 8.1 or win 10? I've got it in both and it doesn't seem to work. I set a wallpaper up in my base image prior to sysprep manually (sysprep /generalize /oobe /shutdown /unattend:<network share unattend file here>) and everything seems to work but the stupid wallpaper doesn't work when the image is finished deploying via SCCM and a user logs on, it's just the default win 8.1 wallpaper

Share this post


Link to post
Share on other sites


don't use copyprofile it causes more problems than it fixes

Share this post


Link to post
Share on other sites

Hi,

 

I have a Windows 7 (x86) image in Oracle VirtualBox and am trying to capture it, exporting the .wim file to a specified network path with the correct administrative network credentials. The only issue I'm running into now is that after it syspreps (using the media file), it will reboot where it captures that reference image. 10 minutes into that process it freezes and I have no idea why. I tried googling it but it doesn't seem like anyone is having that issue. Any takes on this? I've attached an image of where it freezes (an idea of which step I am in exactly).

post-33601-0-77808400-1465829189.jpg

Share this post


Link to post
Share on other sites

How do you do this in Windows 10 because it simply doesn't work and errors out with 0x0004005 at the sysprep stage. Seems you have to remove all MS apps - but what if you don't want to remove all or any of those apps?!!

Share this post


Link to post
Share on other sites

what version of SCCM did you use when creating capture media ?

Share this post


Link to post
Share on other sites

Hi guys this is my first post,

 

My issue is I cant get the Capture Media to work, I have also tried to modify the TS to do only a capture, but no luck. I have the need for a golden image because we have certain applications that cannot be packaged and are a must on the pc. I have tried windows 10 and the latest build 1511.1 and nothing. Save me please.

Share this post


Link to post
Share on other sites

so you are running SCCM Current Branch version 1511 ?

Share this post


Link to post
Share on other sites

It's because the Store apps have updated and this breaks Sysprep. I was speaking with a MS rep at a conference yesterday and they said you've got a few options;

1. Install W10 without a network connection and build the image in this state until the capture

2. Install W10 and set local policy (or registry) to disable the Windows Store (so it doesn't update itself and the built-in apps), then connect it to the network, build the image and remove the GPO/regedit just before capture

3. Nuke the Store and apps by running the steps shown here - https://www.windows-noob.com/forums/topic/5070-how-can-i-capture-an-image-using-capture-media-in-configmgr-2012/?p=38663

 

Once you capture and then deploy the Store and its apps will automagically reappear in the deployment. I tested this and replicated the results, it's really annoying and I hope MS fix it, legacy meets modern in craptacular fashion once again!

 

Would love to see anyweb replicate the issue and post a more thorough writeup on the problem! ;D

  • Haha 1

Share this post


Link to post
Share on other sites

Hi,

 

I am very new to SCCM. On Day 3 of our training and knowledge transfer, we have built the capture media from SCCM and mounted to our Base image "Domain Joined" VM and were asked to set up the VM so that it would boot from this ISO. Every time we tried, it wouldn't give us any error message but would just boot straight from the Hard drive. I have tried mounting other iso (ie. Windows7 iso) and VM seems to boot from that ISO just fine.

 

Reading your guide here, it looks like we have done at least 2 things differently from your guide.

 

1) Our VM was domain joined instead of workgroup.

2) Our VM was set to boot from this capture media iso although you mentioned: (do not try to boot from this ISO/CD/DVD)

I think you have already given your reason for 1) and I agree with you.

Can you please provide a little detail about 2)? It’s not that I don’t believe you but I might have to tell our trainer and I want to be prepped for possible disagreement.

 

Thank you.

Share this post


Link to post
Share on other sites

Hi,

 

I am very new to SCCM. On Day 3 of our training and knowledge transfer, we have built the capture media from SCCM and mounted to our Base image "Domain Joined" VM and were asked to set up the VM so that it would boot from this ISO. Every time we tried, it wouldn't give us any error message but would just boot straight from the Hard drive. I have tried mounting other iso (ie. Windows7 iso) and VM seems to boot from that ISO just fine.

 

Reading your guide here, it looks like we have done at least 2 things differently from your guide.

 

1) Our VM was domain joined instead of workgroup.

2) Our VM was set to boot from this capture media iso although you mentioned: (do not try to boot from this ISO/CD/DVD)

I think you have already given your reason for 1) and I agree with you.

Can you please provide a little detail about 2)? It’s not that I don’t believe you but I might have to tell our trainer and I want to be prepped for possible disagreement.

 

Thank you.

Share this post


Link to post
Share on other sites

well the process must be started in Windows, that's where you get the GUI to enter the capture destination details, the credentials needed, details about the image and then it SYSPREPs the machine before rebooting and starting the capture process in WinPE, please ask your trainer to review the steps again (in particular step 3) to see how that occurs,

Share this post


Link to post
Share on other sites

First post. Hello sir.

 

First off, your guides are great. Our environment is a little wonky so it might be why I am having problems with SCCM doing anything really.

 

My issue is with this capture process.

 

I made a VM in a Windows 10 Hyper-V and I am trying to capture a Windows 7 enterprise x64 image.

I built the Capture ISO, installed it as a drive and ran it. It reboots, syspreps and starts to capture. But now my question....

 

It gets to Capturing Volume 2 of 2 and just stops at about 50%. I let it run for 3 days and it did nothing. It made a 6GB .wim file that is unusable to image or load, but it never goes past 50%.

Share this post


Link to post
Share on other sites

First post. Hello sir.

 

First off, your guides are great. Our environment is a little wonky so it might be why I am having problems with SCCM doing anything really.

 

My issue is with this capture process.

 

I made a VM in a Windows 10 Hyper-V and I am trying to capture a Windows 7 enterprise x64 image.

I built the Capture ISO, installed it as a drive and ran it. It reboots, syspreps and starts to capture. But now my question....

 

It gets to Capturing Volume 2 of 2 and just stops at about 50%. I let it run for 3 days and it did nothing. It made a 6GB .wim file that is unusable to image or load, but it never goes past 50%.

So I rebuilt the capture media and it looks like it worked. But I now cannot import the WIM as an OS as it tells me that its an invalid WIM file. SCCM is turning out to be garbage. MDT just worked

Share this post


Link to post
Share on other sites

what is the actual error you get, and seriously SCCM is great, you just have to learn how to use it properly, i'm happy to remote in and look at your issue if you want (teamviewer)

Share this post


Link to post
Share on other sites

Hi There,

Excellent post (infact all the posts). Need quick clarification. I am seeing lot of questions regarding using copyprofile but have not got clear answer.  Can you please advise using this method to capture will work fine and take care of copying all the settings we do meaning when a user logs ,he/she will get all the settings (I am customizing desktop shortcuts, taskbar and installing some software etc.) and there is no need to use copyprofile at all 

Thanks

 

Share this post


Link to post
Share on other sites

Hi anyweb, I use SCCM 2012r2, to create and capture images.  I have used capture boot disks in the past, and have captured, many an image, to store on our server.  Lately, whenever I create a capture boot disk, the PC, will not boot from the disk, and it always has, in the past.  It doesn't matter what PC, or laptop I try it on, it doesn't boot from the cd/dvd.   Somehow, I lost the original capture boot disk, so I am forced to create new media.  I followed the steps, to create the ISO file, numerous times,  then I burned it to a cd or DVD, but no boot.  This is the capture method, I choose to use.  I realize that I could create a task sequence, to automate this, but I just don't have time.  I work in a school district, and time is running out.  Is there a recommended burning program that could help, or could it be that bootmgr, or some other file, is not processing?  I tried it at another school that I work at, and it worked, as advertised, but not the school, where I really need it  Thanks so much, Doug

Share this post


Link to post
Share on other sites

you need to start the capture in windows, see STEP 3

Share this post


Link to post
Share on other sites

Hello, fairly new to SCCM and came across your post about the image capture process.  I would like to see if anyone would be able to provide some assistance with the issue that I am encountering.  Here is the background:

 

I am using SCCM to image new devices with a windows 10 x64 build, the machine is added to the domain automatically during this process.  I have ran updates and made some changes to the default image (while on domain) and followed the instructions to create the capture task sequence.  I removed the machine from the domain, and I am running the capture.iso file directly on the machine and I get an error code as soon as the process begins (0x00004005) which I have not found any solution to this and would like to see if anyone had any recommendations.  I uninstalled and removed the sccm client and all folders from this machine, and I am using a domain admin user/password to setup the network path to save the .wim file.

While I followed your steps, I used X64 boot image to create the iso capture file

When I pulled the sccm log I can see a lot of failed items:

Could not find CCM Install folder

Task sequence execution failed with error code 80004005

Share this post


Link to post
Share on other sites

mikey090tx-this error is pretty generic for something is wrong. I just wanted to ask if you've already removed all the apps prior to capturing the image. you would have ran some powershell scripts (get-appxprovisionedpackage -online | remove appxprovisionedpackage -online OR get-appxpackage | remove appxpackage). sysprep will fail if this is not done prior to attempting the capture. this may have nothing to do with this error, but i like to advise people of this first.

Share this post


Link to post
Share on other sites

I have ran some powershell commands on this machine, please see below.  I know that because it is a generic error, it will be a bit hard to pin point the exact issue, I am going to side on the fact that this was domain joined and even after I removed it from the domain and deleted the AD object, I am still getting some policies applied (log on co. disclaimer).  I am going to try and see about building a fresh machine, off the shelf non domain etc and test that theory. 

 

Get-AppxPackage -AllUsers | Remove-AppxPackage

Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

 

Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online

Share this post


Link to post
Share on other sites

Well, I grabbed a non domain computer (HP430 G4) and installed Windows 10 (1709), ran some windows updates on it and attempted to capture the image again, and still have the same issue that I had with the other machine.  I did try to run this on a different model (Toshiba R930) and encountered the same problem.  Because I didn't setup and install the SCCM server and cannot verify all back end settings, I may need to go back to square 1 and confirm that all of the settings are setup to confirm that the task is allowed on our setup.

Share this post


Link to post
Share on other sites

can you post your entire smsts.log as an attachment so I can take a look ?

Share this post


Link to post
Share on other sites

This is a great thread. I am trying to do a capture of a non-domain joined build that has no CfgMan client installed, also it is a VM. I have followed the instructions but interestingly enough when booting to the VM I want to capture and launching TSMBAutorun from the boot.iso Virtual optical drive, instead of getting the Capture Image wizard I see a list of available Task Sequences. How can I get to the Image Capture wizard?

I am running Cfg Man 1706

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...