Greetings Experts. It appears IE9 was installed during our Windows 7 deployment and now I need to remove it. I have researched the heck out of this and found a popular script but I am not sure how to get around the "Operation failed with 0x80070005 Access is denied" error.
I'm running this batch script from an elevated command prompt and also tried /quiet at the end of the script with no luck (obviously).
FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*9.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /norestart >NUL 2>&1" >NUL 2>&1
I tried this briefly as I wasn't getting anywhere with it and just decided to post the question to the web's best collection of wizard like minds.
FOR %%A IN (%WINDIR%\servicing\Packages\Microsoft-Windows-InternetExplorer-*9.*.mum) DO (
echo Uninstalling package %%A
start /wait pkgmgr /up:"%%~fA" /norestart >NUL 2>&1 || start /wait pkgmgr /up:"%%~fA" /norestart >NUL 2>&1
Until I can resolve how to get around the error message popping up, I won't be able to launch the script on the remote pc's (250+). All computers are running Windows 7 Pro in an AD environment. Thanks for your help!