Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it safe to delete the contents of the following Windows logs folder: C:\Windows\Logs (OS: Windows Vista)

 Directory of c:\Windows\Logs

10-02-2009  21:23    <DIR>          .
10-02-2009  21:23    <DIR>          ..
18-06-2011  20:08    <DIR>          CBS
30-01-2009  11:54    <DIR>          DPX
07-07-2011  13:03    <DIR>          SystemRestore
               0 File(s)              0 bytes
               5 Dir(s)  14,071,410,688 bytes free
share|improve this question
Let me ask a short question here: Why? – Michael K Jul 11 '11 at 10:54
It seems to be huge in size and just want to make sure it doesn't accumulate unwanted files. If it's like a temp folder, can't I just remove the contents? – Joshua Jul 11 '11 at 11:00

Log usually may have their function just to register some events for future analisis, as definition you shouldn't have any problems when deleting logs. However, if you want to take a try, save a backup image from your disk (with clonezilla or similar for example), delete your logs and test your system for some time. If anything wrong happends then your log clean was sucessfull. PS: Dont forget to post your results here on superuser please :D

share|improve this answer
There is more than just log files in that folder though. There are also database logs, which cannot be deleted. – KCotreau Jul 11 '11 at 11:39
If there are vitable files on this folder, so Windows must block the deletion of this files as it does on another files. Moreover, if its vital, so this folder should'nt be called "Logs". – Diogo Jul 11 '11 at 11:42
I did not write the software, so while I agree with you in general, that is not the case. The log files for the System Restore database are there, and are not named .log. – KCotreau Jul 11 '11 at 11:47
On my system the System Restore database have ".etl" extension. As I know, etl files are log files from Windows Performance Toolkit, and can be opened with the "xperfview" component of WPT. However, it is still log files as far as I know. – Diogo Jul 11 '11 at 12:05
Maybe, I was just going by the 10,000K file size, typical for Microsoft database logs. I would still like to wait for him to tell me what files are in what sub-folder. – KCotreau Jul 11 '11 at 12:12

The answer is generally, no, but some of the sub-folders maybe. Which sub-folders have the most data, and give me an idea of what it looks like.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .