Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
brianstoiber

Trying to create a WIM

Recommended Posts

Background: My company deploys between 500-750 Windows based tablets per year. In the past we have used programs like Acronis TrueImage in create an image of the OS and then reimage all the tablets. When WIndows 8 came around I have been unablet to get it working so I have been looking into WindowsPE.

 

We are working with a new OEM (small company that sources the tablets from China and then images them themselves and adds on a strong ruggedized housig for it). They use WindowsPE to image the tablets at boot. Unfortunately, there are about 55 Windows Updates that need to be done to each tablet as well as 6 programs that need to be installed for our purposes before we can deploy them. They have given me the recovery media that I can put on a USB drive, insert into the tablet, boot, press F7 and boot from the USB drive. It then runs WindowsPE and does a recovery. I press type Exit in the cmd. It reboots and run a cleanup script on the desktop and in the Sysprep windows press OK to boot into Out of Box setup mode.

 

What I am trying to accomplish is include the current Windows Updates as well as prepare for future ones that will be released as well as isntall our 6 programs and do a couple things like change the wallpaper and drop a few files in a couple directories. I belive what I need to do is below:

  1. Take the current Install.wim file and create an iso
  2. Mount it in Hyper-V Manager
  3. Install Updates and software
  4. Create an bootable image using ImageX

What I currently have is a folder that is 3.68 GB and has a directory structure inside if with the following folders: bg-bg, Boot, cs-cz, da-dk, de-de, DiskpartFiles, EFI, el-gr, en-gb, etc. In the images folder there is an Install.wim, Winre.wim as well as Unattended.xml, Capture.txt and Install.txt. I belive I need to create the iso from this Install.wim file. When I use the command:

oscdimg.exe -bC:\winpe86\iso\etfsboot.com -u2 -h -m -lWIN_EN_DVD c:\winpe86\ c:\winpe86\winpe86.iso

I see that it scanded the source tree, it completed with 379 files in 177 directories. It created a compelte image file of 3.86 GB which would make sense since the files that were given to me is just slightly smaller at 3.68 GB.

 

I have then taken that iso and opened Hyper-V Manager, created a VM with no installation media yet. Started the VM mounted the iso and then reset it. I get the error:

 

CDBOOT: Couldn't find BOOTMGR

 

I was hoping that it would start the install process like I have seen on the tablet running off of the USB drive allowig me to then rund all the updates and then work on the next step of creating a new image (WIM) for it to use in the future.

 

Any thoughts on the process? Do I have the right concept just missing something?

Share this post


Link to post
Share on other sites

A few things. Firstly, an OEM cannot put in all the updates that show up. Some will not integrate as many are .exe files. Some will not integrate due to a technical limiation.

 

However, you do not have the right to re-image an OEM OS. If you are not using a Volume License, your company should work with the OEM to create a (CFI) Corporate Factory Image instead.

  • Upvote 1

Share this post


Link to post
Share on other sites

I have then taken that iso and opened Hyper-V Manager, created a VM with no installation media yet. Started the VM mounted the iso and then reset it. I get the error:

 

CDBOOT: Couldn't find BOOTMGR

 

I was hoping that it would start the install process like I have seen on the tablet running off of the USB drive allowig me to then rund all the updates and then work on the next step of creating a new image (WIM) for it to use in the future.

 

Any thoughts on the process? Do I have the right concept just missing something?

 

Maybe you (actually the source) is missing the BOOTMGR (as the message says).

There must be (for BIOS booting) a BOOTMGR file in the root of the .iso.

 

jaclaz

Share this post


Link to post
Share on other sites

I shudder to think what the End User would say if something "breaks" and the OEM gets blamed. Otherwise, the Company you work for will be responsible and (as a reminder) sh*t rolls downhill.

 

Trip is correct (as per "rights"), and so is jaclaz (as per the "problem").

 

I guess it's all on you...

Share this post


Link to post
Share on other sites

However, you do not have the right to re-image an OEM OS. If you are not using a Volume License, your company should work with the OEM to create a (CFI) Corporate Factory Image instead.

The CFI seems like the way to go.

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.   Restore formatting

  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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...