Cleaning up spiceworks logs

Posted on 2014-12-17
Last Modified: 2014-12-17
Looking for a simple way way to remove the logs left behind from spiceworks. A one click option that blows them all away or a script that deletes everything from these two folders. The log directory and httpd\log folder fills up fast or just turn them off would be nice to. Spiceworks runs on Windows 7 desktop.
Question by:stlhost
  • 2
  • 2
  • 2
LVL 50

Expert Comment

ID: 40504914
stlhost --
Close Spiceworks \Delete the folder C:\Program Files\Spiceworks\Log.
This assumes you make no backup of the Log and really want to remove, irretrievably, the Log.

Author Comment

ID: 40504925
It takes almost an hour to start up spiceworks probably should have noted that. Was hoping for a bat script that I can just click to delete everything in that folder. When I try del c:\folder location it says specific path is not found
LVL 18

Accepted Solution

Peter Hutchison earned 500 total points
ID: 40504934
I use a script called LogCleaner which can be run every month and deletes logs older than x days old.
You can get it from here:
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

LVL 50

Expert Comment

ID: 40504935
"It takes almost an hour to start up spiceworks "
Maybe I misunderstand.  You are doing "Close Spiceworks \Delete the folder C:\Program Files\Spiceworks\Log" .  So Spiceworks is not running.  Everything is done within Windows.  Log could be a hidden folder, so:
To really show all hidden folders and files
1) In Explorer, click Organize in ToolBar|click "Folder and Search Options"|View|uncheck "Hide protected operating system files"|Yes|Apply|OK.  
2) And if not already done, under "Hidden Files and Folders", check "Show hidden files, folders,..." and uncheck "Don't show hidden files, folders...".
LVL 18

Expert Comment

by:Peter Hutchison
ID: 40504940
Additional note:
Note that the LogCleaner script can be modified to apply to any log folder or types of logs, not just IIS logs.

Author Closing Comment

ID: 40504977
Worked perfectly. Thank you very much.

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now