How to fix HFSS simulations hanging at 'cleaning directories'

To resolve the issue of HFSS simulations hanging at 'cleaning directories,' follow these steps:
- Close the Ansys application
- Rename the Ansoft folder located in Documents to Ansoft.old
- Relaunch AEDT and apply the following settings:
- Navigate to Tools > Options > HPC and Analysis Options and set the MPI Version to 2021

- Run the simulation again
- If the issue persists, install and configure Microsoft MPI. For detailed instructions, refer to the installation guide for Microsoft MPI