Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Files are not exchanged when Windows Server 2003 restarts if you use the MoveFileEx function to schedule a replacement for some files


View products that this article applies to.

Symptoms

Consider the following scenario. On a Windows Server 2003-based computer, you use the MoveFileEx function to schedule a replacement for some files. However, the files are not exchanged when Windows Server 2003 restarts if the following conditions are true:
  • The System volume is a basic volume.
  • The destination drive or the source drive is located on a dynamic volume.
Note This issue also occurs in Windows XP.

↑ Back to the top


Cause

This issue occurs because the Session Manager (Smss.exe) processes the PendingFileRenameOperations value as the system restarts. In some rare conditions, when the Session Manager processes the PendingFileRenameOperations value, the drives are not available to the system. The drives are not available because the volumes are not mounted at that time. Therefore, processing the PendingFileRenameOperations value fails, and an error is not reported. The reason that the mounting process is not completed during the restart is that the system drive is a basic volume. Therefore, loading the driver for the dynamic volumes may be delayed because loading the driver is not required during the restart.

Note The PendingFileRenameOperations value is only supported on a basic volume or on a dynamic volume.

↑ Back to the top


Workaround

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this issue, change the start type of the DMBoot driver to "Boot (0)." The driver resets the startup type value to "4," as described in the following Microsoft Knowledge Base article:
908371 A Windows Server 2003-based computer may use a paging file on a system disk instead of the intended non-local paging file
To change the startup type value to "0" for the DMBoot driver, follow these steps:
  1. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\dmboot
  2. In the details pane, double-click Start, and then type 0.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


Keywords: kbtshoot, kbexpertiseinter, kbexpertiseadvanced, kbprb, KB948601

↑ Back to the top

Article Info
Article ID : 948601
Revision : 2
Created on : 2/29/2008
Published on : 2/29/2008
Exists online : False
Views : 236