Can't Install Software Due to pending Operations

When you install SQL Server 2000, this error message may occur:

A previous program installation created pending file operations on the installation machine. You must restart the computer before running setup.

After the error message appears, the installation will not continue until you address the problem.


There are pending file rename or delete operations.


To work around this problem (depending on the source of the error) you can use any one of the following methods:

  1. Restart the computer and see if you are able to run the setup. If the restart does not help, use the steps that follow.
  2. Perform these steps and then run the SQL Server 2000 setup again:
    1. Click Start
    2. then click Run.
    3. In the Open dialog box, type: Regedit or Regedt32
    4. Click OK. (NOTE: Please make sure that you only delete the value mentioned, not the whole session manager key.
    5. In Registry Editor, expand the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
    6. In the right-pane of the Registry Editor window, right-click PendingFileRenameOperations.
    7. On the shortcut menu that appears, click Delete.
    8. In the Confirm Value Delete message dialog box that appears, click Yes.
    9. Check other control set keys (for example, ControlSet001, ControlSet002, and so forth) for the same values and also delete them.
    10. On the File menu, click Exit. (NOTE: In Windows 2000, click Exit on the Registry menu.
    11. Restart the computer.
    12. Using the Registry Editor, verify that the PendingFileRenameOperations registry value is not available.
  3. Identify the virtual memory settings on the computer. If the paging file is too small or if there is no paging file, this error message may occur at startup: Limited Virtual Memory Your system has no paging file or the paging file is too small. If the error message occurs, determine the placement of the paging file from the virtual memory settings and give that drive full permissions for the system account.
Note: The PendingFileRenameOperations registry value may be re-created when you restart the computer. If the registry values are re-created, delete the PendingFileRenameOperations registry value again by completing the steps above, and then run SQL Server 2000 Setup again. Do not restart the computer before you run SQL Server 2000 Setup.