Solved bootcfg.exe not fixable by sfc

June 9, 2012 at 16:57:28
Specs: Windows 7 64 PRO, AMD Phenom ll X4 965/ 2X2GB Kingston KHX2133
HW MOB=MSI 890FXA-DG70, RAID AMD 12.4 driver on MOB, XFX 6850 HD

Ran sfc in safe mode and CBS log yielded:

c:\windows\System32\bootcfg.exe file corrupt not fixable

c:\Program Files\Common Files\Microsoft Shared\Ink\hwrsuash.dat file corrupt not fixable

c:\windows\SysWOW64\rasgcw.dll file corrupt not fixable

Is this a problem? If so how do I correct these 3 corrupt files.

Note: I don't have any problems booting. New install of Win 7 64 PRO from Win XP PRO
Original problem that prompted running sfc was Office 2007 install failed to complete install and I wanted to make sure didn't have any system file problems.


See More: bootcfg.exe not fixable by sfc

Report •

#1
June 10, 2012 at 09:07:23
What do you mean? "New install of Win 7 64 PRO from Win XP PRO".

Did you format the partition first?


Report •

#2
June 10, 2012 at 21:42:07
I used the Win 7 Conversion program to transfer my XP data to a file on another disk before I ran a full install from Win 7 64 Pro CD/DVD and I do believe Win 7 does format your partition during the install. I hate upgrade CD's as I like to be able to rebuild from scratch if a failure forces you to. You do have to have any Win 7 drivers like the RAID drivers available on media before you do this.The Win 7 64 PRO autorecognition portion of the sysgen kept throwing up until I recabled my Blu-ray/DVD/CD SATA drive from the SATA slots the motherboard BIOS treats as RAID devices to the single legacy SATA slot on the 890FXA-GD70 MOB. You can plug a non-RAID device into one of these slots along with your RAID disks just don't plug your WIN 7 media into them during sysgen. I did waste some time trying to load device drivers fruitlessly until I figured out the problem.

Since I first posted this question I did a file search and found copies of the three files in:

C:\Windows\winsxs\amd64_microsoft-windows-bootconfig_31bf3856ad364e35_6.1.7600.16385_none_680b6eb133f91b1b\bootcfg.exe 92.5Kb

C:\Windows\winsxs\amd64_microsoft-windows-t.cognition.en-us.ale_31bf3856ad364e35_6.1.7600.16385_en-us_6b6eca0454dc8c13\hwrusash.dat 3.92Mb

C:\Windows\winsxs\x86_microsoft-windows-rasgetconnectedwizard_31bf3856ad364e35_6.1.7600.16385_none_39ea34b42d8bab89\ragsgcw.dll 744kb

I discovered the following allows you access rights to the original files so you can replace them:

1. At an elevated command prompt type the following command, and then press ENTER:
takeown /f Path_And_File_Name

example type takeown /f C:\Windows\system32\bootcfg.exe

2. Type the following command, and then press ENTER to grant andinistrators full access to the file:
icacls Path_And_File_Name /GRANT ADMINISTRATOR:F

example type icacls C:\Windows\system32\bootcfg.exe /grant administrator:f

3. Type the following command to replace the file with a KNOWN GOOD COPY of the file:
Copy Path_And_File_Name_Of_Source_File Path_And_File_Name_Of _Destination

example type copy C:\Windows\winsxs\amd64_microsoft-windows-t.cognition.en-us.ale_31bf3856ad364e35_6.1.7600.16385_en-us_6b6eca0454dc8c13\hwrusash.dat C:\Program Files\Common Files\Microsoft Shared\Ink\hwruash.dat

I copied bootcfg.exe to another location just in case, and I plan to do the above procedure on hwruash.dat and rasgcw.dll first and then check them with sfc BEFORE I DO bootcfg.exe as I suspect it is far more important than they are and I DON'T KNOW THE FILES I AM COPYING ARE GOOD OR CORRUPT TOO!

I'l let you know if this works.



Report •

#3
June 15, 2012 at 22:46:46
✔ Best Answer
After further research I decided to not bother trying to copy the files from their "other" locations because examining sfc's output indicated those files were corrupt also.

The following solution from Microsoft's Forum in response to my post of this problem solves the problem as to where to get "GOOD versions" of the files:

MS solution
What you can do is install 7-Zip and then either mount the Windows .iso or put the DVD in the drive.

Use 7-Zip to double click on the Sources\Install.wim file - then inside there at \Windows\System32\ you can find both files. Copy them to your C:\Windows\System32\ folder and choose to overwrite the existing files.

I used the install DVD after installing 7-Zip which you download for free online(google it).

I extracted bootcfg.exe into a "dowload" directory along with the other files just in case this happens in the future. I got rid of the corrupt hwrsuash.dat file by uninstalling the windows optional software "PC Tablet" which I wasn't using any way.

I ran into a tricky problem with file rasgcw.dll I had to go to the sources on the DVD in both WIndows\system32\ and Windows\SysWOW64 and doing a replace into the respective directories using their respective souce versions of rasgcw.dll. There is 4kb size difference in the file. Just copying one or the other doesn't work. In future file problems where sfc can not fix a problem and there is more than one copy of the file on your system in different places you may want to search the source DVD in both of the places and do what I did in this solution. It took some trial and error and head scratching then a reexamining of the sfc output before I hit upon this solution and it WORKS!!


Report •
Related Solutions


Ask Question