delete log file


what log file (windows) can delete on server tse 2008

 

thanks

hi,

 

you can clear events in event log using event viewer or using wevtutil command on command line.

to clear event log using event viewer

1.       start event viewer.

2.       in console tree, navigate event log want clear.

3.       on action menu, click clear log.

4.       you can either clear event log or save copy of event log , clear it.

·         to clear event log without saving: click clear.

·         to clear event log after saving: click save , clear, type name saved file in file name on save as dialog box , click save.

 

to clear event log using command line

  1. to open command prompt, click start, type cmd in start search box, , press enter.
  2. type following command:
    wevtutil cl <logname> [/bu: <backup_file_name>]

    learn more clear log option of wevtutil command-line tool, type following command @ command prompt:
    wevtutil cl -?

 

more information:

remove-eventlog

http://technet.microsoft.com/en-us/library/dd347725.aspx

 

 

regards,

dollar wang

forum support

technet subscriber support

if technet subscription user , have feedback on our support quality, please send feedback here.

 

 


technology changes life……


Windows Server  >  Remote Desktop Services (Terminal Services)



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file