Batch Script for removing Internet Explorer 7 from your PC

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.

Internet Explorer 7 Logo

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.

Also read:How-To:Creating Instant Restoration Points in Windows

Productivity: Quick-Log Your Work in a Plain Text File

You can also follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav

Advertisements

2 Responses

  1. […] Currents Within, Winds Without wrote an interesting post today onHere’s a quick excerpt 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 […]

  2. […] Vaibhav Pandey wrote an interesting post today on Batch Script for removing Internet Explorer 7 from your PCHere’s a quick excerptThis 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. … […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: