2006年 05月 18日
Outlook Express を削除したい。
コンピュータをセーフモードで立ち上げて、次のコマンドをバッチファイルで実行すれば容易に削除できます。
-参考-
http://ebisukenta.jp/w2koe.html
@echo off
:DEL_OE5
rem -- delete files --
echo deleting Outlook Express 5...
del "%systemroot%\system32\inetcomm.dll"
del "%systemroot%\system32\msoeacct.dll"
del "%systemroot%\system32\msoert2.dll"
del "%programfiles%\Outlook Express\msoe.dll"
del "%programfiles%\Outlook Express\msoeres.dll"
del "%programfiles%\Outlook Express\msimn.exe"
del "%programfiles%\Outlook Express\oeimport.dll"
del "%programfiles%\Outlook Express\oemiglib.dll"
del "%programfiles%\Outlook Express\oemig50.exe"
del "%programfiles%\Outlook Express\setup50.exe"
del "%programfiles%\Outlook Express\wab.exe"
del "%programfiles%\Outlook Express\wabfind.dll"
del "%programfiles%\Outlook Express\wabimp.dll"
del "%programfiles%\Outlook Express\wabmig.exe"
del "%programfiles%\Outlook Express\csapi3t1.dll"
del "%programfiles%\Outlook Express\msoe.txt"
del "%CommonProgramFiles%\System\directdb.dll"
del "%CommonProgramFiles%\System\wab32.dll"
del "%CommonProgramFiles%\System\wab32res.dll"
rem -- delete folders --
del /q "%appdata%\Identities"
del /q "%appdata%\Microsoft\Address Book"
del /q "%CommonProgramFiles%\Microsoft Shared\Stationery"
rem -- delete registry key --
echo REGEDIT4 > deloe5.reg
echo ; >> deloe5.reg
echo [-HKEY_LOCAL_MACHINE\Software\Microsoft\Outlook Express] >> deloe5.reg
echo [-HKEY_LOCAL_MACHINE\Software\Microsoft\WAB] >> deloe5.reg
echo [-HKEY_CURRENT_USER\Identities] >> deloe5.reg
echo [-HKEY_CURRENT_USER\Software\Microsoft\Outlook Express] >> deloe5.reg
echo [-HKEY_CURRENT_USER\Software\Microsoft\WAB] >> deloe5.reg
echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA842-CC51-11CF-AAFA-00AA00B6015B}/StubPath] >> deloe5.reg
echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{7790769C-0471-11d2-AF11-00C04FA35D02}/StubPath] >> deloe5.reg
regedit -s deloe5.reg
del deloe5.reg
rem -- delete dllcache --
echo これ以降は「見つかりませんでした」が出ても正常です。
del "%systemroot%\system32\dllcache\inetcomm.dll"
del "%systemroot%\system32\dllcache\msoeacct.dll"
del "%systemroot%\system32\dllcache\msoert2.dll"
del "%systemroot%\system32\dllcache\directdb.dll"
del "%systemroot%\system32\dllcache\wab32.dll"
del "%systemroot%\system32\dllcache\wab32res.dll"
del "%systemroot%\system32\dllcache\msoe.dll"
del "%systemroot%\system32\dllcache\msoeres.dll"
del "%systemroot%\system32\dllcache\msimn.exe"
del "%systemroot%\system32\dllcache\oeimport.dll"
del "%systemroot%\system32\dllcache\oemiglib.dll"
del "%systemroot%\system32\dllcache\oemig50.exe"
del "%systemroot%\system32\dllcache\setup50.exe"
del "%systemroot%\system32\dllcache\wab.exe"
del "%systemroot%\system32\dllcache\wabfind.dll"
del "%systemroot%\system32\dllcache\wabimp.dll"
del "%systemroot%\system32\dllcache\wabmig.exe"
del "%systemroot%\system32\dllcache\csapi3t1.dll"
echo .
echo -------------------------------------------------
echo Outlook Express のアンインストールが完了しました。
echo コンピュータを再起動してください。
echo -------------------------------------------------
echo .
PAUSE