November 22, 201213 yr hellodon't know if its too much to askbut does anyone know to make .bat/.cmd script that would work under both xp and win7that would silently uninstall IE (just like user can from control panel remove it) ?
November 22, 201213 yr Have you looked at using:%systemroot%\ie8\spuninst\spuninst.exeI have no idea if there are switches to make it silent or if it already does it silently.
December 2, 201213 yr Author today I looked on pc that has xp and ie6there was no such file nor any uninstall file in the folder of ie6 :/
December 2, 201213 yr If you want to remove inbox components (like IE6 on XP), you have to use tools like nLite. IE is, in and of itself, not an uninstallable component. You can upgrade it (for example, IE8 on XP from IE6), and you can remove said upgrades, but removing the browser is not natively possible. There are tools (like nLite) available to remove components, but those carry with them the risks of potentially breaking your installation if you go too far, of course.
December 3, 201213 yr Author well I know you can't remove everything as mshtml must staybut when user "removes" ie via cpanel then it removes .exe and whatever is tied with .exethis is what I'm after for Edited December 3, 201213 yr by vinifera
December 3, 201213 yr That can be done on Windows Vista/Server 2008, Windows 7/Server 2008R2, or Windows 8/Server 2012, but not on XP. To do this on XP or 2003, you need nLite.http://support.microsoft.com/kb/957700
December 3, 201213 yr That can be done on Windows Vista/Server 2008, Windows 7/Server 2008R2, or Windows 8/Server 2012, but not on XP. To do this on XP or 2003, you need nLite.http://support.microsoft.com/kb/957700Well, not really.nlite does remove things at installation, not after it.And then if you want a true IE-less XP you could use FdV's (Fred De Vorck) approach/inf's, etc.To clarify, these methods "prevent install", do not "uninstall".Possibly the Commercial XPlite would do "after install".jaclaz
December 3, 201213 yr Author and simple removing the exe would be damaging to OS ?(under condition PC doesn't use win updates) ?
December 3, 201213 yr I'm afraid you can't just remove it. It will probably come back after restart from the dll cache. fdv's approach that jaclaz mentioned of removing ie, but not removing the ie core (needed for other things) is probably the best.http://www.vorck.com/windows/
December 30, 201213 yr Author but isn't the OS shell core more from shell32.dll explorer.exe and mshtml.dll ?and not the ie.exe itself ?
December 30, 201213 yr Don't remove any Internet Explorer files because various Windows components and third-party applications rely upon Internet Explorer code.Here is a batch script to uninstall it over the control panel (Tested on WinXP):@ECHO OFFECHO.ECHO Uninstalling Internet Explorer...SET WC="%Temp%\WC_Uninstall_Config.txt"ECHO [components]> %WC%ECHO IEAccess = Off>> %WC%sysocmgr /i:"%WINDIR%\inf\sysoc.inf" /u:"%Temp%\WC_Uninstall_Config.txt"DEL "%Temp%\WC_Uninstall_Config.txt"ECHO DonepauseEXIThttp://itk.samfundet.no/dok-filer/ms-xp-sp2-deployment-ref/u_components.htm Edited December 30, 201213 yr by Outbreaker
December 30, 201213 yr As above, just shortened:@(ECHO/[Components]&ECHO/IEAccess=off)>"%TEMP%\_$.TXT"@SYSOCMGR /i:"%SYSTEMROOT%\INF\SYSOC.INF" /u:"%TEMP%\_$.TXT"@DEL "%TEMP%\_$.TXT"Remember that this doesn't remove IE just removes the default visible 'shortcuts' to it.If sysocmgr only parses specific sections of the answer file, the following script which doesn't write to a file may prove useful:@SYSOCMGR /i:"%SYSTEMROOT%\INF\SYSOC.INF" /u:%0@GOTO :EOF[Components]IEAccess=off
December 30, 201213 yr You're probably better off either using FDV's files or just removing all shortcuts to ie.exe. Regardless of MS's assurances to the contrary, I believe that IE ended up so deeply embedded in the OS, and then being depended on by other third-party apps, that trying to just hack it out could end up causing you problems down the road depending on what other software you end up running in the future. Just a thought.Cheers and Regards
Create an account or sign in to comment