Forum Discussion
JoseCastillo1955
Aug 14, 2024Copper Contributor
Can I delete Internet Folder (x86) and Internet folders from W11?
IT Security department requested to delete the folders from all workstations. I can't find any articles about this subject. Many thanks in advance if you can point me in the right direction.
IT Security department referred to the below article
Windows 11 is deleting Internet Explorer - The Verge
They want the folders removed from the C drive. I told them it wasn't possible
C:\Program Files\Internet Explorer
C:\Program Files (x86)\Internet Explorer
- JoseCastillo1955Copper Contributor
the command below removed the folders. It has been one week and I have not seen any issue on my W11 enterprise OS. 23h2
# Take ownership of the folder
takeown /F "C:\Program Files\Internet Explorer" /R /D Y
takeown /F "C:\Program Files (X86)\Internet Explorer" /R /D Y
# Grant yourself full control
icacls "C:\Program Files\Internet Explorer" /grant "$(whoami):(F)" /T
icacls "C:\Program Files (X86)\Internet Explorer" /grant "$(whoami):(F)" /T
Remove-Item -Path "C:\Program Files\Internet Explorer" -Recurse -Force
Remove-Item -Path "C:\Program Files (X86)\Internet Explorer" -Recurse -Force