Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Just out of curiosity, has anyone successfully backed up custom libraries? – James McMahon Dec 20 '09 at 16:58
up vote 2 down vote accepted

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

share|improve this answer
thanks. The scenorio 1 resolution seems to be what I was looking for. Can you post the text from the resolution into this answer, just in case Microsoft removes or moves the article? I would edit it myself but my rep isn't high enough. – James McMahon Jul 21 '10 at 12:44
-1 Because the answer is a link to the answer. – Shaun Luttin Mar 20 '14 at 19:52
Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change. – DavidPostill Sep 30 '15 at 17:24

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.

share|improve this answer

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.

share|improve this answer
Yeah the advice there is to exclude the custom library from the backup and backup the actual paths. That workaround had occurred to me, and I may use it if I can't get it working any other way, but it pretty much defeats the purpose of libraries. – James McMahon Dec 20 '09 at 16:29
The libraries idea is great, but they're nothing but trouble when you're trying to do backups. I had to use the literal paths to do backups because I have network locations in my libraries, and Windows stupidly tries to back those up too and obviously can't. – Jared Harley Dec 20 '09 at 16:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .