<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" >
<channel>
	<title><![CDATA[IoChatto: Cancellare INETCACHE da PowerShell]]></title>
	<link>https://www.iochatto.it/blog/view/131731/cancellare-inetcache-da-powershell</link>
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://www.iochatto.it/blog/view/131731/cancellare-inetcache-da-powershell</guid>
	<pubDate>Sun, 10 May 2026 10:43:13 +0200</pubDate>
	<link>https://www.iochatto.it/blog/view/131731/cancellare-inetcache-da-powershell</link>
	<title><![CDATA[Cancellare INETCACHE da PowerShell]]></title>
	<description><![CDATA[<p><span>La cartella </span><span>INetCache</span><span> (situata in </span><code dir="ltr">AppData\Local\Microsoft\Windows\INetCache</code><span>) </span><span>contiene i file temporanei di Internet Explorer e di molti altri componenti di sistema Windows</span><span>. Memorizza cache web, immagini e file per velocizzare la navigazione.</span></p>
<p>In realt&agrave; questa cartella, vuoi per possibili file corrotti e/o per mille altri motivi, tende a rallentare e avolte bloccare la navigazione e l'utillizzo di alcuni programmi di Windows.</p>
<p>Per farlo basta aprire POWERSEHELL da amministratore e fare&nbsp; Copia / Incolla dei comandi che trovate qui sotto:</p>
<hr>
<p># Cancella la cache INETCACHE By MSNI.it<br>Write-Host -ForegroundColor yellow "#######################################################"<br>""<br>Write-Host -ForegroundColor Green "Powershell commands to delete cache &amp; cookies in Firefox, Chrome &amp; IE browsers"<br>Write-Host -ForegroundColor Green "Released by Msni.it"<br>Write-Host -ForegroundColor Green "VERSION: 3"<br>""<br>Write-Host -ForegroundColor yellow "#######################################################"<br>""<br>Write-Host -ForegroundColor Green "CHANGE_LOG:<br>v2.4: - Resolved *.default issue, issue was with the file path name not with *.default, but issue resolved<br>v2.3: - Added Cache2 to Mozilla directories but found that *.default is not working<br>v2.2: - Added Cyan colour to verbose output<br>v2.1: - Added the location 'C:\Windows\Temp\*' and 'C:\`$recycle.bin\'<br>v2: - Changed the retrieval of user list to dir the c:\users folder and export to csv<br>v1: - Compiled script"<br>""<br>Write-Host -ForegroundColor yellow "#######################################################"<br>""<br>#########################<br>"-------------------"<br>Write-Host -ForegroundColor Green "SECTION 1: Getting the list of users"<br>"-------------------"<br># Write Information to the screen<br>Write-Host -ForegroundColor yellow "Exporting the list of users to c:\users\%username%\users.csv"<br># List the users in c:\users and export to the local profile for calling later<br>dir C:\Users | select Name | Export-Csv -Path C:\users\$env:USERNAME\users.csv -NoTypeInformation<br>$list=Test-Path C:\users\$env:USERNAME\users.csv<br>""<br>#########################<br>"-------------------"<br>Write-Host -ForegroundColor Green "SECTION 2: Beginning Script..."<br>"-------------------"<br>if ($list) {<br>"-------------------"<br># Clear Internet Explorer<br>Write-Host -ForegroundColor Green "SECTION 5: Clearing Internet Explorer Caches"<br>"-------------------"<br>Write-Host -ForegroundColor yellow "Clearing Google caches"<br>Write-Host -ForegroundColor cyan<br>Import-CSV -Path C:\users\$env:USERNAME\users.csv | foreach {<br>Remove-Item -path "C:\Users\$($_.Name)\AppData\Local\Microsoft\Windows\INetCache\*.*" -Recurse -Force -EA SilentlyContinue -Verbose<br>Remove-Item -path "C:\Users\$($_.Name)\AppData\Local\Microsoft\Windows\WER\*" -Recurse -Force -EA SilentlyContinue -Verbose<br>Remove-Item -path "C:\Users\$($_.Name)\AppData\Local\Temp\*" -Recurse -Force -EA SilentlyContinue -Verbose<br>Remove-Item -path "C:\Windows\Temp\*" -Recurse -Force -EA SilentlyContinue -Verbose<br>Remove-Item -path "C:\`$recycle.bin\" -Recurse -Force -EA SilentlyContinue -Verbose<br>}</p>
<p>Write-Host -ForegroundColor yellow "Tutto Fatto by MSNI.it"<br>""<br>Write-Host -ForegroundColor Green "All Tasks Done by MSNI.it"<br>} else {<br>Write-Host -ForegroundColor Yellow "Session Cancelled"<br>Exit<br>}</p>
<hr>
<p>&nbsp;La cartella stessa potrebbe infine contenere Malware o Trojan, che in questo modo verranno eliminati<br><br><br><img src="https://howtoremove.guide/wp-content/uploads/2020/08/INetCache-trojan.png" alt="inetcache" width="500" style="border: 0px; border: 0px; "></p>
]]></description>
	<dc:creator>Tony Billow</dc:creator>
</item>

</channel>
</rss>