Replacing System Files

Page 1 of 2 12 LastLast

  1. Posts : 3,302
    Windows 7 Home Premium x64 SP1
       #1

    Replacing System Files


    Hi Guys
    Im struggling to replace some system files on my notebook.For ages ive been using a folder icon pack i downloaded from deviantart which came with an installer which replaces imageres.dll,imageresp1.dll,shell32.dll and zipfldr.dll in both system32 and systemwow64 in one click.It just runs a bat file reboot and alls done for you.
    I now have some different folder designs i would like to try and have already put then into the copied imageres.dll and shell32.dll files in both locations and there sat on my desktop but i realised i have no idea how to replace the origionals manually.

    Ive tried using system file replacer but get the error "files have already been replaced" and then cant boot and have to use a system restore to get back in.

    What is the correct procedure for replacing these .dll files please.

    Thankyou

    Danny
      My Computer


  2. Posts : 1,036
    Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
       #2

    I personally like the Safe mode with command prompt option to replace system files w/o messing around w/ UAC and permissions.

    Just log into an admin account after booting to safe mode w/ command prompt, type,

    copy <path of file to be copied> <path to where it should be pasted>

    eg, to replace modified shell32.dll file from desktop under c:\windows\system32 folder; type:
    Code:
    copy c:\users\<username>\desktop\shell32.dll c:\windows\system32\shell32.dll
    You'll be asked to overwrite the previous shell32.dll file. To have a backup of original one, type:

    Code:
    ren c:\windows\system32\shell32.dll shell32.dll.bak
      My Computer


  3. Posts : 3,302
    Windows 7 Home Premium x64 SP1
    Thread Starter
       #3

    Hi EzioAuditore

    Well thet seems easier than expected.Do i have to do one at a time with a reboot in between or can i do them all at once(all been 4 2*system 32 and 2*systemwow64).Although ive already backed up these files would like to try the backup command aswell this time do i do this first or in the order you have posted.

    Thankyou

    Danny
      My Computer


  4. Posts : 1,036
    Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
       #4

    For backup, you'll have to use the ren command first and then copy command to copy.

    To copy multiple files, lets assume that the files you wanna copy are all .dll files, then

    copy <directory>\*.dll <directory>

    Code:
    copy c:\users\<username>\desktop\*.dll c:\windows\system32
    I'd advise to do the sys32 ans sys64 separately to avoid confusion.

    And forgot to point, the general syntax for copying multiple files is:

    Code:
    copy file1+file2+file3 <directory>
    Note: If any folder under the directory contains space, wrap the directory inside " ".
      My Computer


  5. Posts : 3,302
    Windows 7 Home Premium x64 SP1
    Thread Starter
       #5

    Thats great thankyou for that will give it a bash now

    Danny
      My Computer


  6. Posts : 1,036
    Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
       #6

    Your welcome. Do post the outcome.
      My Computer


  7. Posts : 3,302
    Windows 7 Home Premium x64 SP1
    Thread Starter
       #7

    Worked great thankyou.Changed them two at a time and rebooted in between.Had to rebuild icon cache and reboot again for all icons to show.

    Danny
      My Computer


  8. Posts : 1,036
    Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
       #8

    I'm glad it worked. And I hope you too now know why its a better way.. No UAC, permission or file is opened in other process dialogs. Just straight copy-paste.
    And for large amount of files, create a batch file and invoke it via cmd. All done within seconds.
      My Computer


  9. Posts : 3,302
    Windows 7 Home Premium x64 SP1
    Thread Starter
       #9

    Yes i would tend to agree. There are lots of programs and apps that advertise been able to do this in one or two clicks but when it goes wrong your stuck with no where to go but a restore.(As happened to me).Sometimes i think people forget the older ways of doing things like cmd lines that have worked for years and assume the newer programs would work better.

    Thankyou again for your help and i learned something new too.
      My Computer


  10. Posts : 1,036
    Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
       #10

    That's the reason I've not used tools like start button changer, theme installer etc when these can be done manually.And yep, you can control almost any aspect of windows if you master command line. I've used it many times to clean (delete malicious files) infected pendrives. A very nice and powerful tool. Now, It'd be nice if you can report your thread to be marked as Solved by the report button besides the scales button. May help others with similar issue. :)
      My Computer


 
Page 1 of 2 12 LastLast

  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 07:04.
Find Us