Event Source: Userenv
Event Category: None
Event ID: 1000
Time: time of day
Windows cannot copy file \\servername\share\...\Prf???.tmp to location R:\Documents and Settings\...\Prf???.tmp. Contact your network administrator.
DETAIL - Cannot create a file when that file already exists.
Although antivirus software may also cause this problem, the impact is likely to be minimal because there are fewer file operations for such processes than for Indexing and open file agents.
- Turn off the software or the service that is in conflict with the profile engine.
- Exclude profile folders from the conflicting operational scan or monitor functionality.
- During profile synchronization and reconciliation, when the profile engine (USERENV) detects that a file in the destination profile is older than its equivalent in the source profile, the source file is copied to a Prf*.tmp file on the target.
- The old destination file is deleted, and the Prf*.tmp file is appropriately renamed.
Note that the temporary file names are generated by the Windows File I/O GetTempFileName API function. If another process opens the temporary file before the temporary file is deleted, and it does not close it, the file is not deleted. Event messages are not logged in the Application event log when this behavior occurs. See the "Userenv Logging Information" topic in this article for additional information.
- When you log off, any remaining Prf*.tmp files are automatically uploaded with the profile.
- When you log on the next time, file creation errors occur during profile reconciliation if any temporary file names are reused. This condition results in the Userenv event ID 1000 message that is described in the "Symptoms" section of this article.
Userenv Logging InformationThe following Prf*.tmp files may not be deleted:
- Microsoft Windows NT 4.0 system policy files (these files will always be in the profile root directory).
If you notice that these files are not deleted, it means that the temporary file was not deleted; it does not mean that the policy was not applied. In this scenario, the following data is logged in the Userenv log:USERENV() hh:mm:ss:nnn ApplySystemPolicy: Failed to delete policy file PRF###.TMP. Error 32
- Standard profile temporary staging files (these files will never be in the profile root directory).
If the existing destination file cannot be deleted, the Prf*.tmp file also cannot be deleted. This behavior may occur if another process has both files open. In this case, no delete retry attempt is made against the Prf*.tmp file. As a result, you will have an outdated local copy of the file (and the most recent copy in the temporary file). In this scenario, the following data is logged in the Userenv log:USERENV() hh:mm:ss:nnn ReconcileFile: Failed to delete file filename with error = 32In some cases, the existing destination file has been deleted as a normal precursor to renaming the temporary file, but the Prf*.tmp file could not be renamed. In this case, the temporary files are intentionally not deleted to prevent data loss. The following data is logged in the Userenv log:USERENV() hh:mm:ss:nnn ReconcileFile: Failed to rename file PRF###.TMP to filename with error = 32
The process cannot access the file because it is being used by another process.
Article ID: 328607 - Last Review: Oct 21, 2008 - Revision: 1