Skip to main content

SharePoint Frontend-Server: Systemlaufwerk läuft voll

Kürzlich bemerkte ich auf einem SharePoint 2013 Frontend-Server, dass das Systemlaufwerk (C:) voll läuft – nur noch wenige MB waren frei.

Mittels TreeView hat sich herausgestellt, dass im Ordner

C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\IE

gigabyteweise Daten liegen.

Warum?

Auf dem Server läuft das SPBestWarmUp-Script um die SharePoint Sites aufzuwecken. Doch offenbar sind dort die falschen Pfade für das leeren des Caches hinterlegt.

Daher das Script bearbeiten und ab Zeile 111 (bei mir) die beiden Zeilen hinzufügen:

 Remove-item "$env:systemroot\System32\Config\SystemProfile\AppData\Local\Microsoft\Windows\INetCache\IE\*.*" -Recurse -ErrorAction SilentlyContinue

Remove-item "$env:systemroot\SysWOW64\Config\SystemProfile\AppData\Local\Microsoft\Windows\INetCache\IE\*.*" -Recurse -ErrorAction SilentlyContinue

Beim nächsten Lauf des Scripts werden die temporären Daten bereinigt.

 

Leave a Reply

Your email address will not be published. Required fields are marked *