Two corrupt files in /system32; cant' replace


  1. Posts : 7
    Windows 7Home Premium 64 bit
       #1

    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 Computer

  2.    #2

    Run SFC -SCANNOW Command a few more times. It should repair the files.
      My Computer


  3. Posts : 7
    Windows 7Home Premium 64 bit
    Thread Starter
       #3

    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 Computer

  4.    #4

    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 Computer


  5. TJG
    Posts : 77
    Windows 7 Home Premium 32bits
       #5

    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 Computer


  6. Posts : 7
    Windows 7Home Premium 64 bit
    Thread Starter
       #6

    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 Computer

  7.    #7

    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 Computer


  8. Posts : 7
    Windows 7Home Premium 64 bit
    Thread Starter
       #8

    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 Computer

  9.    #9

    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 Computer


  10. Posts : 7
    Windows 7Home Premium 64 bit
    Thread Starter
       #10

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 02:52.
Find Us