Solved

Downgrading from IE11 to IE10 viia batch file

Posted on 2014-01-06
7
9,158 Views
Last Modified: 2014-01-08
I need to downgrade users from IE11 to IE10 and then install the IEtoolkit file that will block future upgrades.  I would like to do this via a batch file.

Please help!
0
Comment
Question by:andreaEdwards
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 30

Expert Comment

by:Sudeep Sharma
ID: 39758974
To uninstall Microsoft Internet Explorer 11, you may use the Windows Update Standalone Installer (Wusa.exe), which can be used to deploy or remove Microsoft patches. Wusa.exe is available in the following Windows operating systems and is located in the %windir%\System32 folder

    Windows Vista
    Windows Server 2008
    Windows 7
    Windows Server 2008 R2
    Windows 8
    Windows Server 2012


The command below will uninstall Internet Explorer 11 silently with auto-reboot

wusa.exe /uninstall /kb:2841134 /quiet

Additional switches are available:

/warnrestart
/forcerestart
/norestart

Type wusa /? in the command prompt for further details.

For blocking IE11 from Installing you can use a simple registry entry, you can use the following command on the remote computer so IE11 would not install.

reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Setup\11.0" /v DoNotAllowIE11 /t REG_DWORD /d 1 /F

Sudeep
0
 
LVL 6

Accepted Solution

by:
donnk earned 500 total points
ID: 39758975
FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*11.*.mum /c “cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet /norestart”
SET /P ANSWER=Do you want to restart (Y/N)?
echo You chose: %ANSWER%
if /i {%ANSWER%}=={y} (goto :yes)
if /i {%ANSWER%}=={yes} (goto :yes)
goto :no
:yes
echo Shutting down in 5 seconds
shutdown.exe /r /t 05 /f

Grab http://www.microsoft.com/en-us/download/details.aspx?id=40722

copy the e11_blocker.cmd to a share and call it.
0
 
LVL 30

Expert Comment

by:Sudeep Sharma
ID: 39759083
@Qlemo,

Fair enough, I agree.

Sudeep
0
 
LVL 54

Expert Comment

by:McKnife
ID: 39762760
> FORFILES is not part of Windows
Oh yes, it is. It is a part of windows on all OS' where windows IE10/11 can be installed.
0
 

Author Closing Comment

by:andreaEdwards
ID: 39765257
Here's what I used:

FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*11.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /norestart"

start "" /wait "c:\IE11_BlockerToolkit.exe"
start "" /wait "c:\sigplus.exe"

SET /P ANSWER=Do you want to restart (Y/N)?
echo You chose: %ANSWER%
if /i {%ANSWER%}=={y} (goto :yes)
if /i {%ANSWER%}=={yes} (goto :yes)
goto :no
:yes
echo Shutting down in 5 seconds
shutdown.exe /r /t 05 /f

It did exactly what I needed it to do and since I didn't use "echo off", I could monitor the progress.

Thank you donnk!
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question