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

PowerShell: How to Disable Users Authenticated Control (UAC)

This has been tested on Windows Server 2008, 2016, and 2019. Nothing fancy, just copy/paste…

Small Call Center BPX Capacity Planning

Requirements: 20+ users ~ 40000 minutes Recurring cost to be less than $1000 per month?…

Exchange 2007 Staged Migration to Office 365

Intro: Exchange 2003 or 2007 is so old that detailed instructions would only be useful…
Other project: DragonCoin.com