How to recover the deleted window file

Muhammad Asim Khan 0 Reputation points
2026-11-20T07:33:51.5466667+00:00

I removed some files by mistake, after that I feel my computer genrate more heath and charging performance also low after that

Windows for home | Windows 11 | Recovery and backup
0 comments No comments

2 answers

Sort by: Most helpful
  1. DaveM121 951.4K Reputation points Independent Advisor
    2026-11-20T08:05:58.0533333+00:00

    Hi Muhammad,

    It is not possible for anyone to know which files you have deleted, this is the best option to stabilize your Windows installation.

    Open the Settings App.

    Go to System - Recovery.

    Click the 'Reinstall Now' button in the 'Fix problems with Windows Updates' section and wait for that process to complete.

    This process should fix any corruption in Windows and will not affect your files, settings or installed apps.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-20T07:34:43.6266667+00:00

    Stop using the PC as much as possible, restore the files from the Recycle Bin or an existing backup first, and use Windows File Recovery to an external drive if neither contains them.

    Recover your deleted files

    1. Check the Recycle Bin
      • Open Recycle Bin.
      • Select the deleted files, right-click them, and choose Restore.
      • Windows returns them to their original locations.
    2. If File History was enabled before deletion
      • Open File Explorer and locate the folder that previously contained the files.
      • Right-click that folder and select Restore previous versions.
      • Select a version created before the deletion.
      • Choose Open in File History to inspect it.
      • Expand Restore and select Restore to… to recover it elsewhere without overwriting current files. Restoring directly replaces the current version and cannot be undone.^1^
    3. If the files are no longer in the Recycle Bin or a backup
      • Minimize computer use because new data can overwrite the disk space containing deleted files.
      • Connect a USB or external drive. It must be physically different from the drive containing the deleted files.
      • Install Windows File Recovery from Microsoft Store.
      • Search for Windows File Recovery, open it, and approve the administrator prompt.
      • For recently deleted files from an NTFS C: drive, run an appropriate command such as:
    winfr C: E: /regular /n *.pdf /n *.docx
    

    Replace E: with the external drive letter. To recover your Documents folder, use:

    winfr C: E: /regular /n \Users\<username>\Documents\
    

    Enter Y when prompted. Results appear in a Recovery_<date and time> folder on the destination drive. If Regular mode finds nothing, retry with /extensive. Recovery is not guaranteed, particularly if the free space has already been overwritten.^2^

    Do not create a new partition on the affected disk or recover files back onto the same physical partition; both can reduce the chance of recovery.

    If you deleted Windows system files

    Do not download individual Windows files from third-party websites or manually copy unknown versions into Windows folders. Instead:

    1. Search for Command Prompt.
    2. Right-click it and select Run as administrator.
    3. Run these commands in order:
    DISM.exe /Online /Cleanup-image /Restorehealth
    sfc /scannow
    

    Allow DISM to complete before starting SFC, and do not close the window until SFC reaches 100%. SFC checks protected system files and replaces damaged or missing copies when possible.^3^

    Restart Windows afterward. If SFC reports that it could not repair some files, preserve your personal data before considering further Windows recovery or reinstallation.

    Heat and slow charging are separate symptoms

    Deleting personal documents ordinarily does not establish why a computer is warmer or charging slowly. Check these independently:

    • Press Ctrl+Shift+Esc to open Task Manager. Under Processes, sort by CPU and then Disk to identify sustained heavy activity. Close only applications you recognize and do not need.
    • Go to Settings > System > Power & battery and avoid Best performance mode while troubleshooting, because that mode consumes more power and can make a laptop warmer.
    • Use the charger and cable designed for the PC, connect them directly to the correct charging port rather than through a hub, and test charging while the computer is asleep or turned off.^4^
    • Generate a battery report from an administrator Command Prompt:
    powercfg /batteryreport
    

    Open the HTML file at the location displayed by the command and review Installed battery, Recent usage, and Battery usage.^5^

    If the laptop becomes dangerously hot, smells unusual, shuts down from heat, or the battery appears swollen, turn it off, unplug it, and arrange inspection by the PC manufacturer or a qualified technician.


    References

    1. Backup and restore with File History | Microsoft Support
    2. Windows File Recovery | Microsoft Support
    3. Use the System File Checker tool to repair missing or corrupted system files | Microsoft Support
    4. PC is charging slowly or discharging while it’s plugged in
    5. Caring for your battery in Windows | Microsoft Support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.