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: Download and Expand Zip File – Legacy Compatible

function downloadFile{ param( $url, $tempFolder="C:\Temp" ) try{ $fileName=split-path $url -leaf $tempFile = "$tempFolder\$fileName" try{[Net.ServicePointManager]::SecurityProtocol =…

Bosch Security Camera System

How to access the IP camera software (Tonto)   Using Internet Explorer, go to this…

SAN Storage: Using 3PAR StoreServ to Provision LUNs for vSphere ESXi or Windows Server

Overview: Assumptions MDS Zoning Configuration has been completed. Operating Systems ESXi OS has been installed…
Other project: DragonCoin.com