Windows 7 Backup not backing up custom library?


I have created a custom Library under Windows 7 64bit professional to handle my source code. When I tried Windows Backup and Restore for the first time I get the following error

Backup encountered a problem while backing up file C:\Windows\System32\config\systemprofile\Source. Error:(The system cannot find the file specified. (0x80070002))

I've found a thread on the error on the Microsoft answers site. But it appears to be 404 (there is a version in Google's Cache) and the thread starter never gets an answer to his issue that works.

The official Microsoft answer on this is

This problem is due to one or more profiles under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList with missing ProfileImagePath.

To check whether you have missing profiles:

  1. Open regedit, navigate to the above registry key. (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList). Expand the list
  2. Click on each of the profiles listed. The first 3 profiles should have ProfileImagePath value of %SystemRoot%\System32\Config\SystemProfile, %SystemRoot%\ServiceProfiles\LocalService, and %SystemRoot%\ServiceProfiles\NetworkService respectively.
  3. Starting from the 4th profile, the ProfileImagePath should contain path to the user profiles on your machine, such as C:\users\Christine
  4. If one or more of the profile has no profile image, then you have missing profiles.

To work around this, delete the profile in question (Caution: The registry contains critical settings that are necessary for your system to function properly. Take extra caution while making changes)

  1. First, export the ProfileList key for safekeeping. (Right click on the key, choose “Export”, and save it to the desktop.)
  2. Right click on the profile in question, choose delete.
  3. Try backup again.

This does not work for me.

Anyone have any idea what is going on here?

asked on Super User Dec 20, 2009 by James McMahon • edited Dec 20, 2009 by James McMahon

3 Answers


Have a look at KB979281, this should explain what's happening and how to resolve it.

This issue occurs if you back up a library that contains custom folders that are located under your user profile.

To resolve this issue, take one of the following actions:

  1. Move the library folder from the user profile path to a location outside the user profile path. For example, move the folder to the C:\MyLibraries folder.

  2. Exclude the library from the list of files that Windows Backup backs up. Then include the original location of the content in the library in the backup list.

  3. Move the library folder to a location other than the user profile folder. Then, add a link to the moved folder from the library. Make sure that the library is included in the backup.

answered on Super User Jun 23, 2010 by Cosmo • edited Jan 28, 2017 by Ihor Zenich

I know this is a really old thread but, since it's just solved my problem, thought I'd update. I followed Solution 1 linked above. It was dead easy:

  • Create a folder in C:\ called MyLibraries
  • Locate problem library under your profile (or click Start to find it, as described)
  • Drag library to new MyLibraries folder.

That's it! I was all ready to reset my library link to the new location, but found Windows had already done it. Hurrah.

answered on Super User Sep 14, 2012 by Grace Personal

This thread discusses the problem : RC backup error 0x80070002.

An official Microsoft answer is included towards the end by "Sneha [MSFT]", but I would suggest reading the entire thread.

However, one of the participants has solved his problem by creating the named file, which is apparently a bad profile name that was defined in some unknown way. So better check if this file does exist on your computer.

answered on Super User Dec 20, 2009 by harrymc

User contributions licensed under CC BY-SA 3.0