Hello,
Running the DISM /Online /Cleanup-Image /RestoreHealth command shouldn't typically cause data loss, but it seems something went wrong in your case. Here are a few steps you can try to recover your files:
Use File History or Backup: If you have File History or another backup solution enabled, you might be able to restore your files from there. Go to Control Panel > System and Security > File History to check.
System Restore: If you have System Restore points enabled, you can try restoring your system to a point before you ran the DISM command. This might help recover your files. Go to Control Panel > System and Security > System > System Protection > System Restore.
If the above methods don't work, you might need to use data recovery software like Windows File Recovery. You can download and install this tool from the Microsoft App Store.
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.