Monday, December 17, 2012

Refresh Windows 8

http://blogs.msdn.com/b/matt-harrington/archive/2012/04/01/create-a-windows-8-refresh-image-with-recimg-exe.aspx



Create a Windows 8 image with recimg.exe to preserve your Desktop apps after a refresh

Windows 8 supports two new ways to revert your system to an earlier state.  From the Settingscharm, access More PC settings and then click General.  Towards the bottom, you’ll see these two choices:
  1. Refresh your PC without affecting your files.  This choice keeps your personal data, system settings, and Metro style applications.  Desktop applications will be removed, unless you create a custom image as I detail below.
  2. Reset your PC and start over.  This choice is like a factory reset.  All of your personal files, Metro style apps, and Desktop apps will be removed.  You can optionally write random data to your drive for added security.
Use option 2 if you’re going to sell or give away your system.  All of your personal files will be erased.  The rest of this post is about option 1.
Option 1, refreshing your PC, keeps your personal data and reinstalls Metro style applications.  Desktop apps will be removed, and their names will be placed in a file on your desktop calledRemoved Apps.
Reinstalling all of your Desktop apps can be time consuming, so Windows 8 offers a command called recimg.exe to make this easier.  recimg creates an image which is used by the refresh facility when restoring Windows.  Not only will your personal data and Metro style apps be saved, but so will Desktop apps you have installed at the time you create the image.  This can save you a lot of time.
After installing Windows 8 on a new system, the first thing I do is install Visual Studio and Office.  I then do this as Administrator:
mkdir C:\RefreshImage
recimg /CreateImage C:\RefreshImage
recimg /ShowCurrent
Refreshing my PC will then preserve my Desktop apps.  Any Desktop apps I install after creating the image will not be copied over to the refreshed system.  However, the old system is preserved in C:\Windows.old.
For more information, run recimg /help. Also read the Refresh and reset your PC article by Desmond Lee on the Building Windows 8 blog.
  • #
    Nice!
  • #
    Great feature!
  • #
    On Windows 8 Enterprise version6.2 (Build 9200)  Downloaded from MSDN site
    When Trying to use the Refresh your PC without affecting your files option, using command line called recimg.exe to save the Desktop Applications. we are getting error : The recovery image cannot be written. Error Code - 0x80042319
    Command we run is :
    C:\Windows\system32>recimg.exe -CreateImage d:\RefreshImage
    Source OS location:  C:
    Recovery image path: d:\RefreshImage\CustomRefresh.wim
    Creating recovery image. Press [ESC] to cancel.
    Initializing
    100%
    Creating snapshot
    27%
    The recovery image cannot be written.
    Error Code - 0x80042319
    Blog Describing issue:
    social.technet.microsoft.com/.../c5ece863-371a-4b06-9baf-0d2440e19f7d
    If you have any suggestion recommendations will help.
  • #
    If you are trying to create custom recovery image for refreshing your Windows 8 PC by using recimg.exe tool, you might receive error message 0x80070003
    C:\> recimg /createimage D:\RefreshImage
    Source OS location:  C:
    Recovery image path: D:\RefreshImage\CustomRefresh.wim
    Creating recovery image. Press [ESC] to cancel.
    Initializing
    100%
    Creating snapshot
    100%
    The recovery image cannot be written.
    Error Code - 0x80070003
    This might be caused by active volume mount point in the root of the c:\ drive
    more details here: blog.itbubble.ru/.../recovery-image-creator-recimgexe-fails.html

RecImg Review

http://www.guidingtech.com/13926/backup-windows-8-apps-files-recimg/
===================================================

Windows 8 introduced the concept of refreshing and resetting Windows to help users when it starts misbehaving due to reasons like a virus outbreak or any overlooked registry errors. Until Windows 7, a user would have to format the computer and then reinstall Windows again (who has the time to troubleshoot, right?) but with now with the new version, things got easy.
While talking about the Reset and Refresh feature of Windows 8 the other day, we mentioned how both are different. While the Refresh option makes sure your files and settings are retained, Reset makes the computer as good as new (factory reset). Although the refresh option retained the Metro apps and files, it was not able to take care of all the desktop applications installed.
RecImg from SlimWare is a nifty application that works just like Windows 8 refresh feature, except that it preserves all the files and applications installed on the system drives (including games as well). So let’s see how we can use RecImg to create and restore the backup.

Using RecImg on Windows 8 to Backup and Restore Data

Installing RecImg is very easy. After downloading the RecImg installer on Windows 8, make sure you are connected to the internet and launch it. Internet connectivity is important while installing the program because it downloads some files from the server during installation. After the program installs, launch it from the Start Screen. The interface is touch optimized and minimalistic.
backup and restore
To create a backup, click on the Backup button on the tool home screen. RecImg will now analyze your system and ask you to select the drive where you want to create the backup image file. The size of the image will depend upon the number of files and installed applications and so will depend the time to create the backup.
choose destination directory
When you want to restore the backup, launch the app and select the Restore option in the tool home screen. You will see the available images you can restore along with the system reset option. When you select to restore an image, RecImg will restore your Windows to the specific condition with all the files and apps intact.
restore
You can also schedule backup using RecImg settings and configure the number of system images you want to store on your hard disk at a given time.
scheduler

Behind the Scenes

What RecImg does is that it uses the Windows system reset feature and clubs it with its unique backup algorithm to deliver you fresh PC with all the files and applications backed up. I tested the tool on my Windows 8 and it was able to restore all the applications installed in the system directory.

Conclusion

RecImg is a wonderful tool to create and restore Windows 8 backup but there is no way we can customize our backup. I mean, I cannot choose the apps I wish to include to make the backup image file smaller. Moreover, while restoring there are no advanced options to choose in the individual programs. If developers are listening, I would like to see the ability to select apps while backing up

RecImg Manager

http://www.recimg.com/


Creating Restore Image


How to reinstall Windows 8 without losing your files and programs

Refresh your PC to a clean and speedy state with recimg

Share This Article

With Windows 8, Microsoft has taken the need for improved backup andrestore functionality to heart. A new utility aptly named “Refresh” is included with the upcoming operating system that is set to make those annual Aliens-style “nuke it from orbit”  re-installations of Windows and applications as easy as possible.
Out of the box, Refresh will allow you to easily reset the operating system to its original state without deleting your Metro applications, personal files, user accounts, or the settings configured during initial setup. Also saved are network connections, BitLocker (and BitLocker To Go) encryption settings, and drive letter assignments. On the other hand, desktop applications will be removed, and firewall settings, file type associations, and display settings will be reset to defaults. According to Microsoft’s Building Windows 8 blog, the refresh function does not keep the above mentioned data by default because it is the software most likely to cause performance or stability issues.
At a basic level, Refresh is a differential image backup that keeps track of the data added to a base Windows installation. When run, the tool acts as an overhauled System Restore by re-installing Windows and then restoring the backed up data automatically to bring your PC back to its “default” state.

How to save your desktop applications with Recimg

Refresh can be further tweaked with a command line tool called Recimg. Using this utility, it is possible to create your own baseline image that Refresh will use to restore your computer.
This would allow you to install Windows, run through the initial setup, create user accounts, install all of your favorite applications (both desktop and Modern/Metro), and configure/personalize the OS. Once you have your computer set up the way you like it, you can create a custom image that will preserve this state should you need to restore the PC. This functionality has been possible with third party tools for some time, but it is now built into Windows — and is much faster than doing a restoration of a full disk image using Acronis (or the like). The downside is that you need a Windows install in place before you can restore your image, so it becomes less handy if your hard drive dies and you need to restore to a new drive. You would need to install windows and then allow Refresh to re-install Windows plus your saved changes. Because of this, the Refresh image should not replace your normal backup strategy.
Despite the limitations of the differential backup –including incompatibilities with some desktop apps (an issue Microsoft is working on addressing) — using Windows 8’s Refresh will have you up and running again in less than half an hour. Further, while it does involve using the command line to set it up, it only takes a few simple mouse clicks around the GUI to actually perform a restore, making it a boon for family tech support.

Creating your custom baseline image

After installing your favorite applications and getting the operating system set up the way you like it, you need to create a new image that will become the new baseline for Windows 8’s Refresh tool. Unfortunately, there is no GUI method to do this out of the box (there are third party Metro apps that can do it, however). Open a new Administrator command prompt by searching for “cmd” on the Start screen, right clicking the command prompt icon, and choose “Run as administrator.”
Command Prompt icon on Windows 8 Start Screen
Now you will need to run a simple command to create the new image. Type the following command — recimg /createimage E:\BACKUPS\ — and hit the Enter key.
The location “E:\BACKUPS\” in the above example command can be replaced with any directory of your choice. You can choose a directory on any connected drive and the Recimg utility will create the folder(s) for you as needed.
recimg recovery image creation in Windows 8
After hitting Enter, the Recimg utility will write a new image file, and then register the new file with the Refresh program so that it will use the custom image rather than the Microsoft-provided default when run. Depending on the amount of data the tool will need to write for the differential backup, it could take a while to complete. Once finished, Recimg will display an operation successful message. As of the RTM release, the tool states the following when an image is successfully created: Recovery image creation and registration completed successfully.
If you browse to the directory you used in the above command, you will find a new file named “CustomRefresh.wim.” The exact size will vary, but you can expect it to be at least several gigabytes in size. While Windows’ built-in zip/archive manager cannot open the “.wim” image file, 7-zip is able to open the archive (it cannot add items to it, however). Currently, the image file contains the following folders and files:
  • Documents and Settings
  • MSOCache
  • Program Files
  • Program Files (x86)
  • ProgramData
  • Users
  • Windows
  • bootmgr (file)
  • BootNXT (file)
  • hiberfil.sys
  • InstallRPLog.txt
  • pagefile.sys
  • swapfile.sys
The inclusion of hiberfil, pagefile, and swapfile “.sys” files is curious, however it is otherwise a straightforward backup.
CustomRefresh(dot)wim file open in explorer and 7zip
The CustomRefresh.wim file created with recimg utility shown in Explorer and open in 7-zip (inset)
That is all there is to the recovery-image creation process. It may be a good idea to include that CustomRefresh.wim file into your overall backup strategy. Should the original file be lost or damaged, you can place the backup in the same location and have it work. To verify, you can open a new command prompt window with administrative privileges and userecimg /showcurrent to display the currently configured image directory. To change this, you can use recimg /setcurrent E:\BACKUP\ to register the new location of the CustomRefresh.wim file.
The restoration process is done using the new Refresh tool located in the “PC Settings” Metro application, or the Windows 8 recovery environment (if the PC is unable to boot into Windows properly). Either way, it is a straightforward process that can be completed without the use of the command line. Continue reading for details on the Refresh recovery and restoration process — and the current caveats.
==================================================

How to reinstall Windows 8 without losing your files and programs

Refresh your PC to a clean and speedy state with recimg

Share This Article

Restore your PC from the custom baseline image using Refresh

Now that you have a custom baseline to work from, you can use it for routine maintenance or to recover from a malware infection to get the computer back to a clean and speedy state. If Windows will not boot, you will need to employ the recovery envirnment (Windows RE) and choose Refresh from the Advanced Options menu. (Tip: You can manually get to the WinRE startup options by using Shift+Left Click (tap) on the shutdown icon. Otherwise, it should automatically boot to WinRE if Windows’ normal startup fails.)
Barring such extreme circumstances, you will be able to initiate the refresh process from within Windows 8 (in the PC Settings app). To do this, open the Charms menu by moving your mouse cursor to the upper right hand corner of the screen — or swipe in from the right if you have a touchscreen. Move your mouse over the Settings icon (which resembles a white gear), and click to bring up the Settings menu in the sidebar.
Charms bar_PC Settings
Now navigate to the lower right-hand corner of the screen and click on the “Change PC settings” link.
Charms bar containing the Change PC Settings sidebar option
This will bring up the Metro UI version of Control Panel called PC Settings. On the left side of the screen is a list of text links. Click on “General.” Now, on the right side of the screen, scroll downwards until you see the “Refresh your PC without affecting your files” header text. Directly beneath that text is a box with text that reads “Get started.” Click on that to start the Refresh tool.
PC Settings Windows 8 app with Refresh option under General tab
The Refresh PC wizard will now open. While it notes that applications you installed from websites or discs (otherwise known as traditional desktop apps) will be removed, you can safely ignore that point if you’ve used Recimg — barring any incompatibilities, which will discuss in a moment.
Refresh Your PC Windows 8 recovery utility wizard
To begin, click on the “Next” button in the overlaid dialog. It will then find the image it needs and give you one last chance to back out of the process. Clicking Refresh will start the restore process.
Windows 8 Refresh wizard
After a few minutes, your computer will restart. During boot, the blue Windows logo will appear above a progress indicator that shows the percentage completion for the restore process.
Refreshing your PC progress indicator
This will take an additional few minutes. Once finished, you’ll be shown the inital setup tutorial animation but will not have to go through the user account creation or other setup processes. Instead, you’ll be taken to the Start screen.
At this point, you should have a clean system with your customized settings and all of your favorite Metro (Modern UI) and desktop apps.

Refresh is speedy, but not yet perfected

Unfortunately, the process is not foolproof. Any applications that were not able to be restored will be listed in a new file on your desktop called “Removed Apps.html.” When I performed a refresh with a custom image, Google Chrome, Dropbox, and (curiously enough) Microsoft SkyDrive all got left behind — and required a re-install.
Removed Apps file after Refresh completed
Further, if your desktop applications do not store user settings and other data in the folders that the Recimg utility pulls data from (to create the differential image), you will have to reconfigure them. In my case, I lost saved login credentials (and save games) to Project CARS and Minecraft. Also, Outlook 2013 (and the rest of the Office 2013 Customer Previewsuite) was reset, and I lost emails (I did have backups, at least) and account data which needed to be reconfigured. Utorrent was also reset to default settings. Finally, similar to the case of installing Windows 8 over a previous version of Windows, files that are not carried over to the new (rolled back) state are placed in a “Windows.old” folder. This folder can be safely deleted, though it would be a good idea to check for personal files that might not be backed up elsewhere.
Microsoft has acknowledged that there is room for improvement with the Refresh tool, and it’s considering adding locations to pull data from (to improve compatibility) based on user feedback. My testing was done on the RTM build of the operating system, which means the issues I ran into will only be fixed via a Windows Update patch.
Despite still being in development, Refresh is proving to be a useful tool that is simple to use and provides quick system rollbacks without impacting personal files. There is still some work to be done to improve desktop app support, but when used with a custom image, Windows 8′s Refresh tool fills an interesting middle-ground of an overall backup strategy between traditional file backups and full-disk imaging using third party tools