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 Secu...
JoseCastillo1955
Aug 28, 2024Copper 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