Windows 8 recimg createimage fails with 0x80070002, why?


Running Win8 x64. C is an SSD with lots of free space (>200GB). I run:

recimg /createimage C:\CustomRefreshImages\Img121105

Output says:

Source OS location:  C:
Recovery image path: C:\CustomRefreshImages\Img121105\CustomRefresh.wim
Creating recovery image. Press [ESC] to cancel.

The recovery image cannot be written.
Error Code - 0x80070002

The paths specified in the command line are created, and I'm running this in an elevated command prompt, so it's not a permissions issue.

I've googled this but could only find worthless results, including a particularly entertaining one where the "solution" included instructions for creating a screenshot (press PrtScreen). Any help would be most appreciated.

asked on Super User Nov 5, 2012 by ezuk

4 Answers

error Code - 0x80070002 recimg -createimage

Run Windows Update from Control Panel and restart the system, then run the following command:

recimg -CreateImage drive?:\foldername?
answered on Super User Jan 31, 2013 by SAL • edited Jan 31, 2013 by Indrek

Do you have TrueCrypt installed?

I too had this problem and found a blog post ( which mentioned that an active mount at the root directory could cause a similar error.

I checked my C:\ and found no mount point there, but Mountvol did give “The system cannot find the file specified” under a number of volume names, which might be what was causing VSS to fail during Recimg initialization.

In my case, the invalid volume names were created by TrueCrypt. (If you mount a TC volume and then unmount it, you’ll see the volume name left there; and this, according to, is an old bug.) After I uninstalled TrueCrypt, I was able to create recovery images again.

Please let me know if this solved your problem.

answered on Super User Feb 23, 2013 by ȷ̇c

I found that unmounting any open truecrypt volumes and rebooting worked not only with the portable version but also when you're using the truecrypt installer. In other words, it's not necessary to uninstall truecrypt, just reboot to clear the mount points.

answered on Super User Oct 3, 2013 by btree

There is a Link to the same situation for Windows 7 and i think it will work for Windows 8 also. This is a Knowledge Base of Microsoft from actual scenario.

This article is also useful for Windows 8

Just Check if it helps

also try recimg/help to do checklist of commands available

AS per the details the Link summarizes that it can be due to two reasons

After you back up files by using Windows Backup on a Windows 7-based computer, you receive a notification that resembles the following:Check your backup results The backup completed but some files were skipped.

When you click the Options button that is next to the notification, you receive the following message:Check your backup results The backup completed but some files were skipped. View skipped files

Now from that they have given 3 scenarios and their causes and the Resolution,as the Steps are long i referred to the page as it is a KB

The next link suggests ways to Refresh your PC and why it should be done

It Suggests

Reset your PC – Remove all personal data, apps, and settings from the PC, and reinstall Windows. Refresh your PC – Keep all personal data, Metro style apps, and important settings from the PC, and reinstall Windows.

answered on Super User Nov 5, 2012 by Sant14 • edited May 24, 2021 by Glorfindel

User contributions licensed under CC BY-SA 3.0