Windows 8 and 8.1 Forums


Refresh Windows 8 - Set a Custom Recovery Image as Active

  1. #50


    Posts : 2,690
    Windows 3.1 > Windows 10


    Quote Originally Posted by KYHI View Post
    recimg /deregister

    recimg /setcurrent d:\refreshimage

    which means recimg is looking for the "customrefresh" image in the refreshimage folder on drive D
    thank shawn - don't have to flip back

      My System SpecsSystem Spec

  2. #51


    Posts : 34
    Linux Lite 3.2 x64


    I think the problem was SmartScreen was set to its max position.
      My System SpecsSystem Spec

  3. #52


    Posts : 4
    Windows 8.1 64 bit

    Change in Windows 8.1 from 8.0 for recimg.exe


    I have been following the post and it seems as if recimg.exe in Windows 8.1 works different than Windows 8. It now doesn't backup the two hidden files pagefile.sys and swapfile.sys. Which is good because Windows creates these two files on startup. It does backup hiberfil.sys which can be deleted and windows restores this file also at startup. I use this script to turn off hiberfil.sys so it isn't included in the CustomRefresh.wim

    (In elevated command Prompt box in Windows)
    powercfg -h off
    recimg /showcurrent
    //recimg /deregister
    recimg -CreateImage D:\RefreshImage\Image1
    powercfg -h on
    //recimg /setcurrent D:\RefreshImage\?
    (In elevated command Prompt box in WinPe) (Drive letter might change in PE, Check first!!!)
    Dism /Capture-Image /ImageFile:"D:\Original_Win\install.wim" /CaptureDir:C:\ /Name:"Windows8.1_x64_Pro"
    (In elevated command Prompt box in Windows)
    C:\Windows\System32\reagentc /setosimage /path D:\Original_Win /target C:\Windows /index 1

    After installing windows for the first time and windows finishes I customize anything without adding any additional programs
    except for old windows components like Windows 7 games. I then do the above steps to have a complete install.wim. I do delete
    the three hidden files and do an advance clean. The install.wim is about 5 gigabits, the original install.wim is about 3.5 gig in the
    64 bit windows 8.1.

    One thing I am unable to figure out is how to have the different partitions named Recovery instead of Primary Partition.
    I use these command to view the description of the Partitions.
    Diskpart
    lis dis
    sel dis 0
    lis par
    sel par 1
    det par
      My System SpecsSystem Spec

  4. #53


    Posts : 2,690
    Windows 3.1 > Windows 10


    SET ID
    GPT ATTRIBUTES
      My System SpecsSystem Spec

  5. #54


    Posts : 4
    Windows 8.1 64 bit

    Commands


    Quote Originally Posted by KYHI View Post
    SET ID
    GPT ATTRIBUTES
    This it what it shows.
    Code:
    C:\WINDOWS\system32>Diskpart
    
    
    Microsoft DiskPart version 6.3.9600
    
    
    Copyright (C) 1999-2013 Microsoft Corporation.
    On computer: ABLE_ENTERPRISE
    
    
    DISKPART> sel dis 0
    
    
    Disk 0 is now the selected disk.
    
    
    DISKPART> lis par
    
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Primary            350 MB  1024 KB
      Partition 2    Primary            130 GB   351 MB
      Partition 3    Primary             66 GB   130 GB
      Partition 4    Primary            734 GB   196 GB
    
    
    DISKPART> sel par 1
    
    
    Partition 1 is now the selected partition.
    
    
    DISKPART> det par
    
    
    Partition 1
    Type  : 07
    Hidden: No
    Active: Yes
    Offset in Bytes: 1048576
    
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
    * Volume 1         System Rese  NTFS   Partition    350 MB  Healthy    System
    
    
    DISKPART> SET ID
    
    
    The arguments specified for this command are not valid.
    For more information on the command type: HELP SETID
    
    
    DISKPART> GPT ATTRIBUTES
    
    
    The arguments specified for this command are not valid.
    For more information on the command type: HELP GPT
      My System SpecsSystem Spec

  6. #55


    Posts : 2,690
    Windows 3.1 > Windows 10


    You have MBR partitions - your windows recovery tools and boot manager files are on partition.

    Nothing wrong with your disk layout as the partition is a primary
      My System SpecsSystem Spec

  7. #56


    Posts : 18
    Windows 8.1


    I have successfully created and set a recovery image following this tutorial but have some questions.

    My system is a self build and I used a Windows 8.1 full install disc to install the OS, so not an 8.1 upgrade from 8.

    As my system is non OEM it initially did not have any form of Recovery Image, which I have now rectified.

    My system drive is C:\ & currently the Recovery Image is located in the folder C:\RefreshImage as per this tutorial.

    Can I create a separate partition on my C:\ drive, for instance, giving this new partition the drive letter D and then create the Recovery Image to reside there within the RefreshImage folder?

    Whenever there comes a time that I needed to use my Recovery Drive to refresh my PC, would it automatically find the Image located elsewhere other than the default C:\RefreshImage folder?

    This may sound like pretty basic questions and I am fairly certain that I already know the answer but over many years of messing around with PCs, I have learnt never to take anything for granted, especially when you need to rely on it.

    This bring me to another set of questions.

    My wife has a laptop that came preinstalled with Windows 8 and I upgraded it OTA to 8.1 some time ago.

    A couple of weeks ago the laptop developed a fault, eventually it turned out to be HDD failure but at the time I did not know this.
    Because the laptop only came with the Drivers disc and no form of OS discs I had to purchase them direct from the manufacturer at a pretty penny of course

    After umptine reboots I managed to get the first of the system recovery discs to run and was surprised that it informed me that the recovery would revert the laptop back to Windows 8, not surprised that it would wipe all the data off at the same time though.

    After this disc failed to proceed any further and also spewed out an error, it was at this time I correctly suspected HDD failure.

    Jumping ahead a bit, got a new HDD and reinstalled OS from manufacturers recovery discs all fine and dandy, reupdated to 8.1.

    I want to save myself grief and hard work in the future by creating an image of the laptop as it is now & making a Recovery Drive for it.

    So, if I used the procedure outlined in this tutorial to create a Recovery Image on this laptop and then created a Recovery Drive, plus I would also create a System Image, could I side step the need to revert to W8?

    If there was a need in the future to replace the HDD, could I use the files created above to do a full install back to the state when the System Image was taken?

    Regards..,
      My System SpecsSystem Spec

  8. #57


    Posts : 22,581
    64-bit Windows 10


    Hello 1CM69,

    Answers inline.


    Quote Originally Posted by 1CM69 View Post
    Can I create a separate partition on my C:\ drive, for instance, giving this new partition the drive letter D and then create the Recovery Image to reside there within the RefreshImage folder?
    Yes, you sure could.
    Quote Originally Posted by 1CM69 View Post
    Whenever there comes a time that I needed to use my Recovery Drive to refresh my PC, would it automatically find the Image located elsewhere other than the default C:\RefreshImage folder?
    As long as the custom refresh image is registered and the drive it is on doesn't fail, the registered image should automatically be used whenever you do a refresh.


    Quote Originally Posted by 1CM69 View Post
    So, if I used the procedure outlined in this tutorial to create a Recovery Image on this laptop and then created a Recovery Drive, plus I would also create a System Image, could I side step the need to revert to W8?

    If there was a need in the future to replace the HDD, could I use the files created above to do a full install back to the state when the System Image was taken?
    A custom recovery image would restore Windows to exactly how it was when the image was created. You wouldn't need to install 8 and upgrade to 8.1.

    Creating a system image in addition to a custom recovery image would be a good backup to have to be safe in case the custom recovery image couldn't be used for whatever reason. You wouldn't need to install 8 and upgrade to 8.1 with a system image as well since a system image would restore the hard drives to how they were when it was created.

    If all else fails, you can also now download a 8.1 ISO file using OPTION ONE below, create a bootable Windows installation DVD/USB with the ISO, and do a direct clean install of 8.1. It will automatically detect and use the OEM key embedded in the UEFI firmware to activate Windows.

    Windows 8 and Windows 8.1 ISO - Download or Create

    Hope this helps,
    Shawn
      My System SpecsSystem Spec

  9. #58


    Posts : 2,690
    Windows 3.1 > Windows 10


    click on and find the size of the refresh image.. (customrefresh.wim)

    Go to disk management and shrink C by the image size, plus 500MB ie 3.5GB image + .5GB = 4GB partition D

    move the refresh folder to D and register the image again

    recimg.exe /deregister

    recimg.exe /setcurrent D:\refreshimage

    If you want to hide the partition from windows - go into disk management and remove the D drive letter from D
      My System SpecsSystem Spec

  10. #59


    Posts : 18
    Windows 8.1


    Quote Originally Posted by Brink View Post
    Hello 1CM69,

    Answers inline.


    Quote Originally Posted by 1CM69 View Post
    Can I create a separate partition on my C:\ drive, for instance, giving this new partition the drive letter D and then create the Recovery Image to reside there within the RefreshImage folder?
    Yes, you sure could.
    Quote Originally Posted by 1CM69 View Post
    Whenever there comes a time that I needed to use my Recovery Drive to refresh my PC, would it automatically find the Image located elsewhere other than the default C:\RefreshImage folder?
    As long as the custom refresh image is registered and the drive it is on doesn't fail, the registered image should automatically be used whenever you do a refresh.


    Quote Originally Posted by 1CM69 View Post
    So, if I used the procedure outlined in this tutorial to create a Recovery Image on this laptop and then created a Recovery Drive, plus I would also create a System Image, could I side step the need to revert to W8?

    If there was a need in the future to replace the HDD, could I use the files created above to do a full install back to the state when the System Image was taken?
    A custom recovery image would restore Windows to exactly how it was when the image was created. You wouldn't need to install 8 and upgrade to 8.1.

    Creating a system image in addition to a custom recovery image would be a good backup to have to be safe in case the custom recovery image couldn't be used for whatever reason. You wouldn't need to install 8 and upgrade to 8.1 with a system image as well since a system image would restore the hard drives to how they were when it was created.

    If all else fails, you can also now download a 8.1 ISO file using OPTION ONE below, create a bootable Windows installation DVD/USB with the ISO, and do a direct clean install of 8.1. It will automatically detect and use the OEM key embedded in the UEFI firmware to activate Windows.

    Windows 8 and Windows 8.1 ISO - Download or Create

    Hope this helps,
    Shawn
    Quote Originally Posted by KYHI View Post
    click on and find the size of the refresh image.. (customrefresh.wim)

    Go to disk management and shrink C by the image size, plus 500MB ie 3.5GB image + .5GB = 4GB partition D

    move the refresh folder to D and register the image again

    recimg.exe /deregister

    recimg.exe /setcurrent D:\refreshimage
    Perfect, thanks to you both. 😀
      My System SpecsSystem Spec

Page 6 of 7 FirstFirst ... 4567 LastLast
Refresh Windows 8 - Set a Custom Recovery Image as Active
Related Threads
How to Create a Custom Recovery Image to Use to Refresh Windows 8 and 8.1 This tutorial will show you how to create and register a custom recovery image to use instead of default when you refresh your Windows 8, Windows RT, Windows 8.1, and Windows 8.1 RT PC. You must be logged in as an...
Hi I have a Toshiba L875-12v Serial Number ZC317533R I discovered that the windows reagentc was disabled then I enabled it then when I clicked refresh your computer without affecting your files it came out with there was a problem refreshing your pc please help I want to go back to windows 8
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:...
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 Display Path of Current Active Recovery Image Used 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...
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