Skip to content

Uninstall IE10 via Command Line Packaging

Featured Replies

Hi all,

 

I have made a collection of client machines with IE10 installed. Long story on how they got it installed but the clients machines got unmanaged. I created a Package to target this collection and used what I found on the net.

 

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

 

This works when I run it directly on test machine, but when I deploy the package it does not seem to initiate the batch. Although when I check monitoring, it shows success 100% and looked in "ccmcache" and do see the folder gets created with the batch. Also, the log file "exemgr" shows it has uninstalled successfully.

 

 

Any ideas or know of a way to workaround this?

 

 

Thanks!

  • Author

Okay guys... so for some reason this will not work in Package. I Created a Task Sequence as Custom and Command Line alone, that did the Trick! Got me out of the hole on this since I was the cause of IE10 getting installed on 2000+ clients. oops :o

  • 1 month later...
  • Author

Okay.. I am raising this issue again... I am now doing this in a 07 environment and neither method works for me. Is there something in the 07 that is different for running from Task Sequence? Also, side issue... when I do push from a package, what cause it to not run on the client machine? It does get pushed down to the Cache folder....

 

 

Thanks,

  • 1 year later...

Here is my script to not allow IE10 to install and a line to remove it if already installed

REG ADD "HKLM\SOFTWARE\Microsoft\Internet Explorer\Setup\10.0" /v "DoNotAllowIE10" /t REG_DWORD /d 1 /f
wusa.exe /uninstall /quiet /norestart /KB:2718695 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.