Microsoft KB Archive/839090

= You receive a &quot;The process cannot access the file&quot; error message when you open a report file of a backup that was completed while the Background Intelligent Service (BITS) runs =

Article ID: 839090

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows XP Professional
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Service Pack 2

-



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
You back up the :\Documents and Settings\All Users folder when the Background Intelligent Transfer Service (BITS) runs. After you back up the folder, if you open the report for the backup activity, you may notice the following error message:

Warning: Unable to open &quot; :\Documents and Settings\All Users\Application Data\Microsoft\Network\Downloader\qmgr0.dat&quot; - skipped.

Reason: The process cannot access the file because it is being used by another process.

Warning: Unable to open &quot; :\Documents and Settings\All Users\Application Data\Microsoft\Network\Downloader\qmgr1.dat&quot; - skipped.

Reason: The process cannot access the file because it is being used by another process.

Note  is a placeholder for the root directory that contains the system files of your computer.



CAUSE
BITS creates and uses the Qmgr0.dat and Qmgr1.dat files. When BITS runs, the Qmgr0.dat and Qmgr1.dat files are always locked. Because of this locked state, the backup application cannot open and back up the files. Therefore, you will notice that the file is being used by another process.



RESOLUTION
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this problem, you do not have to back up the Qmgr0.dat and Qmgr1.dat files. You can exclude these files from backup to prevent the errors. To exclude the Qmgr0.dat and Qmgr1.dat files, follow these steps:  Log on to the computer as an administrator. Click Start, and then click Run. The Run dialog box appears. In the Open box, type regedit, and then click OK. Open the following registry subkey:

 In the left pane, right-click FilesNotTo Backup, point to New, and then click Multi-String Value. Name the new entry BITS.</li> Double click the BITS entry. The Edit Multi-String dialog box appears.</li> In the Value data box, type the following value, and then press OK:

</li> Close Registry Editor</li></ol>

Note You can set this registry value against the  entry in the following location for computers that are running non-English language operating systems:

<div class="moreinformation_section">

Steps to reproduce the problem
<ol> Click Start, and then click Run. The Run dialog box appears.</li> In the Open box, type cmd, and then click OK.</li> At the command prompt, type the following command, and then press ENTER:

net start bits

This command shows the status of BITS.

Note Make sure that BITS runs before you take the backup of the folder.</li> At the command prompt, type the following command, and then press ENTER:

ntbackup.exe

The Backup or Restore Wizard dialog box appears.</li> Click Advanced Mode. The Backup Utility - [untitled] dialog box appears.</li> Click the Backup tab.</li> In the left pane, expand My Computer, and then expand  .</li> Expand Documents and Settings, and then click to select the All Users check box.</li> Type :\Backup.bkf in the Backup media or file name box, and then click Start Backup. The Backup Job Information dialog box appears.</li> Click Advanced. The Advanced Backup Options dialog box appears.</li> Click to select the Disable volume shadow copy check box, and then press OK.

Note You do not have to disable volume shadow copy if your computer runs the Microsoft Windows 2000 operating system.</li> Click Start Backup. The Backup Progress dialog box appears and backup of the folder continues.</li> After the backup process is completed, click Report. You may notice the error message in the report that is mentioned in the &quot;Symptoms&quot; section.</li></ol>

<div class="references_section">