Uninstall IE 11 with script - fail with no error
The following script works just fine if it is ran from cmd, but not as a KACE script. The CMD line flashes and it looks like the packages is uninstalled but no change has been made to the system. After at restart, IE 11 i still installed. The log file says the script was run successfully.
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"
Any advice is appreciated