I want to disable EOL IE on a windows server 2008 SP2 (non R2), i run the below command :
"dism /online /Disable-Feature /FeatureName:Internet-Explorer-Optional-amd64"
When running the command I get the error message " dism" is not recognized as an internal or external command"
I wonder if dism is available to run it on a windows server 2008 SP2 (non R2) or if there is any other way to disable the IE feature on this server.
There might be Dism.exe is missing in your computer. You can follow the steps below to fix the issue:
%systemroot%\system32in Windows search bar. Then click the folder in the search results.%systemroot%\system32, you can type Environment Variables in Windows search bar and click the search result to open it. Then make sure%systemroot%\system32is in Path.%systemroot%\system32, you can run this commandSFC /SCANNOWat an elevated command prompt. When the SFC command completes, it may report that “Windows Resource Protection did not find any integrity violation”. Or that it found and replaced corrupt file. It may also report that it found corrupt files but could not fix the problem.DISM.exe /Online /Cleanup-Image /Restorehealth.