currupte many file in pc so i want resate and recover

shyam kumar 0 Reputation points
2026-05-15T04:33:29.37+00:00

currepte many files in pc so I want to reset and it recover, but I did go to resolve this issue because the administrator is not give them permission to access or they didn't give the yes option, to proceed the next step.

Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud
0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-05-15T04:33:46.7866667+00:00

    To fix corrupted files and reset Windows when administrator permission blocks actions, use these steps in order:

    1. Run System File Checker (SFC)
      1. Open Start menu.
      2. Type cmd.
      3. Right‑click Command Prompt and choose Run as administrator.
      4. In the Command Prompt, run:
              sfc /scannow
        
      5. Wait until it reaches 100%.
      Possible results and what they mean:
      • “Windows Resource Protection did not find any integrity violations.” – System files are OK.
      • “Windows Resource Protection found corrupt files and successfully repaired them.” – Corruption was fixed.
      • “Windows Resource Protection found corrupt files but was unable to fix some of them.” – Some files still damaged; manual repair or reinstall is needed.
      • “Windows Resource Protection could not perform the requested operation.” – Run SFC again in Safe Mode and make sure the folders %WinDir%\WinSxS\Temp\PendingDeletes and PendingRenames exist.
    2. If SFC cannot fix everything, manually replace corrupted system files
      1. From the SFC log, identify the corrupted file path.
      2. Open an elevated Command Prompt (Run as administrator).
      3. Take ownership of the corrupted file:
              takeown /f <Path_And_File_Name>
        
        Example:
              takeown /f C:\Windows\System32\jscript.dll
        
      4. Grant administrators full access:
              icacls <Path_And_File_Name> /grant administrators:F
        
        Example:
              icacls C:\Windows\System32\jscript.dll /grant administrators:F
        
      5. Copy a known good version of the file from another PC with the same Windows version or from a safe location:
              copy <Source_File> <Destination>
        
        Example:
              copy E:\temp\jscript.dll C:\Windows\System32\jscript.dll
        
      If this still does not solve the problem, a Windows reset or reinstall is required.
    3. Reset the PC while keeping personal files (if sign‑in and admin access are possible)
      1. Back up important data to external storage.
      2. Go to Settings → System → Recovery.
      3. Under Recovery options, select Reset this PC.
      4. Choose Keep my files to keep personal files but remove apps and settings.
      5. Choose one of:
        • Cloud download – downloads a fresh copy of Windows (recommended if system files are badly corrupted).
        • Local reinstall – reinstalls from files already on the PC (faster, but may not include latest updates).
      6. Follow the on‑screen steps until reset completes.
      Notes:
      • Keep my files keeps personal files but removes apps and settings.
      • Remove everything deletes all files, apps, and settings and is better if giving away or selling the PC.
    4. If reset or reinstall is needed for full repair
      • If corruption persists after SFC and manual repair, use:
        • Reset this PC → Remove everything for a full clean start, or
        • Reinstall Windows using recovery drive or installation media (as described under Windows recovery options).
      • Always back up any accessible data first, because reinstalling usually removes apps, settings, and often files.

    If administrator permission prompts do not show a Yes option, the account in use may not be an administrator. In that case, sign in with an administrator account first or contact the device owner/IT admin to perform the SFC and reset steps.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    1 person found 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.