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: Two corrupt files in /system32; cant' replace

27 Jun 2012   #1
Steve2Q

Windows 7Home Premium 64 bit
 
 
Two corrupt files in /system32; cant' replace

Hello; I am new to sevenforums.com and this is my 1st post (hope it is in the right place). Here is the problem: I had a SMART drive error, so I performed a backup and image before the drive failed. I replaced the drive, put the image onto the new drive, and everything appears OK with 1 exception: when I try to open a command prompt, I get an error message. I ran FC \scannow, which told me I had two corrupt files: cmd.exe and elsTrans.dll. When I looked at /system32, both files have a size of 0 bytes. I then looked at the image and the files had size values, so I copied them to the desktop. When I click on the desktop cmd.exe file the command prompt opens, so I then tried to copy them into /system32, and cannot do it. I did try reading and following similar posts in the forums,but so far, no luck. Any help would ne greatly appreciated. Thanks, Steve


My System SpecsSystem Spec
.

27 Jun 2012   #2
gregrocker
Microsoft MVP

 

Run SFC -SCANNOW Command a few more times. It should repair the files.
My System SpecsSystem Spec
27 Jun 2012   #3
Steve2Q

Windows 7Home Premium 64 bit
 
 

Greg: tried running SFC /SCANNOW 4 times, but each time it says that the files cannot be repaired. Is there a way I can copy the good files on my desktop to the /system32 directory??

Steve
My System SpecsSystem Spec
.


27 Jun 2012   #4
gregrocker
Microsoft MVP

 

If SFC cannot repair files then the next step is a Repair Install.

It is likely not just a matter of replacing corrupt files with good copies because SFC could do that.
My System SpecsSystem Spec
28 Jun 2012   #5
TJG

Windows 7 Home Premium 32bits
 
 

I,m probably to late here, but I usually boot with a repair or installer disk to get to a command prompt and run notepad.
Set notepad to view all files and it usually works.

TJG
My System SpecsSystem Spec
28 Jun 2012   #6
Steve2Q

Windows 7Home Premium 64 bit
 
 

Thanks TJG, I will give that a try after I download the ISO (I am NJ for the summer, and my disks are in Florida).

Gregrocker, thank you too for your suggestions. I think the repair install is the way to go, but I still wonder why I can't just copy the two good files into the /sysem32 folder. I know this is a good way to screw things up if not done correctly in the system files, but I still would like to know how to change permissions if I want to do something like that in the future. Is there a good reference on how to change permissions?

Thanks, Steve
My System SpecsSystem Spec
28 Jun 2012   #7
gregrocker
Microsoft MVP

 

You can try copying the files in from DVD/Repair CD command line. I don't believe there are any permissioning issues then since the OS is inert, unlike using the Command line from Windows.
My System SpecsSystem Spec
28 Jun 2012   #8
Steve2Q

Windows 7Home Premium 64 bit
 
 

Greg: thanks for the suggestion. I made a repair disk, but that did not solve the problem. I did a bit more research, and found a step-by-step tutorial in how to change permissions in system32 and replace the files; took 5 minutes. If anyone is interested, the site is: windows7themes.net

Thanks again, Steve
My System SpecsSystem Spec
28 Jun 2012   #9
gregrocker
Microsoft MVP

 

Thanks, Steve, for reporting back on what worked.

Do you have a link to the actual tutorial which helped you so we can look it over and bookmark it?
My System SpecsSystem Spec
29 Jun 2012   #10
Steve2Q

Windows 7Home Premium 64 bit
 
 

Greg: here is the link to the page I used to change the /system32 permissions. I used technique #2, substituting the names of the files I wanted to replace for explorer.exe as used in the example.


How to replace Explorer.exe in Windows 7?


Hope you find it useful.

Steve
My System SpecsSystem Spec
Reply

 Two corrupt files in /system32; cant' replace




Thread Tools





Similar help and support threads
Thread Forum
File: \Windows\system32\winload.exe missing or corrupt
I'm trying to repair my cousin's laptop. It's lenovo X120e Windows 7. I think it's 32-bit version of windows. The laptop is a netbook so there is no cd/dvd drive so I'm loading the Windows 7 disks through flash drive or usb method to use the Windows 7 repair. I tried using the startup repair but it...
BSOD Help and Support
System32 Corrupt
I tried to install a Theme last night and I did something wrong I believe it has something to do with my explorer.exe. Anyway when I my computer started it shows a black screen, I didn't get any error though. I had to manually run explorer.exe with task mananger. Now when I tried to 'Optimize' my...
General Discussion
System Repair repeat loop - Corrupt System32 Driver (no luck with CMD)
Hi, At my wits end now with this - unable to boot into Windows at all (even safe mode etc), and Windows recovery/repair and restore all fail in aiding a boot. I've been through everywhere looking for a solution, and tried countless methods with no luck. I'll explain what I've tried after...
General Discussion
Can I Replace Corrupt Windows 7 Pro System Files?
I apologize for this long post but I wanted to give all of the information. I am using Windows 7 Professional SP1 32 bit on a desktop machine. I run ESET NOD32 Anti-virus 5.0 and Comodo Free Firewall in the background. I do a weekly manual scan with Malwarebytes Anti-Malware and Super...
General Discussion
Replace Corrupt MUI
In the case of sfc /scannow CBS.log showing there are corrupt files and the MUI is also corrupt, where do we get hold of clean MUIs and where do we put them when we've found them? I've tried searching on my Win 7 dvd with no luck. It would obviously be preferable to replace the corrupt MUI rather...
Performance & Maintenance
How to replace missing or corrupt files
For sometime now I have had the problem of adding programs to the startup folder in Windows 7. While searching the net I ran across an article "Easily Add Programs to Windows 7 Startup Folders". That caught eye immediately. The article shows you a easy way to add programs to the Windows startup...
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 08:12.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App