Advertisement
drkbl

Kai Schaetzl's IEREREG-8 Version 1.09

Dec 7th, 2014
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 5.36 KB | None | 0 0
  1. @echo off
  2. echo.
  3. echo IEREREG-8 Version 1.09 for IE8 01.03.2011
  4. REM added OS detection, doing some stuff only for XP
  5. REM IEREREG-8 Version 1.07 for IE8 27.03.2009
  6. echo by Kai Schaetzl http://iefaq.info
  7. echo installs and registers (if suitable) all DLLs known to be used by IE8.
  8. echo should only take a few seconds, but please be patient
  9. echo.
  10. REM ******************************
  11. REM OS detection
  12. ver | find "Version 5" > nul
  13. if %ERRORLEVEL% == 0 goto wxp
  14.  
  15. ver | find "Version 6.0" > nul
  16. if %ERRORLEVEL% == 0 goto wvista
  17.  
  18. ver | find "Version 6.1" > nul
  19. if %ERRORLEVEL% == 0 goto w7
  20.  
  21. REM Winows XP
  22. :wxp
  23. set version=xp
  24. echo Detected Windows XP
  25. goto continue
  26.  
  27. REM Windows Vista
  28. :wvista
  29. set version=vista
  30. echo Detected Windows Vista
  31. goto continue
  32.  
  33. REM Windows 7 or 2008
  34. :w7
  35. set version=w7
  36. echo Detected Windows 7
  37. goto continue
  38.  
  39. :continue
  40. REM ******************************
  41. echo registering IE files
  42. REM IE files (= part of setup)
  43. regsvr32 /s /i browseui.dll
  44. REM regsvr32 /s /i browseui.dll,NI (unnecessary)
  45. regsvr32 /s corpol.dll
  46. regsvr32 /s dxtmsft.dll
  47. regsvr32 /s dxtrans.dll
  48. REM simple HTML Mail API
  49. regsvr32 /s "%ProgramFiles%\internet explorer\hmmapi.dll"
  50. REM group policy snap-in
  51. regsvr32 /s ieaksie.dll
  52. REM smart screen
  53. regsvr32 /s ieapfltr.dll
  54. REM ieak branding
  55. regsvr32 /s iedkcs32.dll
  56. REM dev tools
  57. regsvr32 /s "%ProgramFiles%\internet explorer\iedvtool.dll"
  58. regsvr32 /s iepeers.dll
  59. REM Symptom: IE8 closes immediately on launch, missing from IE7
  60. regsvr32 /s "%ProgramFiles%\internet explorer\ieproxy.dll"
  61. REM no install point anymore
  62. REM regsvr32 /s /i iesetup.dll
  63. REM no reg point anymore
  64. REM regsvr32 /s imgutil.dll
  65. regsvr32 /s /i /n inetcpl.cpl
  66. REM no install point anymore
  67. REM regsvr32 /s /i inseng.dll
  68. regsvr32 /s jscript.dll
  69. REM license manager
  70. regsvr32 /s licmgr10.dll
  71. REM regsvr32 /s msapsspc.dll
  72. REM regsvr32 /s mshta.exe
  73. REM VS debugger
  74. regsvr32 /s msdbg2.dll
  75. REM no install point anymore
  76. REM regsvr32 /s /i mshtml.dll
  77. regsvr32 /s mshtmled.dll
  78. regsvr32 /s msident.dll
  79. REM no reg point anymore
  80. REM regsvr32 /s msrating.dll
  81. REM multimedia timer
  82. regsvr32 /s mstime.dll
  83. REM no install point anymore
  84. REM regsvr32 /s /i occache.dll
  85. REM process debug manager
  86. regsvr32 /s "%ProgramFiles%\internet explorer\pdm.dll"
  87. REM no reg point anymore
  88. REM regsvr32 /s pngfilt.dll
  89. REM regsvr32 /s /i setupwbv.dll (not there anymore!)
  90. regsvr32 /s tdc.ocx
  91. regsvr32 /s /i urlmon.dll
  92. REM regsvr32 /s /i urlmon.dll,NI,HKLM
  93. regsvr32 /s vbscript.dll
  94. REM VML renderer
  95. regsvr32 /s "%CommonProgramFiles%\microsoft shared\vgx\vgx.dll"
  96. REM no install point anymore
  97. REM regsvr32 /s /i webcheck.dll
  98. regsvr32 /s /i /n wininet.dll
  99. REM ******************************
  100. echo registering system files
  101. REM additional system dlls known to be used by IE
  102. REM added 11.05.2006 Symptom: Add-Ons-Manager menu entry is present but nothing happens
  103. regsvr32 /s extmgr.dll
  104. REM added 12.05.2006 Symptom: Javascript links don't work (Robin Walker) .NET hub file
  105. regsvr32 /s mscoree.dll
  106. REM added 23.03.2009 Symptom: Find on this page is blank
  107. regsvr32 /s oleacc.dll
  108. REM added 24.03.2009 Symptom: Printing problems, open in new window
  109. regsvr32 /s ole32.dll
  110. REM mscorier.dll
  111. REM mscories.dll
  112. REM Symptom: open in new tab/window not working
  113. regsvr32 /s actxprxy.dll
  114. regsvr32 /s asctrls.ocx
  115. regsvr32 /s cdfview.dll
  116. regsvr32 /s comcat.dll
  117. regsvr32 /s /i /n comctl32.dll
  118. regsvr32 /s cryptdlg.dll
  119. regsvr32 /s /i /n digest.dll
  120. regsvr32 /s dispex.dll
  121. regsvr32 /s hlink.dll
  122. regsvr32 /s mlang.dll
  123. regsvr32 /s mobsync.dll
  124. regsvr32 /s /i msieftp.dll
  125. REM regsvr32 /s msnsspc.dll #no entry point
  126. regsvr32 /s msr2c.dll
  127. regsvr32 /s msxml.dll
  128. regsvr32 /s oleaut32.dll
  129. REM regsvr32 /s plugin.ocx #no entry point
  130. regsvr32 /s proctexe.ocx
  131. REM plus DllRegisterServerEx ExA ExW ... ?
  132. regsvr32 /s /i scrobj.dll
  133. REM shdocvw.dll hasn't been updated for IE7 and IE8, it still registers itself for the Windows Internet Controls, at least on Windows XP
  134. REM registering shdocvw.dll will fail on Windows 7, anyway, as both entry points were removed
  135. if %version%==xp regsvr32 /s /i shdocvw.dll
  136. if %version%==vista regsvr32 /s /i shdocvw.dll
  137. regsvr32 /s sendmail.dll
  138. REM ******************************
  139. REM PKI/crypto functionality
  140. REM initpki can take very long to run and is rarely a problem
  141. REM if there are problems with crypto, SSL, certificates
  142. REM remove the three following REMs from the lines
  143. REM echo We are almost done except one crypto file
  144. REM echo but this will take very long, be patient!
  145. REM regsvr32 /s /i:A initpki.dll
  146. REM ******************************
  147. REM tabbed browser, do at the end, why originally with /n ?
  148. regsvr32 /s /i ieframe.dll
  149.  
  150. REM do registry bug correction only on XP
  151. if %version%==xp (goto regbug1) else goto noregbugs
  152.  
  153. REM ******************************
  154. :regbug1
  155. echo correcting bugs in the registry
  156. REM do some corrective work
  157. REM Symptom: new tabs page cannot display content because it cannot access the controls (added 27. 3.2009)
  158. REM This is a result of a bug in shdocvw.dll (see above), probably only on Windows XP
  159. reg add "HKCR\TypeLib\{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}\1.1\0\win32" /ve /t REG_SZ /d %systemroot%\system32\ieframe.dll /f
  160. goto exit
  161.  
  162. REM ******************************
  163. :noregbugs
  164. echo not necessary to correct bugs in the registry
  165. goto exit
  166.  
  167. REM ******************************
  168. :exit
  169. echo all tasks have been finished
  170. echo.
  171. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement