In Windows, the running Maintenance Tool cannot be deleted as it is currently running, we have a deferred delete for it. However, the following warning will occur. We should not print the warning as it is misleading.
Warning: Cannot remove file "<path>\MaintenanceTool.exe": Access is denied.
Warning: Cannot remove directory ...: