Question
How do I resolve the problem
that the directory being used fails to be deleted when the source site runs Windows OS?
Possible Causes
- The directory or its subdirectories are shared.
- The directory or its
subdirectories are open.
- An application
occupies the directory.
{% load static %}
Answer
- Verify that the directory and its subdirectories are not shared or open.
- Ensure that all applications irrelevant to the migration directory are closed.
- Check and end the process that occupies the directory.
- Choose Start, enter resmon.exe, and press Enter.

- Click CPU. In the Associated Handles area, enter the
directory you want to search for, for example, D:\migrate.

- Select the PIDs of all processes that occupy
the directory, right-click, and choose End
Process from the shortcut menu.

- (Optional) If a black screen or blue screen is displayed after the processes are ended, the explorer process breaks down. Perform the following steps to rectify the fault:
- In the Resource Monitor window, choose
File > Load Settings from the main
menu.

- In the Run dialog box, enter cmd and press Enter.

- In the window that is displayed, enter the
explorer.exe command and press
Enter to restore the explorer
process.
