ویندوز
روش حذف کردن فایل های Event Log در ویندوز 10 Inbox

??? ???:
??? ?? ?? ??? ????? ???? ?? ?? ????? administrator ???? ????? ??? ???.
- ????? ????? cmd ?? ?? ???? ??? ? ?? ??????? ???? ????.
- ??? ?? ????? ??? ? ?? ?? ??? Command Prompt ???? ???? ???? ? ?? ???? Run as administrator ?????? ?? ???? ????.
- ??? ??? ??? ???? ??? ???? ???? ?? yes ?? ?????.
- ??? ?? ????? ???? ??? ??? ?? ??? ?? ??? ???? ????.
for /F “tokens=*” %1 in (‘wevtutil.exe el’) DO wevtutil.exe cl “%1”
- ??? ?? ????? ?? ???? ?? ???? ????? ???? ????? ?? ?????.
???? ??? ??? ??????? ?? Log ???? ?? ??? ?????? . ???? ?????? ???? ?? ?? ?????? ??? ??????? ??????.
wevtutil el|more
??? ???? ????? ?? Log ??? ????? ?? ?? ??? ???? ????? ???. ???? ??? log ???? ??? ??? ?? ?????? ???? ? ?? ?? ??? ???????? (log_name_here) ??????.
wevtutil.exe cl log_name_here
???? ???? ??? ?? ?????? Application log ?? ??? ???? ? ?? ?? ?? ???? ??? ?? ???.
wevtutil.exe cl Application
??? ??? ??????? ?? ????? PowerShell:
??? ??? ????? ???? ?? ???? ? ?? ????? ?? ?????? ??? ??? ?? ????? ????.
?? ????? ?????? PowerShell ?? ?? ???? ??? ??? ? ?? ???? ? ???? ????.
??? ?? ????? ??? ??? ?? ?????? ??? ?? ???? ??????.
Get-EventLog -LogName * | ForEach { Clear-EventLog $_.Log }
??
wevtutil el | Foreach-Object {wevtutil cl “$_”}
??????? :
???? ??????









