ITSM can be very picky about it's cache files and many times strange behavior or slowness can be helped by cleaning up the cache files. I just created the .bat file below to facilitate the process.
Create a new 'plain text' file, fill with text below and save as .bat
As with everything, use at your own risk and test it on a non-critical pc first.
continued...
@echo off
cls
Echo Hello %Username%, This will clear your ITSM Cache!
Echo Make sure your ITSM Client is not running!
Echo.
Echo (You will need to restart if you receive an
Echo error about a file or folder in use)
echo.
echo To cancel, close this window, otherwise
pause
cls
:::WINDOWS
::cd "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files"
::if exist servicemanagementweb RD servicemanagementweb /S /Q
::if exist servicemanagement RD servicemanagement /S /Q
::if exist selfserviceweb RD selfserviceweb /S /Q
::if exist servicemanagementcrystalreportviewers RD servicemanagementcrystalreportviewers /S /Q
::goto COMMON
:COMMON
cd "C:\Documents and Settings\%username%\Local Settings\Application Data"
if exist IsolatedStorage RD IsolatedStorage /S /Q
if exist assembly RD assembly /S /Q
if exist fusioncache.dat del fusioncache.dat /Q
if exist gdipfontcachev1.dat del gdipfontcachev1.dat /Q
CD applicationHistory
if exist bpsettingutility.exe.83f57c14.ini del bpsettingutility.exe.83f57c14.ini /Q
if exist orion.apploader.exe.3d349ee9.ini del orion.apploader.exe.3d349ee9.ini /Q
if exist adminloader.exe.12f73640.ini del adminloader.exe.12f73640.ini /Q
:END
cd \
echo.
echo ITSM Cache Has Been Cleared!
echo.
Echo Press any key to exit.
pause>nul
Exit

0 Comments:
Post a Comment