• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1687
  • Last Modified:

Bootmgr is missing after imaging windows 7 machine

I just applied a .wim image file that i created from a windows 7 machine and  when the machine starts up there is an error saying "Bootmgr is missing". Is there a command that needs to be ran after applying a .wim image image? I ran the following commands from diskpart prior to applying the .wim image.
Diskpart
Select disk 0
Clean
Create primary partition
Active
Assign letter=c

 
0
henjohn1520
Asked:
henjohn1520
  • 3
  • 3
  • 2
  • +4
1 Solution
 
cbmmCommented:
0
 
Ivano ViolaSystem AdministratorCommented:
Did you sysprep the image before taking the image. If not this may help:
http://theitbros.com/capture-and-deploy-image-without-sysprep
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
I suspect your partition scheme was different on the system where you created the WIM and the system you applied it to.  I would recommend booting to the Windows 7 recovery option on the CD and running the automated repairs... it may take 3-4 passes, but that should fix it.  You'll probably need to recreate the WIM later though or ensure your partitioning is always the same as it was (in terms of partitions total, not sizes).
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
subhashchyCommented:
if automated reapairs does not fix the problem you can follow this way..

choose command prompt from recovery options (from CD) .
copy bootmgr from the cd to C:\
execute below command.

bcdboot c:\windows

The bcdboot.exe command-line tool is used to copy critical boot files to the
system partition and to create a new system BCD store.

0
 
noxchoGlobal Support CoordinatorCommented:
Normally there is 100MB small partition called MSR partition which holds BootMgr file and Boot folder. If you did not image this partition then the error is quite understandable. And this partition is set always active.
If you move the BootMgr to C: drive before taking image, delete MSR partition and make the Windows boot from C: drive only then you can take the images easily and it will not give you this error.
0
 
subhashchyCommented:
i do agree with what noxcho said.
I think  if you try to image only the C: drive as Noxcho said, you will have to manualy create the BCD store as the BCD store is saved in that 100 MB MSR partition under \boot directory on each system after applying wim.Better idea would be first make both changes (bootmgr and bcd) and then image.apply image on systems and those should boot directly.

The command i said should do that (should be run offline not directly from windows).



0
 
henjohn1520Author Commented:
What command would i use o to move the bootmgr and to c: drive? I
0
 
cbmmCommented:
/rebuildbcd
0
 
cbmmCommented:
sorry,  bootrec /RebuildBcd
0
 
subhashchyCommented:
since there is no Boot directory in C: , i would suggest use

bcdboot c:\windows

It will do all the necessary patching required including copying BCD parameters from templates
0
 
noxchoGlobal Support CoordinatorCommented:
Explanation of problem root and possible solution were posted in ID: 35465356 by Noxcho.
0
 
LeeTutorretiredCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

  • 3
  • 3
  • 2
  • +4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now