Jump to content


learningmode

Uninstall IE10 via Command Line Packaging

Recommended Posts

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!

Share this post


Link to post
Share on other sites


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

Share this post


Link to post
Share on other sites

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,

Share this post


Link to post
Share on other sites

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 

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...