Windows 8 and 8.1 Forums


Refresh Windows 8 - Create and Use Custom Recovery Image

  1. #40


    Quote Originally Posted by fafhrd View Post
    it contained complete Pagefile, Swapfile and Hiberfile elements in the archive. I thought that .wim files filtered out such data.
    How did you look at the .wim contents ? I thought 7zip would, but doesn't open it here.

      My System SpecsSystem Spec

  2. #41


    Posts : 959
    Windows 8.1, 10


    Here's a curious thing which I don't understand.

    I left my laptop running to create a Custom image yesterday evening, but due to Power settings, the computer went into Sleep mode in the middle. I woke the computer up and it seemed to finish normally, without mentioning any error messages.

    However I wondered if something might have gone wrong, so I ran it again in a different folder (being sure to keep it awake this time). The curious thing is that the file sizes were very different. First one was over 8GB but the second one was about 1GB less. Why are two images such different sizes?

    I ran it a third time and the file size is again different; it's similar to the 2nd run but not the same.

    It occurred to me that my anti virus software is set to updated its signatures at a time between the 1st and 2nd runs, but I can't see how that would be as much as a GB, and it doesn't explain why the 3rd one is different.

    File sizes are:
    1. 8,298,759 KB
    2. 7,272,486 KB
    3. 7,301,183 KB


    Why does the file size vary?
      My System SpecsSystem Spec

  3. #42


    Wow.. I just had the same deal sort of.. Laptop went to sleep before finishing making the wim. I stopped it with the ESC or what it says.. then restarted it. My older wims have always been 7gb .. new one is 9gb.

    I sort of had been blaming that extra 2gb on fooling with the tile programs looking for a digital clock tile and news ticker for that 'Tiled start screen' . Wouldn't think those two things would add 2gb
      My System SpecsSystem Spec

  4. #43


    Posts : 959
    Windows 8.1, 10


    Quote Originally Posted by mikiep View Post
    Wow.. I just had the same deal sort of.. Laptop went to sleep before finishing making the wim. I stopped it with the ESC or what it says.. then restarted it. My older wims have always been 7gb .. new one is 9gb.
    Thanks for that - glad it's not just me!
    Quote Originally Posted by fafhrd View Post
    it contained complete Pagefile, Swapfile and Hiberfile elements in the archive. I thought that .wim files filtered out such data.
    Aha - this may be a clue - maybe the Hiberfile etc. are bigger if the computer has been to sleep during the process?
    Quote Originally Posted by mikiep View Post
    How did you look at the .wim contents ? I thought 7zip would, but doesn't open it here.
    I found this tutorial shows how to open a Windows 7 .wim file:
    WIM File - Extract and Modify - Windows 7 Support Forums

    I'm just trying to download its Windows 8 equivalent which I think is somewhere in this mega-download here...
    Download: Windows Assessment and Deployment Kit (ADK) for Windows® 8 - Microsoft Download Center - Download Details
      My System SpecsSystem Spec

  5. #44


    Think win8 already has what you need to mount a wim. I just haven't read enough to feel comfortable using it.
    DISM /? command
      My System SpecsSystem Spec

  6. #45


    Posts : 22,582
    64-bit Windows 10


    Hello David and Mikie,

    Most likely the extra amount may be from the other custom recovery image unless you deleted it first.

    If you like, you could also use 7-Zip 9.30 alpha to view and extract from a WIM file.
    Last edited by Brink; 03 Mar 2013 at 18:35.
      My System SpecsSystem Spec

  7. #46


    I just deleted the custom .wim .. clean disk system , cccleaner , fresh restart ... still 9gb here. maybe I try the alpha 7zip
      My System SpecsSystem Spec

  8. #47


    Posts : 959
    Windows 8.1, 10


    Quote Originally Posted by mikiep View Post
    Think win8 already has what you need to mount a wim. I just haven't read enough to feel comfortable using it.
    DISM /? command
    Great - thanks for that.

    So here's what I did. I should mention that I did all this with copies of the .wim files, on another PC that I didn't mind breaking!

    I created a blank folder at C:\TestMount\offline, and copied my CustomRefresh.wim files into three different subfolders of C:\WIMsTest

    Then I went to elavated command prompt, navigated to C:\TestMount and used these commands
    Code:
    Dism /Mount-Image /ImageFile:C:\WIMsTest\FirstFolder\CustomRefresh.wim /index:1 /MountDir:C:\TestMount\offline /ReadOnly
    
    Dir offline /s /a-d /on >DirAttempt1.txt
    
    Dism /UnMount-Image /MountDir:C:\TestMount\offline /Discard
    Then I repeated it with "FirstFolder" changed to the second and third folders, and "DirAttempt1.txt" changed to Attempt2 and Attempt3

    You can also use this instead of the Dir command, but I preferred Dir as it shows the times and dates and sizes of files:
    Code:
    Dism /List-Image /ImageFile:C:\WIMsTest\FirstFolder\CustomRefresh.wim /index:1 >ListImage1.txt
    And the results. Well around the last line of the output from Dir command, which shows the final totals of files and folders, it looks like this for my three files:
    1. 78934 File(s) 21,980,305,301 bytes
    2. 78936 File(s) 21,983,887,347 bytes
    3. 78951 File(s) 21,958,309,340 bytes

    ... which are all pretty much the same.

    I also used 3rd party utility KDiff3 to compare the contents of the files. There were some changes due to anti-virus updates, and a few changes within the Microsoft folders, but no huge files of 1GB or thereabouts.

    So I'm still none the wiser about file sizes. Unless I've missed something in my DIR command, the actual files in the image are the same when you mount them; perhaps it's a compression issue.

    But I have learned more about DISM as a result of the exercise.

    Edit: Just in case anyone's wondering (like I was) what "mounting" a image in DISM means... I created a real blank folder on my disk, and by mounting the .wim file at that location, it appears as if the folder holds the contents of the .wim image, even though I'm pretty sure the files are not there on the physical disk (in fact not even on the same disk in my case). I'm pretty sure it's wise to un-mount when finished, and by using the readonly flag when I mounted and the discard flags when I unmounted, hopefully I didn't change anything.
    Last edited by DavidY; 17 Feb 2013 at 19:32.
      My System SpecsSystem Spec

  9. #48


    Posts : 2,156
    Win7 Ult on DIY; Win8 Pro on MBP/Parallels; Win7 Ult on MBP/Boot Camp; Win7 Ult/Win8 Pro on HP


    Well how cool is the "new refresh?" Verrrrrrrrrrrrrrrry! Never saw this tutorial before.
      My System SpecsSystem Spec

  10. #49


    I shrunk my RefreshImage.wim this morning to a more normal size by first running the disk clean/system/more tab and clean up System Restore and 'Shadows Copies' Changed showing 43gb to 38gb used on C:\
    The extra shadows copy's seem to add to the size. I think
      My System SpecsSystem Spec

Page 5 of 25 FirstFirst ... 3456715 ... LastLast
Refresh Windows 8 - Create and Use Custom Recovery Image
Related Threads
How to Set a Custom Recovery Image as Active to Use to Refresh Windows 8 and 8.1 A custom recovery image contains the desktop apps you've installed, and the Windows system files in their current state. Recovery images do not contain your documents, personal settings, user profiles, or apps...
I would like to create a custom recovery partition for windows 8.1 that I can use to refresh the pc. I would like to include the drivers that are required. I am unable to locate a tutorial that can help me do this. Anyone know how I can do this?
No active custom recovery image in Performance & Maintenance
When I entered recimg/showcurrent in elevated cmd , I get the message : There is no active custom recovery image. However when I checked disk management , I get the following partitions: EFI System 50mb OEM 40mb Recovery Partition 2GB OS C ...
Can not set custom recovery image in Performance & Maintenance
Hello gang. I created a custom refresh image the day before upgrading to 8.1. I am having shut down and sleep issues with windows 8.1 that I don't have time to troubleshoot any longer and I wish to go back to win 8 for now. I went to check that my image was there and active and this is what i get:...
Hello, Am using recimg to create custom image on freshly upgraded win 8.1 install. It fails almost immediately with this message appearing in a pop up: "The procedure entry point ??0BufferedStream@UnBCL@@QEAA@PEAVStream@1@K@Z could not be located in the dynamic link library...
Q? approx size of Custom Recovery Image in Performance & Maintenance
What is the saved file space needed for a typical Custom Recovery Image? Reason I ask is my Lenovo laptop has a 15gb hidden partition... their famous one key reset, a magic reset button, that probably is broken now that I upgraded win7 to win8. I'm thinking unhide the drive with PTedit and...
How to Deregister the Current Custom Recovery Image to Refresh Windows 8 and 8.1 A custom recovery image contains the desktop apps you've installed, and the Windows system files in their current state. Recovery images do not contain your documents, personal settings, user profiles, or apps from...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook