Well Hard Drive space is something that I aim to keep as much as I can. After all, the games take up a lot of space, so I'd rather have room for two more big title games, than extra languages, or something else taking up space, related to the OS.
By the way, is there a way to eliminate OS logging in Windows?
I think this is for XP before SP2 - After SP2 I don't think it can be disabled :
Disable event logging: You can even turn off Event Logging all together if you want.
Click on Settings on the left hand navigation panel.
Click on Advanced Options.
At the bottom of the page, click on Looking for additional settings?.
From there, scroll down until you see Collect events in the left column. Click on the true in the right column.
Select False from the drop-down menu and click Save.
To scrub the event logs :
Go to - Start - Control Panel - Administative tools - Event viewer (local) - Open - Application/Security/System/Antivirus and right click each one and click "Clear All Events"
There must be a batch program to do this tedious chore somewhere or a way of keeping the logs small as well.
Batch file for Windows XP
================
Event Log Backup utility (elback.exe)
Event Log Backup utility lets you quickly save event logs from different locations in one place. You can find elback.exe in Event Log Explorer application folder.
ELBACK BatchFile
runs BatchFile to backup logs.
ELBACK DestDir EventLogs [/clear]
backups EventLogs to DestDir with optional clear option.
BatchFile format:
; - comment line
DestDir EventLogs [/clear]
DestDir - specifies a destination folder (or /NOBACKUP option).
If the destination folder name contains spaces, it must be enclosed in quotes.
EventLogs - specifies a particular event log or group of event logs which you want to backup to DestDir.
Event logs must be separated by spaces. If event log name contains spaced, it must be enclosed in quotes. Remote event logs are specified as \\ComputerName\LogName. You can use wildcard characters (*) to specify all event logs (\\ComputerName\*).
/clear - optionally clears EventLogs after backup.
Sample BatchFile with comments:
=====================
;backup to C:\Backup Application and system from Server, then clear
C:\Backup\ Server\Application Server\System /Clear
;Backup all logs from Server2 to C:\My Backup, without clearing.
"C:\My Backup\" Server2\*
;Clear all logs from 192.168.1.11
/Nobackup \\192.168.1.11\* /clear
=====================
You can automate BatchFile creation from Event Log Explorer tree. More information is available in Export to backup batch.
http://www.eventlogxp.com/help/elback.htmlBatch file for Windows 7
===============
Event Viewer One Click Clear
How to Clear the Windows 7 Event Viewer with One Click
Published by Zardoc
2 Weeks Ago
Event Viewer One Click Clear
How to Clear the Windows 7 Event Viewer with One Click
Information This will show you how to create a command line shortcut that will clear all of the Event Viewer logs in one click.
Here is a batch file that can help you clear the event viewer in one click.
Download this file above..
Unzip on your desktop.
You can use the task scheduler to give it a high priority so you won't get a UAC prompt
See Brink's Tip HERE
Or, just copy this script and paste in notepad and save as Clean Viewer.BAT
Right click to run the file
Code:
@echo off
SET VEVLOGCLR=wevtutil cl
%VEVLOGCLR% "Microsoft-Windows-ADSI/Debug"
%VEVLOGCLR% "Microsoft-Windows-AltTab/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Backup"
%VEVLOGCLR% "Microsoft-Windows-Bits-Client/Analytic"
%VEVLOGCLR% "Microsoft-Windows-Bits-Client/Operational"
%VEVLOGCLR% "Microsoft-Windows-CAPI2/Operational"
%VEVLOGCLR% "Microsoft-Windows-CertificateServicesClient-CredentialRoaming/Operational"
%VEVLOGCLR% "Microsoft-Windows-CodeIntegrity/Operational"
%VEVLOGCLR% "Microsoft-Windows-CodeIntegrity/Verbose"
%VEVLOGCLR% "Microsoft-Windows-COM/Analytic"
%VEVLOGCLR% "Microsoft-Windows-CorruptedFileRecovery-Client/Operational"
%VEVLOGCLR% "Microsoft-Windows-CorruptedFileRecovery-Server/Operational"
%VEVLOGCLR% "Microsoft-Windows-CredUI/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-DateTimeControlPanel/Analytic"
%VEVLOGCLR% "Microsoft-Windows-DateTimeControlPanel/Debug"
%VEVLOGCLR% "Microsoft-Windows-DateTimeControlPanel/Operational"
%VEVLOGCLR% "Microsoft-Windows-DCLocator/Debug"
%VEVLOGCLR% "Microsoft-Windows-Dhcp-Client/Admin"
%VEVLOGCLR% "Microsoft-Windows-Dhcpv6-Client/Admin"
%VEVLOGCLR% "Microsoft-Windows-Diagnosis-DPS/Analytic"
%VEVLOGCLR% "Microsoft-Windows-Diagnosis-DPS/Debug"
%VEVLOGCLR% "Microsoft-Windows-Diagnosis-DPS/Operational"
%VEVLOGCLR% "Microsoft-Windows-Diagnosis-PLA/Debug"
%VEVLOGCLR% "Microsoft-Windows-Diagnosis-PLA/Operational"
%VEVLOGCLR% "Microsoft-Windows-Diagnosis-WDI/Debug"
%VEVLOGCLR% "Microsoft-Windows-Diagnostics-Networking/Debug"
%VEVLOGCLR% "Microsoft-Windows-Diagnostics-Networking/Operational"
%VEVLOGCLR% "Microsoft-Windows-Diagnostics-Performance/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Diagnostics-Performance/Diagnostic/Loopback"
%VEVLOGCLR% "Microsoft-Windows-Diagnostics-Performance/Operational"
%VEVLOGCLR% "Microsoft-Windows-DiskDiagnostic/Operational"
%VEVLOGCLR% "Microsoft-Windows-DiskDiagnosticDataCollector/Operational"
%VEVLOGCLR% "Microsoft-Windows-DiskDiagnosticResolver/Operational"
%VEVLOGCLR% "Microsoft-Windows-DriverFrameworks-UserMode/Operational"
%VEVLOGCLR% "Microsoft-Windows-DxgKrnl/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-EFS/Debug"
%VEVLOGCLR% "Microsoft-Windows-EventCollector/Debug"
%VEVLOGCLR% "Microsoft-Windows-EventCollector/Operational"
%VEVLOGCLR% "Microsoft-Windows-EventLog-WMIProvider/Debug"
%VEVLOGCLR% "Microsoft-Windows-EventLog/Analytic"
%VEVLOGCLR% "Microsoft-Windows-EventLog/Debug"
%VEVLOGCLR% "Microsoft-Windows-FileInfoMinifilter/Operational"
%VEVLOGCLR% "Microsoft-Windows-Firewall-CPL/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Forwarding/Operational"
%VEVLOGCLR% "Microsoft-Windows-GroupPolicy/Operational"
%VEVLOGCLR% "Microsoft-Windows-Help/Operational"
%VEVLOGCLR% "Microsoft-Windows-HotStart/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-HttpService/Trace"
%VEVLOGCLR% "Microsoft-Windows-International/Operational"
%VEVLOGCLR% "Microsoft-Windows-IPSEC-SRV/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Kernel-Acpi/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Kernel-EventTracing/Admin"
%VEVLOGCLR% "Microsoft-Windows-Kernel-BootDiagnostics/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Kernel-PnP/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Kernel-Power/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Kernel-Prefetch/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Kernel-Process/Analytic"
%VEVLOGCLR% "Microsoft-Windows-Kernel-Registry/Analytic"
%VEVLOGCLR% "Microsoft-Windows-Kernel-WDI/Analytic"
%VEVLOGCLR% "Microsoft-Windows-Kernel-WDI/Debug"
%VEVLOGCLR% "Microsoft-Windows-Kernel-WDI/Operational"
%VEVLOGCLR% "Microsoft-Windows-LanguagePackSetup/Analytic"
%VEVLOGCLR% "Microsoft-Windows-LanguagePackSetup/Debug"
%VEVLOGCLR% "Microsoft-Windows-LanguagePackSetup/Operational"
%VEVLOGCLR% "Microsoft-Windows-LDAP-Client/Debug"
%VEVLOGCLR% "Microsoft-Windows-MemoryDiagnostics-Results/Debug"
%VEVLOGCLR% "Microsoft-Windows-mobsync/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-MPS-CLNT/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-MPS-DRV/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-MPS-SRV/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-MUI/Operational"
%VEVLOGCLR% "Microsoft-Windows-NetworkAccessProtection/Operational"
%VEVLOGCLR% "Microsoft-Windows-OfflineFiles/Analytic"
%VEVLOGCLR% "Microsoft-Windows-OfflineFiles/Debug"
%VEVLOGCLR% "Microsoft-Windows-OfflineFiles/Operational"
%VEVLOGCLR% "Microsoft-Windows-OfflineFiles/SyncLog"
%VEVLOGCLR% "Microsoft-Windows-PowerCfg/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-PowerCpl/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-PrintService/Admin"
%VEVLOGCLR% "Microsoft-Windows-QoS-qWAVE/Debug"
%VEVLOGCLR% "Microsoft-Windows-ReadyBoost/Operational"
%VEVLOGCLR% "Microsoft-Windows-ReliabilityAnalysisComponent/Operational"
%VEVLOGCLR% "Microsoft-Windows-RemoteAssistance/Admin"
%VEVLOGCLR% "Microsoft-Windows-RemoteAssistance/Operational"
%VEVLOGCLR% "Microsoft-Windows-RemoteAssistance/Tracing"
%VEVLOGCLR% "Microsoft-Windows-Resource-Exhaustion-Detector/Operational"
%VEVLOGCLR% "Microsoft-Windows-Resource-Exhaustion-Resolver/Operational"
%VEVLOGCLR% "Microsoft-Windows-Resource-Leak-Diagnostic/Operational"
%VEVLOGCLR% "Microsoft-Windows-ResourcePublication/Tracing"
%VEVLOGCLR% "Microsoft-Windows-RestartManager/Operational"
%VEVLOGCLR% "Microsoft-Windows-RPC/Debug"
%VEVLOGCLR% "Microsoft-Windows-RPC/EEInfo"
%VEVLOGCLR% "Microsoft-Windows-Sens/Debug"
%VEVLOGCLR% "Microsoft-Windows-ServiceReportingApi/Debug"
%VEVLOGCLR% "Microsoft-Windows-Services-Svchost/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Services/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Shell-AuthUI-Common/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Shell-AuthUI-CredUI/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Shell-AuthUI-Logon/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Shell-AuthUI-PasswordProvider/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Shell-AuthUI-Shutdown/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Shell-DefaultPrograms/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Shell-Shwebsvc"
%VEVLOGCLR% "Microsoft-Windows-Shell-ZipFolder/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Speech-UserExperience/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-stobject/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Subsys-Csr/Operational"
%VEVLOGCLR% "Microsoft-Windows-Subsys-SMSS/Operational"
%VEVLOGCLR% "Microsoft-Windows-SystemHealthAgent/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-TaskScheduler/Debug"
%VEVLOGCLR% "Microsoft-Windows-TaskScheduler/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-TaskScheduler/Operational"
%VEVLOGCLR% "Microsoft-Windows-TerminalServices-PnPDevices/Admin"
%VEVLOGCLR% "Microsoft-Windows-TerminalServices-PnPDevices/Analytic"
%VEVLOGCLR% "Microsoft-Windows-TerminalServices-PnPDevices/Debug"
%VEVLOGCLR% "Microsoft-Windows-TerminalServices-PnPDevices/Operational"
%VEVLOGCLR% "Microsoft-Windows-TerminalServices-RemoteConnectionManager/Analytic"
%VEVLOGCLR% "Microsoft-Windows-TerminalServices-RemoteConnectionManager/Debug"
%VEVLOGCLR% "Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational"
%VEVLOGCLR% "Microsoft-Windows-UAC-FileVirtualization/Operational"
%VEVLOGCLR% "Microsoft-Windows-UAC/Operational"
%VEVLOGCLR% "Microsoft-Windows-User-Loader/Analytic"
%VEVLOGCLR% "Microsoft-Windows-VolumeSnapshot-Driver/Operational"
%VEVLOGCLR% "Microsoft-Windows-WindowsUpdateClient/Operational"
%VEVLOGCLR% "Microsoft-Windows-WinINet/Analytic"
%VEVLOGCLR% "Microsoft-Windows-Wininit/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Winlogon/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-Winlogon/Operational"
%VEVLOGCLR% "Microsoft-Windows-WinRM/Analytic"
%VEVLOGCLR% "Microsoft-Windows-WinRM/Debug"
%VEVLOGCLR% "Microsoft-Windows-Winsock-AFD/Operational"
%VEVLOGCLR% "Microsoft-Windows-Winsock-WS2HELP/Operational"
%VEVLOGCLR% "Microsoft-Windows-Winsrv/Analytic"
%VEVLOGCLR% "Microsoft-Windows-Wired-AutoConfig/Operational"
%VEVLOGCLR% "Microsoft-Windows-WLAN-AutoConfig/Operational"
%VEVLOGCLR% "Microsoft-Windows-WMI-Activity/Trace"
%VEVLOGCLR% "Microsoft-Windows-WSC-SRV/Diagnostic"
%VEVLOGCLR% "Microsoft-Windows-WUSA/Debug"
%VEVLOGCLR% "OSession"
%VEVLOGCLR% "Application"
%VEVLOGCLR% "Security"
%VEVLOGCLR% "Setup"
%VEVLOGCLR% "EndpointMapper"
%VEVLOGCLR% "ForwardedEvents"
%VEVLOGCLR% "HardwareEvents"
%VEVLOGCLR% "Internet Explorer"
%VEVLOGCLR% "Key Management Service"
%VEVLOGCLR% "Media Center"
%VEVLOGCLR% "ACEEventLog"
%VEVLOGCLR% "System"
%VEVLOGCLR% "Windows PowerShell"
SET VEVLOGCLR=
exit
http://www.sevenforums.com/tutorials/25480-event-viewer-one-click-clear.html