Posted On April 14, 2019

How to manually fix a corrupted system file

kimconnect 0 comments
blog.KimConnect.com >> Windows >> How to manually fix a corrupted system file

I’ve already written a PowerShell Script to perform this task. Search for it within this blog. Meanwhile, here are some lines to demonstrate the manual process of getting this done.

a. Seize ownership of file
takeown /f %WINDIR%\system32\{filename}

b. Grant Administrators access
icacls %WINDIR%\system32\{filename} /GRANT ADMINISTRATORS:F

c. Replace corrupted file with a known good copy
COPY SOURCE_FILE %WINDIR%\system32\{filename}

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Setup Multiple SMTP Servers

- Add SPF record for both SMTP servers that are authorized to send email for…

How To Disable Startup Automatic Repair

Problem: Sometimes, a certain virtual machine would not boot correctly when it's being moved between…

How to Disable or Remove Windows Defender

Step 1: Disable Real-time monitoring immediately to minimize current runtime memory resource utilization Set-MpPreference -DisableRealtimeMonitoring…
Other project: DragonCoin.com