Clearing Unwanted Files in C drive on Windows or disk cleanup in Windows server

11:29 PM

Here is the few possible ways to clear unwanted files/logs in C Drive instead of increasing disk size in virtual servers or moving page file to other logical drive.

Folder with path
Category
Action taken

C:\temp
Temp Files
Delete

C:\windows\temp\
Temp Files
Delete

C:\windows\Minidump\*.dmp
Memory Dump
Delete

C:\windows\memory.dmp
Patches
Delete

Patch files older than 3 months starting with $NTUninstall in C:\Windows
Patches
Delete

TSM_images folder at c:\
Temp Files
Delete

Older than one day IIS Log files - C:\Windows\System32\LogFiles\W3SVC1
Log Files
Compress

IBM Serverraid logs at C:\Program files\IBM\Serverraid manager\
Log Files
Delete

Virus definitions older than 2 days at C:\Program Files\Common Files\Symantec Shared\VirusDefs
AV files
Delete

Unknown Accounts of more than 1.5 MB are deleted
Profile
Delete

Security and Apllication Event logs older than 180 days or 90% full - C:\Windows\System32\Config
Log Files
Archive

C:\documents and settings\ all users\Application Data\Symantec\Liveupdate\Downloads
AV files
Delete

Older than one month data at C:\Windows\SoftwareDistribution\Download
Patches
Delete

"%ALLUSERSPROFILE%\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\*.VDB"
AV files
Delete

"%ALLUSERSPROFILE%\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\*.WDB"
AV files
Delete

"%ALLUSERSPROFILE%\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\*.IAB"
AV files
Delete

"%ALLUSERSPROFILE%\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\*.IAD"
AV files
Delete

"%ALLUSERSPROFILE%\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\*.IEX"
AV files
Delete

"%ALLUSERSPROFILE%\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\xfer_tmp\*.*"
AV files
Delete

Delete the files in the %AllUsersProfile%\Application Data\Microsoft\Dr Watson folder
Memory Dump
Delete

Delete all *. Dat except config.dat file from C:\program files\Common files\Mcafee\engine\oldengine
AV files
Delete

Delete all *. Dat except config.dat file from C:\program files\Common files\network associates\Engine\old engine\old dats
AV files
Delete

Delete followingf files from C:\WINDOWS
Delete

a. kb*.log
Log Files
Delete

b. setup*.log
Log Files
Delete

c. setup*.old
Log Files
Delete

d. setuplog.txt
Log Files
Delete

e. winnt32.log
Log Files
Delete

f. set*.tmp
Temp Files
Delete

Move %Windir%\ServicePackFiles folder to a different volume.
Patches
Move

C:\Program Files\ibm\SCM\client\scripts\win.any.SAPV6\config\jacx.log is this log file is more than 500 MB
Log Files
Delete

You Might Also Like

0 comments

Contact Form

Name

Email *

Message *

Translate

Wikipedia

Search results