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

How To Reset Administrator Password – HP iLO Versions 2-4

Prelude: this instruction only works on HP iLO versions 2 to 4; hence, the title…

PowerShell: Get Date Taken Value of a Photo or Video

This function only deals with photos. Videos, such as MOV files, have an attribute called…

PEN TEST

Kali Linux: Pen testing Linux Distro: https://www.kali.org/get-kali/ VMware Images: https://www.kali.org/get-kali/#kali-virtual-machines AirCrack-NG: WIFI Acunetix: Web Servers…