Windows 8 and 8.1 Forums


recover windows 8 from a .wim file

  1. #11


    Posts : 1,851
    8250 x86 + 7 SP1 x86 + Ubuntu 12.04 LTS x86


    The 100 MB Win7 system partition sounds like a likely candidate for having thrown troubles with the imagex method. The laptop I applied it on when I made the new partition for Win8 did not have the 100 MB reserved at all.

      My System SpecsSystem Spec

  2. #12


    Posts : 5,360
    7/8/ubuntu/Linux Deepin


    Neither did mine.
      My System SpecsSystem Spec

  3. #13


    Odell
    Posts : 60
    Windows 8CP


    Quote Originally Posted by jimbo45 View Post
    Quote Originally Posted by baarod View Post
    Don't use WAIK anymore with CP. About the Windows Assessment and Deployment Kit <-- this is it's replacement.

    Hi there
    ????

    What are you actually saying here --I can't find ANYTHING in your post --including going to the MS link which serves as the replacement .

    Also SmartWim runs like a One Legged dog on an Ice Pond compared with IMAGEX. I'm always suspicious anyway of these type of products. If MS is designing windows it just seems obvious that for "Kernel" type images MS should be the best source --note here I'm not talking about 3rd party apps etc but just the basic kernel Sources.

    Cheers
    jimbo
    There is no WAIK for Windows 8. There is not now and will never be one. WAIK has been supplanted by WADK or Windows Assessment and Deployment Kit. From the website I linked:

    "Windows deployment is intended for OEMs and IT professionals who want to customize and automate the installation of Windows in their factories or organizations. In addition to new tools, the Windows ADK includes the deployment tools that were previously released as part of the Windows OEM Preinstallation Kit and the Windows Automated Installation Kit."

    It's got the new version of bcdboot, bcdedit, bootsect and imagex as well as the very different Windows Pre-installation images and tools. Plus it's more download friendly. You download a stub installer that only grabs the stuff you are interested in.
      My System SpecsSystem Spec

  4. #14


    Posts : 5,360
    7/8/ubuntu/Linux Deepin


    If you want the winpe bit - it is pretty big
      My System SpecsSystem Spec

  5. #15


    Odell
    Posts : 60
    Windows 8CP


    Quote Originally Posted by SIW2 View Post
    If you want the winpe bit - it is pretty big
    Actually the base deployed PE (boot.wim) looks to be smaller. Must be all the other stuff...
      My System SpecsSystem Spec

  6. #16


    Posts : 42
    Windows 8.1 Core


    Quote Originally Posted by SIW2 View Post

    win8partitionletter:\windows\system32\bcdboot win8partitionletter:\windows /s activepartitionletter:
    In order to restore an OEM's recovery from a hidden partition on a W8 system, can one simply use the cmd prompt to issue this command after booting from a W8-generated USB recovery drive, assuming that I have the contents of the recovery partition copied to the recovery drive? Is the bcdboot and cmd prompt available from the recovery drive? And, in what instance would you need to assign different letters to Win8 and the active partition?

    There are also WIMs for the EFI (boot) and Reserve partitions as well I believe (at least the EFI partition). Do these need to be "applied" as well in order to for it to boot, or are the commands sufficient in that they would write to the boot partition (EFI) all that is needed? And, what drive letter would I use in a recovery environment for an EFI partition if I were to restore the WIM?

    I plan to first "clean install" with my own W8 version over the OEM system, but I just want to be sure I can recover back to the OEM version if need be. Hopefully, this "clean install" will simply overwrite (not resize or delete) the OEM EFI (boot) and reserve partitions.

    FWIW, I have partitions in the following order on the GTP disk:
    1. Recovery (WinRE) - 1000 MB
    2. EFI boot - 260 MB
    3. OEM Partition (nothing here) - 1000 MB
    4. Reserve - 128 MB
    5. System
    6. Recovery Partition - 14000 MB
    7. IRST (Intel Rapid Start) - 8000 MB

    I plan to first clean install over the existing system, but I just want to be sure I can recover back to OEM if need be.
    Last edited by floepie; 25 Mar 2013 at 09:27.
      My System SpecsSystem Spec

  7. #17


    Odell
    Posts : 60
    Windows 8CP


    Quote Originally Posted by floepie View Post

    In order to restore an OEM's recovery from a hidden partition on a W8 system, can one simply use the cmd prompt to issue this command after booting from a W8-generated USB recovery drive, assuming that I have the contents of the recovery partition copied to the recovery drive? Is the bcdboot and cmd prompt available from the recovery drive? And, in what instance would you need to assign different letters to Win8 and the active partition?
    <snip>
    So far we have not covered GPT UEFI booting. I've tried several times to create a UEFI boot UFD containing Win8 PE from the ADK, the DISM dir (recommended over IMAGEX now), BCDBOOT and the INSTALL.WIM from the Win8 x64 ISO sources directory. They idea is to set the destination computer to boot insecure UEFI from the UFD, DISKPART sel dis, cle, con gpt, cre par xyz, for quick, ass, exi and DISM /apply-image to the boot partition. The problems lies with getting a compatible system partition load with BCDBOOT for the system partition. I'm using the info here as the basis of my research: Sample: Configure UEFI/GPT-Based Hard Drive Partitions by Using Windows PE and DiskPart

    I think what you are asking is how to go about doing a recovery -- that involves both the Windows Recovery Environment (WinRE) AND your custom recovery partition. More info here: Samples: Applying Windows, System, and Recovery Partitions by using a Deployment Script
      My System SpecsSystem Spec

  8. #18


    Camarillo, Ca.
    Posts : 59
    All Versions Of Windows


    Quote Originally Posted by baarod View Post
    Quote Originally Posted by jimbo45 View Post
    Quote Originally Posted by baarod View Post
    Don't use WAIK anymore with CP. About the Windows Assessment and Deployment Kit <-- this is it's replacement.

    Hi there
    ????

    What are you actually saying here --I can't find ANYTHING in your post --including going to the MS link which serves as the replacement .

    Also SmartWim runs like a One Legged dog on an Ice Pond compared with IMAGEX. I'm always suspicious anyway of these type of products. If MS is designing windows it just seems obvious that for "Kernel" type images MS should be the best source --note here I'm not talking about 3rd party apps etc but just the basic kernel Sources.

    Cheers
    jimbo
    There is no WAIK for Windows 8. There is not now and will never be one. WAIK has been supplanted by WADK or Windows Assessment and Deployment Kit. From the website I linked:

    "Windows deployment is intended for OEMs and IT professionals who want to customize and automate the installation of Windows in their factories or organizations. In addition to new tools, the Windows ADK includes the deployment tools that were previously released as part of the Windows OEM Preinstallation Kit and the Windows Automated Installation Kit."

    It's got the new version of bcdboot, bcdedit, bootsect and imagex as well as the very different Windows Pre-installation images and tools. Plus it's more download friendly. You download a stub installer that only grabs the stuff you are interested in.
    You are splitting hairs. WAIK, WADK, same thing different version.

    Now for the wim... You created a wim...

    1. Name it install.wim
    2. Place it on an external HDD, in a directory called Win8
    3. Get the Win8 boot DVD, copy all files off it to the Win8 folder on the external.
    4. Now you can plug it into the system, boot from the dvd OR a WinPE4 disk, get to the command prompt, then change directories to the external and the win8 dir.
    type in setup... It should launch the Win 8 setup from the drive, and use your wim file for the install, which means all the software, and data should still be there...

    This way if you are not an IT professional than you do not have to learn WADK and DISM which are both a pain...
      My System SpecsSystem Spec

  9. #19


    Posts : 42
    Windows 8.1 Core


    Quote Originally Posted by baarod View Post
    So far we have not covered GPT UEFI booting. I've tried several times to create a UEFI boot UFD containing Win8 PE from the ADK, the DISM dir (recommended over IMAGEX now), BCDBOOT and the INSTALL.WIM from the Win8 x64 ISO sources directory. They idea is to set the destination computer to boot insecure UEFI from the UFD, DISKPART sel dis, cle, con gpt, cre par xyz, for quick, ass, exi and DISM /apply-image to the boot partition. The problems lies with getting a compatible system partition load with BCDBOOT for the system partition. I'm using the info here as the basis of my research: Sample: Configure UEFI/GPT-Based Hard Drive Partitions by Using Windows PE and DiskPart

    I think what you are asking is how to go about doing a recovery -- that involves both the Windows Recovery Environment (WinRE) AND your custom recovery partition. More info here: Samples: Applying Windows, System, and Recovery Partitions by using a Deployment Script
    Interesting. With those two links and the OEM WIM file, it seems you can restore it to bare metal quite easily from a WinPE disk. Now, the OEM recovery partition also contains WIMs for the EFI and WinRE as well, but it appears the script handles this by simply copying contents from the applied WIM to those partitions. From experience of which I have absolutely none, are these "helper" WIMs required to apply in place of the default ones applied in the script?

    The second method from Haxcid above seems even easier in that you can simply replace the install.wim on a normal W8 install DVD with an OEM's install.wim? Almost sounds too good to be true!
      My System SpecsSystem Spec

  10. #20


    Camarillo, Ca.
    Posts : 59
    All Versions Of Windows


    Quote Originally Posted by floepie View Post
    Quote Originally Posted by baarod View Post
    So far we have not covered GPT UEFI booting. I've tried several times to create a UEFI boot UFD containing Win8 PE from the ADK, the DISM dir (recommended over IMAGEX now), BCDBOOT and the INSTALL.WIM from the Win8 x64 ISO sources directory. They idea is to set the destination computer to boot insecure UEFI from the UFD, DISKPART sel dis, cle, con gpt, cre par xyz, for quick, ass, exi and DISM /apply-image to the boot partition. The problems lies with getting a compatible system partition load with BCDBOOT for the system partition. I'm using the info here as the basis of my research: Sample: Configure UEFI/GPT-Based Hard Drive Partitions by Using Windows PE and DiskPart

    I think what you are asking is how to go about doing a recovery -- that involves both the Windows Recovery Environment (WinRE) AND your custom recovery partition. More info here: Samples: Applying Windows, System, and Recovery Partitions by using a Deployment Script
    Interesting. With those two links and the OEM WIM file, it seems you can restore it to bare metal quite easily from a WinPE disk. Now, the OEM recovery partition also contains WIMs for the EFI and WinRE as well, but it appears the script handles this by simply copying contents from the applied WIM to those partitions. From experience of which I have absolutely none, are these "helper" WIMs required to apply in place of the default ones applied in the script?

    The second method from Haxcid above seems even easier in that you can simply replace the install.wim on a normal W8 install DVD with an OEM's install.wim? Almost sounds too good to be true!
    I used to do it with windows 7 all the time. It allowed me to carry a complete windows install on a flash drive. I could walk up to a machine, insert the usb flash drive, boot from it and install complete working windows with software like Office 2010, flash, reader, quicktime, java, etc... Took about 20 minutes. I would have updated the systems than captured the wim using imagex. Works great for clean installing stand alone machines. I think they have a tutorial for it here for W7. Pretty much the same thing. Ours was slightly more complex as we sysprepped the image so it works on any hardware.

    I don't see why it would not work. I have a network cut over next week. Rewired 2 of our sites and we are swapping everything over to the new cabling and switches but the week after that I think I will give it a go.
      My System SpecsSystem Spec

Page 2 of 2 FirstFirst 12
recover windows 8 from a .wim file
Related Threads
I recently contracted a virus which seems to have eliminated ALL my file associations. I've confirmed that .LNK, .EXE, .COM, and .BAT associations are gone. All proposed fixes to re-associate .EXE files don't work for me, because of all the other associations I've lost. I have been able to...
Hey, forum! Long story as short as possible: Asus Zenbook UX51VZ / Windows 8 OEM Upgraded to Win 8.1 around three weeks ago Faced no problems (surfing, media programs, games worked fine) Last Friday during startup I received an error message telling me that something isn't correct...
Solved How to Recover windows 8 onto laptop? in Installation & Setup
My asus Laptop, K55N-DB81 has Linux on it. BUT before I had windows 8 on it. Now I want to re-install Windows 8 on it, but I don't know how to. I didn't create any recovery disks :cry:, and the Product Key is embedded into the Bios. I know what the Product Key IS just in case I would have to enter...
How to Recover Saved and Unsaved Versions of Word, Excel, and PowerPoint 2013 Files If the AutoRecover and AutoSave option is turned on in Word 2013, Excel 2013, and PowerPoint 2013, then you can automatically save versions of your file while you're working on it to avoid losing your work if a...
So I pressed shutdown and install updates. The computer has since been unable to restart. It keeps giving the message that it is repairing the error and going to restart. Which is the message it keeps giving every time it restarts. I recovered as much as I can by loading Ubuntu through a USB...
Hi all! I have a fairly new (purchased 8/2013) Lenovo ThinkPad T431s with Windows 8.1 Pro 64-bit. It has a very tricky error coming basically 8 / 10 boots: Windows is Scanning and repairing drive... 39133 Error details from Windows Event Viewer:
recover windows 8 from a .wim file in Performance & Maintenance
Eight Forums Android App Eight Forums IOS App Follow us on Facebook