• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Refresh Windows 8 - Create and Use Custom Recovery Image


mikiep

New Member
Member
Posts
158
#41
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 Computer

System One

  • OS
    win8.1
    Computer type
    Laptop
    System Manufacturer/Model
    lenovo

DavidY

Active Member
VIP Member
Pro User
Posts
955
#42
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 Computer

System One

  • OS
    Windows 8.1, 10

mikiep

New Member
Member
Posts
158
#43
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 Computer

System One

  • OS
    win8.1
    Computer type
    Laptop
    System Manufacturer/Model
    lenovo

DavidY

Active Member
VIP Member
Pro User
Posts
955
#44
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!
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?
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 Computer

System One

  • OS
    Windows 8.1, 10

mikiep

New Member
Member
Posts
158
#45
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 Computer

System One

  • OS
    win8.1
    Computer type
    Laptop
    System Manufacturer/Model
    lenovo

Brink

Administrator
Administrator
mvp
Posts
23,925
#46
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:

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    1TB Samsung 970 EVO Plus M.2,
    250GB Samsung 960 EVO M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

mikiep

New Member
Member
Posts
158
#47
I just deleted the custom .wim .. clean disk system , cccleaner , fresh restart ... still 9gb here. maybe I try the alpha 7zip
 

My Computer

System One

  • OS
    win8.1
    Computer type
    Laptop
    System Manufacturer/Model
    lenovo

DavidY

Active Member
VIP Member
Pro User
Posts
955
#48
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:

My Computer

System One

  • OS
    Windows 8.1, 10

znod

New Member
Power User
Posts
2,156
#49
Well how cool is the "new refresh?" Verrrrrrrrrrrrrrrry! Never saw this tutorial before.
 

My Computer

System One

  • OS
    Win7 Ult on DIY; Win8 Pro on MBP/Parallels; Win7 Ult on MBP/Boot Camp; Win7 Ult/Win8 Pro on HP
    Computer type
    PC/Desktop
    System Manufacturer/Model
    DIY Rig; MacBook Pro (MBP)/Parallels/Boot Camp; HP Pavilion dv6500t Laptop
    CPU
    Intel i7-2600K (sometimes OC'd to 4.8 GHz)
    Motherboard
    ASUS P8P67 Deluxe Rev B3
    Memory
    16 GB Corsair Vengeance
    Graphics Card(s)
    EVGA 570 SC
    Monitor(s) Displays
    Gateway
    Hard Drives
    Dual Boot:
    Win7 Ult RAID 0 on OCZ Revo x2 and
    Win7 Ult RAID 0 on Caviar Black SATA 3's
    PSU
    Cooler Master Silent Pro 1000W
    Case
    Cooler Master 932 HAF
    Cooling
    Zalman CNPS9900MAX-B CPU Fan
    Keyboard
    Logitech Cordless Desktop MX 5500
    Mouse
    Logitech Cordless Desktop MX 5500
    Internet Speed
    20 Mbps Download/2+ Mbps Upload
    Other Info
    Pioneer Blu-ray Burner/DVD Burner

mikiep

New Member
Member
Posts
158
#50
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 Computer

System One

  • OS
    win8.1
    Computer type
    Laptop
    System Manufacturer/Model
    lenovo

Brink

Administrator
Administrator
mvp
Posts
23,925
#51
Great news Mikie. Thank you for posting back with your results. :)
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    1TB Samsung 970 EVO Plus M.2,
    250GB Samsung 960 EVO M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

vrosa

Tech Addict
VIP Member
Pro User
#52
How could I miss that, but better late than never. That's all I needed to avoid that annoying software reinstall after a refresh.

Thanks Shawn !

:)
 

My Computer

System One

  • OS
    Windows 10.0.10122
    Computer type
    PC/Desktop
    System Manufacturer/Model
    My Build - Vorttex Ultimate
    CPU
    Core i7 @ 4500 MHz
    Motherboard
    ASUS Z87-Plus
    Memory
    32GB DDR3 @ 1822 MHz (OC)
    Graphics Card(s)
    Radeon R9 280X 3GB @ 1180 / 6800 MHz
    Sound Card
    7.1 HDA
    Monitor(s) Displays
    LCD LG 22" + CRT LG 17"
    Screen Resolution
    1760 x 1320 / 1280 x 960
    Hard Drives
    1 x 240 GB SSD (System)
    3 x 500 GB HDD (Data/Media)
    1 x 2000 GB e-HDD (Backup)
    PSU
    ThermalTake 1000W PSU
    Case
    Corsair Carbide R300
    Cooling
    Corsair H60 (Push-Pull)
    Keyboard
    Microsoft Wireless Keyboard
    Mouse
    Microsoft Wireless Mouse
    Internet Speed
    60 Mbps (Down) 5 Mbps (Up)
    Browser
    IE, FF, Chrome
    Antivirus
    AVG Internet Security 2015
    Other Info
    Some wired stuff

cisco

New Member
Posts
8
#53
error code 0x80042301 from attempt

ok i tired to do this, entered cmd entered the request then i received this error code, 0x80042301 as the recovery could not be completed, any ideas on how i may be able to accomplish the recovery? thanks from mexico
 

My Computer

System One

  • OS
    win 8
    Computer type
    Laptop
    System Manufacturer/Model
    asus

Brink

Administrator
Administrator
mvp
Posts
23,925
#54

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    1TB Samsung 970 EVO Plus M.2,
    250GB Samsung 960 EVO M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

cisco

New Member
Posts
8
#55
hola from mexico, i now have a refresh image i followed yoru tutorial, excellent by the way. I want to refresh my system win 8 pro. if i do a refresh now that i do have the refresh image, all of my former programs will be maintained. Is that correct? Do I need to do anything differently to begin the refresh? if this works I will be a very happy man.

on another note, on my other PC with win8 i cannot connect to the internet from the metro start page, i always receive cannot connect to the internet Although i am connected from the desktop. very frustrating. i have tried dozens of suggestions, even a refresh. nada works. thanks
 

My Computer

System One

  • OS
    win 8
    Computer type
    Laptop
    System Manufacturer/Model
    asus

cisco

New Member
Posts
8
#56
refresh image

ok thanks for the speedy reply, v s c is set to automatic. is this ok? so is all is well and i do a refresh win 8 will read the c:\refreshimage and not delete my program files? well i thought i had a refresh image but, i was 57% through and i received this error code
0x80070006 if it isn't one thing it is another.
 
Last edited:

My Computer

System One

  • OS
    win 8
    Computer type
    Laptop
    System Manufacturer/Model
    asus

Brink

Administrator
Administrator
mvp
Posts
23,925
#57
If it failed again with that error, then how much free space is on the drive/partition that you are trying to save the custom refresh image to?

Please go ahead and also post a screenshot showing the full layout of your Disk Management (diskmgmt.msc).
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    1TB Samsung 970 EVO Plus M.2,
    250GB Samsung 960 EVO M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

cisco

New Member
Posts
8
#58
trying again 230 gigs free

ok stopped at the same place. 57% i am about to give up on win 8, i have two computers both now with win 8 they had win 7 and i NEVER had as many problems in years of use as i do with win 8 and that is in three months. the os i feel is just not ready, may never be. a vista 2??!!!.. i am working on my newer computer to communicate. the other with the problem writing to the file just crashed AGAIN. this is just such a drag.. so when i have a chance, if is do, i will send a file with the screen shot. thanks. and about the win store not connecting any ideas? that is the problem on this computer.

the reason i am doing a refresh is that i cannot log on. i arrive at the lock screen then around and around goes the spinning oval.. arpound and around... i have done a chore to try and resolve the issue but none work. SOOOOOO a refresh. I learned for trying to refresh this computer that I do not want to refresh without some backup. days to re install my programs.. so there you have two computer both disasters with win 8.
 
Last edited by a moderator:

My Computer

System One

  • OS
    win 8
    Computer type
    Laptop
    System Manufacturer/Model
    asus

cisco

New Member
Posts
8
#59
ok failed twice more times stopped at 47% this time after a serious removal of unused programs... attached is the desktop image of the disk mang.

desk top.png
 

My Computer

System One

  • OS
    win 8
    Computer type
    Laptop
    System Manufacturer/Model
    asus

Brink

Administrator
Administrator
mvp
Posts
23,925
#60
Cisco,

The problem is that when you restore a refresh image, it will restore your entire Windows 8 to how it was when the image was created.

In your case, it would restore the same cannot logon issue. :(
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    1TB Samsung 970 EVO Plus M.2,
    250GB Samsung 960 EVO M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

Users Who Are Viewing This Thread (Users: 0, Guests: 1)