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: Replacing System Files


14 Feb 2011   #1

Windows 7 Home Premium x64 SP1
 
 
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 System SpecsSystem Spec
.

14 Feb 2011   #2

Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
 
 

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 System SpecsSystem Spec
14 Feb 2011   #3

Windows 7 Home Premium x64 SP1
 
 

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 System SpecsSystem Spec
.


14 Feb 2011   #4

Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
 
 

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 System SpecsSystem Spec
14 Feb 2011   #5

Windows 7 Home Premium x64 SP1
 
 

Thats great thankyou for that will give it a bash now

Danny
My System SpecsSystem Spec
14 Feb 2011   #6

Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
 
 

Your welcome. Do post the outcome.
My System SpecsSystem Spec
14 Feb 2011   #7

Windows 7 Home Premium x64 SP1
 
 

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 System SpecsSystem Spec
14 Feb 2011   #8

Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
 
 

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 System SpecsSystem Spec
14 Feb 2011   #9

Windows 7 Home Premium x64 SP1
 
 

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 System SpecsSystem Spec
14 Feb 2011   #10

Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
 
 

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 System SpecsSystem Spec
Reply

 Replacing System Files




Thread Tools




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 05:02 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33