Re-Register all DLL’s to fix “No such interface supported” error in windows 7 after installing IE7 Standalone
Re-Register all DLL’s to fix “No such interface supported” error in windows 7 after installing IE7 Standalone
Disclaimer: All care No Responsibility. you follow the instructions provided at your own risk. I take no responsibility any damage you may cause. Please read the article in full before starting
To test some website stuff I tried to install IE7 on my windows 7 machine. now I cant run explorer for browsing files or accessing control panel and the like. I found an old guide for re-registering all your dll’s that I thought was quite nifty so I thought I woukld re-share it with you. (up-dated from windows 98)
The original instructions basically get you to dump all DLL files into notepad, then do a find and replace to regsvr32 them all. if you do it from c:\ like it suggests, you might get more than you need. including dll files from the recycle bin.
this fixed my problem. and I think its worth trying this way before doing it for every file on your computer.
I am going to assume your windows installation is on C:\ and in C:\ windows
1. open command promt as an administrator (You may need to find it in accessories, right click it and run as administrator if you are having issues with security rights)
2. type
CD C:\WINDOWS
(and C:\ if you werent on that drive by default)
3. type Dir *.dll /s /b > c:\regdll.bat
This will search for all dll files within c:\windows (including /subdirectories) and output them (in /bare format) into a text file on the c:\ called regdll.bat
you cant run it just yet because its just a list of files, we need to change it so that its actually got a command. open the file in your prefered text editor (notepad) and do a replace on c:\ , replacing it with Regsvr32.exe /s c:\
This is what your file should look like.

Now. before trying to run the file. I highly recommend you scrolldown until you find $patchcache$ and WinSXS folders and deleting all the references to the files within those directories in the file. (dont delete them off your computer) Leaving them in will excruciatingly increase the time to do this and very likely stuff lots up. Also John Crenshaw mentions: You probably also want to delete any lines for the temp folder, if any, since registering a DLL that may not exist later is probably not an awesome idea.

Once this is done. Save the file and run it. If you still have your command prompt as administrator open, just type c:\regdll.bat
This will register all dll files in c:\windows and subdirectories. This will take some time, (Potentially, also register files that would not normally be registered by default, (like files in $patchcache$ and other windows directories if you did not remove them). It worked for me and I dont need to do a reinstall
You will get errors. just click ok.

#1 by Kenji_PL on October 30, 2010 - 2:44 pm
It was healpfull. I found lots of sites with similiar content. Probably this problem do not involve only instaling IE7. After i installed my win7 x64 i removed IE from my system and deleted all folders in Program Files (and in (x86)) and never installed any patch for IE or newer IE.
This bug simply somehow appeard and i didn’t noticed when (i wanted to change theam of my desktop and RMB on it -> “Personalize” -> No souch interface blabla error).
Few bugs in article: missing “\” after c:
Some addidional advices: If someone is using 64-bit version of win7 i recomend to delete most entries with “System32″, not including “driver” in name. 64-bit system do not usually use 32-bit .dll so why bother.
.NET Framework .dll’s could be excluded too, becouse there are lot of them and 100% don’t couse this error.
But overall great article, hope that people on msdn forums would give souch advices, not something like: go back to restor point or some other useless advices not resolving problem.
#2 by Philip on November 19, 2010 - 12:40 am
I’m from Brazil, you saved my files and my life.
Thank you very much!
#3 by Guy on November 26, 2010 - 6:36 am
It really does work EXPLORER.EXE is now fine….. just be sure to check that you do the replace in the file
I almost skipped that part
#4 by dänu on January 1, 2011 - 3:05 pm
yep.. saved my ass
can be done via the developer tools.
“Emulating” IE7 (+
thanks mate.
#5 by Christian on January 4, 2011 - 3:12 am
Thank you very much!!!!
#6 by Hossein Moradi on January 4, 2011 - 6:07 am
Thanks
It was really helpful
#7 by Jp on January 10, 2011 - 3:12 pm
Thank you mate. It was really really helpful.
#8 by Chiranjeev Thakur on January 21, 2011 - 7:17 am
Thanks a lot…it worked thnxxx
#9 by Lucas on February 12, 2011 - 6:53 pm
Thank you soo much it worked perfectly!
#10 by Syed Mohammad Ali on February 18, 2011 - 7:23 am
Thanks a bunch. You really save my time .
Issue resolved
#11 by Keith on March 17, 2011 - 7:59 pm
Ie 9 release, Windows 7 Ultimate
After installing 9 I got the error stated above, your fix did the trick. Thanks A Bunch
#12 by Roman on March 24, 2011 - 11:37 am
Great job!
I tried several solutions like here:
http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/99e4ab4f-165d-4691-90dd-ab41a05d26a2/
or this: http://www.blogduell.de/windows-7-und-internet-explorer-7/
but your`s was the only working way!
THX a lot!!!
#13 by Vince on April 15, 2011 - 1:53 pm
Thanks. It worked !!! That’s really good, saved alot of time.
#14 by johns w. on April 20, 2011 - 7:39 am
Excellent. It’s working. Thank you a lot. This is lifesaving…lol!
johns w.
#15 by Chuck on April 27, 2011 - 6:15 am
I was having the same issues as everyone and this method has resolved the problem. Thanks!
#16 by Alberto on April 28, 2011 - 3:18 am
hey, i have that problem but in my computer appear that is not exists! So what else i can do?
#17 by Nathan on November 21, 2011 - 3:54 pm
Just wanted to post a quick “thank you!” – this little tutorial saved my ass. Thanks!
#18 by Levi on November 26, 2011 - 3:02 am
Dude, you rock. This worked great! Thanks!
#19 by Elie on November 26, 2011 - 12:56 pm
IT WORKED!!!!!!!!!!!!!!!!!!!!!
THANK YOU – THANK YOU – THANK YOU!
#20 by John on November 30, 2011 - 9:55 am
Am always in awe of those that give their time and knowledge to help others with computer problems
#21 by Warhead on December 14, 2011 - 1:40 pm
Thanks for this solution. Too bad MS doesn’t have one
It’s a bit draconic, but great find!
#22 by Reid on December 15, 2011 - 4:34 pm
works like magic!!!!!!! great job mate!
#23 by RR on December 15, 2011 - 6:34 pm
excellent
#24 by Jenelle on January 2, 2012 - 5:55 am
Thank you!
It worked like a charm.
#25 by problem on January 3, 2012 - 12:46 am
after type Dir *.dll /s /b > c:\regdll.bat
and must wait regdll.bat – notepad open right?
why my notepad not open?
#26 by pyrocam on January 3, 2012 - 4:43 am
sorry what?
#27 by Barry on February 2, 2012 - 6:41 pm
I followed the directions and the file ran but stopped when it hit MaxxAudioRealtek2.dll and has been there for close to 45 minutes. Should I assume that there is an issue?
#28 by AMJAD on February 4, 2012 - 10:49 am
THANK YOU VERY MUCH I LOVE YOU ….
oh god i was so worried
but chars to you
#29 by Hula on February 7, 2012 - 10:33 pm
You are a lifesaver dude! Many thanks!
#30 by amin on February 11, 2012 - 6:20 pm
when I typed Dir *.dll /s /b > c:\regdll.bat
AND
Dir .dll /s /b > c:\regdll.bat
it said:”file not foumd”
#31 by Ivan on February 21, 2012 - 11:00 am
Thanks a lot! You have deserved a cold beer in Serbia!
#32 by pyrocam on February 23, 2012 - 7:06 am
are you doing this in the directory with the dll files?
#33 by Rangga Permana on February 23, 2012 - 11:20 pm
Hi there,
I rarely left a comment in a blog post, but this article saved my day. There is a lot of similar tutorial out there in the internet, but I find this article is the easiest to read and follow.
Again, thanks!
Rangga
#34 by johniculusus on February 28, 2012 - 4:27 am
Should have not inform them to delete all the files in the directory:
“$patchcache$ and WinSXS folders and deleting all the files in there”.
#35 by pyrocam on February 28, 2012 - 4:45 am
I dont ask people to delete the files, just remove them from the text file. But I can see how some might misunderstand. I have changed the wording.
Cheers
#36 by johniculusus on February 28, 2012 - 5:23 am
Nice blog by the way.
TO ALL: For the info
Regards,
John Angelo
#37 by DS on February 29, 2012 - 10:07 am
Fantastic info. Thanks very much.
#38 by Horus on March 22, 2012 - 6:36 pm
Really worked. It solved two issues one was “No such interface supported” and second was that I could not open my computer’s properties with right mouse click
#39 by gan on March 28, 2012 - 6:50 pm
Excellent post. Your efforts are really appreciated. I thought of re-installing my Windows 7. You saved my time. Great job again.
#40 by KevinM on March 29, 2012 - 2:06 pm
Great post. Keep Up the great work..!!!!!!!
Thanx m8
#41 by jacko on April 6, 2012 - 9:54 am
I am kinda new at this stuff -so would you mind emailing me (embarrasing) and giving just a little more detail..if not, that is ok too…That is if I can get to my email…….thanks, Jackie
#42 by Dave on April 19, 2012 - 2:43 am
Awesome page! Worked like a charm first time!
#43 by mehran on April 22, 2012 - 3:21 am
after typ Dir *.dll /s /b > c:\regdll.bat
show: access is denied.
pls help me.
#44 by Fahid Mohammad on April 22, 2012 - 7:50 am
Thanks a lot bro
#45 by test on April 22, 2012 - 10:39 pm
Hi, are you running the command prompt as an administrator (specifically, right click, run as administrator)
#46 by Charles Helvey on April 26, 2012 - 1:52 pm
Instead of doing the file and the find / replace, you can:
This is the command for use in the command prompt:
for /f %a in (‘dir /b/s c:\windows\*.dll’) do regsvr32 /s %a
This is the command for use in a batch file:
for /f %%a in (‘dir /b/s c:\windows\*.dll’) do regsvr32 /s %%a
The dir /b/s will produce a list of all dll files with paths. For example, c:\windows\file.dll or c:\windows\system32\file.dll. The single quote marks around the command tell for/f that you want the output of a command, not a file.
The %a variable gets each file name in turn from the dir command’s output.
regsvr32 /s – the /s silently registers, so you won’t have to click OK a million times.
In w7 or vista the command prompt should be run as administrator.
#47 by pyrocam on April 26, 2012 - 11:09 pm
Whilst this might work, it does not give you the opportunity to remove the $patchcache$ and WinSXS dll files which you DON’T want to register
#48 by Erik on April 27, 2012 - 12:34 pm
Thanks pyrocam for all this! Unfortunately, didn’t seem to work for me. I noticed you seemed more emphatic in previous post regarding: “$patchcache$ and WinSXS dll files which you DON’T want to register.” I DID NOT remove those from text file (probably why it took so long to run). SHOULD I REMOVE THEM AND TRY AGAIN? If so, please forgive my amateur question, but how can I remove many lines in text file without painfully slow scrolling? Thanks!
#49 by pyrocam on April 27, 2012 - 6:21 pm
It’s worth trying
to select large areas you can use shift + pagedown, or left click at the start, move the scrollbar to where it ends, hold shift and left click where it ends.
Good luck
#50 by rush on April 28, 2012 - 7:07 am
me 2 please coz I don’t get it though I follow da instrutions… pls in real trouble here…the email is xxxxxxxxxxxxxxxxx
#51 by John Crenshaw on April 28, 2012 - 7:56 pm
These instructions are epic. You probably also want to delete any lines for the temp folder, if any, since registering a DLL that may not exist later is probably not an awesome idea.
#52 by pyrocam on April 28, 2012 - 11:16 pm
Sorry this is not something I have time to do. also you probably shouldnt post your email address in comments unless you want to receive spam
#53 by pyrocam on April 28, 2012 - 11:17 pm
Good call
#54 by Lwo on April 29, 2012 - 1:39 am
KICK ASS!!!!! Thanks a bunch
#55 by rush on May 5, 2012 - 10:33 am
this saved me!!!! thnx nyway nd thnx charle
#56 by Matt on May 8, 2012 - 7:49 am
THAAANK YOOU SOO MUUUCH! i had been without explorer and control panel and a few other features/programs because i accidently deleted some system files on regedit :l that was never a good idea. But after this, which was really simple (seriously im 14 and no good with this area of computers) and i got it all back! thanks again!