Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Difficulty replacing a corrupt autochk.exe file

28 Feb 2014   #1
jnn

64
 
 
Difficulty replacing a corrupt autochk.exe file

So my autochk.exe file is corrupt, this was a coincidental find whilst doing a sfc scan, I wasn't experiencing any problems whatsoever.

Now I have a good autochk.exe file, and my idea was to just plonk the good file in the place of the corrupted one.
My idea was to rename the corrupted file, put the good file next to it, then if the good file appears to work smoothly, delete the old renamed file.

Now here is my problem, no matter what I do, the old corrupted file will not budge.
I tried to renaming it, it appears to be renamed, but when I go to paste in the working autochk.exe, it gives me an overwrite prompt, as there is already a file with that name in the folder. It basically acts like I have never renamed the file, although my screen clearly shows me I have (to autochk_old.exe). I can't remove the file from the folder either. After a while I had a "screw it" moment and decided to just try and overwrite, but again, that does not work.

I am not that tech savvy, and am well aware that this is likely caused by my ignorance, so excuse me if not all the necessary information was added. If any additional info is needed, let me know, and I will do my utmost best to help you help me.

I have given myself full administrative rights by following these instructions:

"Right click on Autochk.exe -> Properties
Click the Security tab, then click Advanced (button)
On the new window 'Advanced Security Settings for Autochk.exe' click the
'Owner' tab
Below the box labeled 'Change owner to:' click 'Edit...'
In the new window, under 'Change owner to:' select yourself (or the
Administrators group), then click OK
Close all property windows for autochk.exe, then go back to (right click)
Properties->Security
Click 'Edit...'
On the window 'Permissions for Autochk.exe' select the Administrators group,
then under 'Allow' click the 'Full Control' checkbox"


My System SpecsSystem Spec
.
28 Feb 2014   #2
Ztruker

Windows 10 Pro X64
 
 

Try this: Take Ownership Shortcut

Once added to the context menu, right click on autochk.exe and select Take Ownership. That should do it.
My System SpecsSystem Spec
01 Mar 2014   #3
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Replace system file

An easy method to use if you get stuck:

SysMate - Easily Replace Windows System Files - Technibble

You just need to run the program and ensure that the file that you replace with is the correct one.

A backup that can be restored will be created here:

C:\SysMate_Backup\autochk.exe
My System SpecsSystem Spec
.

01 Mar 2014   #4
jnn

64
 
 

Quote   Quote: Originally Posted by Ztruker View Post
Try this: Take Ownership Shortcut

Once added to the context menu, right click on autochk.exe and select Take Ownership. That should do it.
From what I understood this does not work on .exe files. I used the /takeown script from an elevated command prompt instead, didn't really change anything compared to the method I used as described in my opening post.
I can still change the file name, but it doesn't actually seem to take effect. Visually it shows up as "autochk_old.exe", but for all other purposes it still treats it as if it were named "autochk.exe".
Meaning that when I try to paste in the uncorrupted autochk.exe file, it conflicts with the corrupted one, as my system treats them both as if they were name "autochk.exe", despite me having changed the name of the corrupted file.

I have added an attachment of what it looks like on my screen.



Quote   Quote: Originally Posted by Callender View Post
An easy method to use if you get stuck:

SysMate - Easily Replace Windows System Files - Technibble

You just need to run the program and ensure that the file that you replace with is the correct one.

A backup that can be restored will be created here:

C:\SysMate_Backup\autochk.exe

I just tried using this, both methods of the program for taking control failed.


Attached Thumbnails
Difficulty replacing a corrupt autochk.exe file-autochk.jpg  
My System SpecsSystem Spec
01 Mar 2014   #5
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
SysMate

Hi. This software has always worked for me. I've used it today to replace autochk.exe with a copy. I'm not sure where you downloaded a copy or if there was a problem with the copy that you used.

Difficulty replacing a corrupt autochk.exe file-sysmate-system-file-walker.jpg
Difficulty replacing a corrupt autochk.exe file-sysmate-system-file-walker2.jpg

Try running the program from a folder on your desktop and right click the System File Walker.exe file and choose "Run as administrator" - you will have noticed that you need the correct version of .NET Framework installed. I used 4.0

Other than that - take a look at step #12 in the tutorial here:

Extract Files from Windows 7 Installation DVD


My System SpecsSystem Spec
03 Mar 2014   #6
jnn

64
 
 

The program still fails to take control of the file, after failing to do so, it terminates the attempt. How bad would it be to leave the file as is? I havent experienced any problems so far.
My System SpecsSystem Spec
03 Mar 2014   #7
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Replacing autochk.exe

Hi,

Well as far as I can work out the autochk.exe file in system32 needs to match the autochk.exe file in the WINSXS folder. I must confess that after replacing autochk.exe using the method that I posted previously left chkdsk unable to run and resulted in a non-booting machine! That didn't concern me too much as I just restored a system image backup and all is well.

I'd ask you to seek more advice on this issue from other forum members and in any case it would be wise to back everything up even if you leave things as they are.

Some research shows possible fixes:

Repair Install

Also see: AUTOCHK.EXE corrupted but ignore the advice about replacing with a copy from the WINSXS folder as that fix left me with a non booting machine! Have a look at post #7. but it seems that you've already tried renaming the file in order to replace it!
My System SpecsSystem Spec
03 Mar 2014   #8
Ztruker

Windows 10 Pro X64
 
 

c:\windows\system32\autochk.exe is a hardlink to a file in c:\windows\Winsxs. Looks like that is the one you need to replace.

Quote:
C:\Windows\System32>fsutil hardlink list "C:\Windows\System32\autochk.exe"
\Windows\System32\autochk.exe
\Windows\WinSxS\amd64_microsoft-windows-autochk_31bf3856ad364e35_6.2.9200.16612_
none_3b0749404b4e5a16\autochk.exe
My System SpecsSystem Spec
04 Mar 2014   #9
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Ztruker View Post
c:\windows\system32\autochk.exe is a hardlink to a file in c:\windows\Winsxs. Looks like that is the one you need to replace.

Quote:
C:\Windows\System32>fsutil hardlink list "C:\Windows\System32\autochk.exe"
\Windows\System32\autochk.exe
\Windows\WinSxS\amd64_microsoft-windows-autochk_31bf3856ad364e35_6.2.9200.16612_
none_3b0749404b4e5a16\autochk.exe
Hi,

Thanks for the info. I'd already spotted that the file in the System32 folder is actually a hard link and from what I've been reading elsewhere it's the same file that is shown in the WinSxS folder. Indeed when I search for autochk.exe several locations are shown in search results. If I search the registry there are more enties depending upon which versions of Internet Explorer have been installed. I had no problems with my machine - but copying the autochk.exe file from WinSxS to System32 resulted in a non-booting machine after running chkdsk.

From the info that I see on hard links here:

https://blogs.technet.com/b/joscon/a...edirected=true

It would appear that the file exists in the MFT with hard links pointing at it. However after searching the contents of MFT on my machine I don't see the file. Possibly that's a fault with the MFT viewer.

From other forums I see that some users report a successful fix after replacing the files in WinSxS and Sytem32 with clean copies. That technique would seem to rely on performing an SFC/ scannow following file replacement as detailed in the above link......

"Later if you were to run ‘SFC /scannow’ Windows would remove the new copy and establish a new hard link using the file that was still stored under WinSxS!."


This seems to confirm what you're saying about replacing the WinSxS copy.
My System SpecsSystem Spec
Reply

 Difficulty replacing a corrupt autochk.exe file




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
autochk.exe corrupt
Hello I started to investigate this issue because scandisk would no longer run at startup. If during boot Repair Windows I run sfc at command prompt I get this message: "there is a system repair pending which requires reboot to complete. restart windows and run sfc again." The restart...
BSOD Help and Support
Difficulty with a .MP3 English file and Voice to text converter
Hello guys, My English teacher has given us two .MP3 files. They are small stories (about something like shadows against the darker shadow) in English language. We should first write a summary about that then translate the whole text into our native language. It is an exercise! If it was a...
Music, Pictures & Video
Replacing missing or corrupt file
I have a desktop pc with Win 7 Home Edition 64bit OS. Recently when i started it all i saw was a black screen and it wouldnt boot up after that. I put my Win install disc into the CD drive and restarted the PC and received the message referred to in some other posts on this thread. It advised that...
BSOD Help and Support
Need to run chkdsk but autochk.exe not found-skipping autochk. but....
Well apparently i have some missing files on my computer because Norton is telling me to run chkdsk. So i go to run it and tell it to start on boot up. When boot up comes up i get the message: autochk not found - skipping autochk so my chkdsk can run because autochk.exe isnt there, but this...
Performance & Maintenance
Corrupt File
After start up, I get a wmpshare.exe is corrupt. How do I fix this file. Thanks for the help.
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:41.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App