andreaEdwards
asked on
Downgrading from IE11 to IE10 viia batch file
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!
Please help!
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
@Qlemo,
Fair enough, I agree.
Sudeep
Fair enough, I agree.
Sudeep
> 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.
Oh yes, it is. It is a part of windows on all OS' where windows IE10/11 can be installed.
ASKER
Here's what I used:
FORFILES /P %WINDIR%\servicing\Package s /M Microsoft-Windows-Internet Explorer-* 11.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /norestart"
start "" /wait "c:\IE11_BlockerToolkit.ex e"
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!
FORFILES /P %WINDIR%\servicing\Package
start "" /wait "c:\IE11_BlockerToolkit.ex
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!
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\I
Sudeep