This post will introduce you to a batch script which can be used to uninstall Internet Explorer 7 from your Computer. Follow the steps mentioned below to uninstall Internet Explorer 7 from your PC using a script file.
1.) Open your favorite editor like Textpad, Notepad, Notepadd++ etc.
2.) Copy the script code below and save the file as “TechnofriendsIE7RemovalScript.bat“
REM **********************************************************************
REM Technofriends Script for Uninstalling Internet Explorer 7 from your PC
REM @Author:Vaibhav
REM @Date: 02-May-2008
REM **********************************************************************@echo off
title InternetExplorer7 Uninstaller
color 0E
if exist %windir%\ie7\spuninst\spuninst.exe goto uninstall
if not exist %windir%\ie7\spuninst\spuninst.exe goto end:uninstall
echo IE7 installation available….
echo Uninstalling IE7 from your PC…
echo Please wait, this may take several minutes depending on your computer.
%windir%\ie7\spuninst\spuninst.exe /quiet /norestart
echo IE7 has been uninstalled from your PC.
echo You need to reboot your computer to complete the uninstallation.
echo Internet Explorer will not function correctly unless you reboot.
echo Please save and close any open files!!!!
echo !! Any unsaved data will be lost !!
echo Press Enter to reboot your computer.
pause > nul
shutdown -r -t 15
exit:end
echo IE7 not found.
echo Press Enter to exit from the setup.
pause > nul
exit
3.) Double click the file to uninstall Internet Explorer 7 from your Computer.