Jump to content

How to disable/remove Outlook Express through scripting/reg


preben

Recommended Posts


In theory, this should work, I tested it ;)

remove outlook express.cmd

@echo off
@cls
CMDOW @ /HID

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Outlook Express" /va /f
reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\WAB" /va /f
reg delete "HKEY_CURRENT_USER\Identities" /va /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Outlook Express" /va /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\WAB" /va /f
reg delete "HKEY_LOCAL_MACHINE \Software\Microsoft\Active Setup\Installed Components\{44BBA840-CC51-11CF-AAFA-00AA00B6015C}" /va /f
reg delete "HKEY_LOCAL_MACHINE \Software\Microsoft\Active Setup\Installed Components\{7790769C-0471-11D2-AF11-00C04FA35D02}" /va /f

regsvr32 /s /u Inetcomm.dll
regsvr32 /s /u Msoeacct.dll
regsvr32 /s /u Msoert2.dll
regsvr32 /s /u Msoe.dll
regsvr32 /s /u Msoeres.dll

regsvr32 /s /u Oeimport.dll
regsvr32 /s /u Oemiglib.dll


regsvr32 /s /u Wabfind.dll
regsvr32 /s /u Wabimp.dll

regsvr32 /s /u Csapi3t1.dll
regsvr32 /s /u Directdb.dll
regsvr32 /s /u Wab32.dll
regsvr32 /s /u Wab32res.dll

RD /S /Q "%programfiles%\Outlook Express"
RD /S /Q "%programfiles%\Common Files\Microsoft Shared\Stationery"
RD /S /Q "%allusersprofile%\Local Settings\Application Data\Identities"
RD /S /Q "%userprofile%\Local Settings\Application Data\Identities"
RD /S /Q "%allusersprofile%\Application Data\Identities"
RD /S /Q "%userprofile%\Application Data\Identities"
RD /S /Q "%allusersprofile%\Local Settings\Application Data\Address Book"
RD /S /Q "%userprofile%\Local Settings\Application Data\Address Book"
RD /S /Q "%allusersprofile%\Application Data\Address Book"
RD /S /Q "%userprofile%\Application Data\Address Book"

Some files are in use when you try to mod or delete them but if it's in an unattended setup, it should work.

Edited by T D
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...