Hello
Thank you for posting in Q&A forum.
It sounds like you've covered a lot of ground already. Here are a few additional steps you can try:
- Check for Locked Files:
Sometimes, temporary files can be locked by running processes. Open Task Manager (Ctrl + Shift + Esc), go to the Processes tab, and look for any processes that might be using the temporary files. End those processes and try deleting the files again.
- Use PowerShell:
You can use PowerShell to force delete temporary files. Open PowerShell as an administrator and run the following command:
Remove-Item -Path "$env:TEMP*" -Force -Recurse
This command will forcefully delete all files in the temp folder.
- Registry Edit:
Sometimes, registry entries can cause issues with temporary files. Open the Registry Editor (Win + R, type regedit), navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList, and delete the profiles that are no longer needed.
- System File Checker:
Run the System File Checker tool to repair any corrupted system files:
sfc /scannow
- Check Disk Health:
Run a disk check to ensure there are no underlying disk issues: (CMD command)
chkdsk
Best regards
Yanhong
=====================================
If the answer is helpful, please click "Accept answer" and upvote it