Skip to main content

Windows Event Log Settings

wevtutil set-log Application /ms:134217728
wevtutil set-log Security /ms:134217728
wevtutil set-log System /ms:134217728
wevtutil set-log Setup /ms:134217728
wevtutil set-log Application /rt:true /ab:true
wevtutil set-log Security /rt:true /ab:true
wevtutil set-log System /rt:true /ab:true
wevtutil set-log Setup /rt:true /ab:true


/ms: maximum size in bytes
/rt: retention
/ab: automatic backup

Popular posts from this blog

Powershell: Install IIS

Run Powershell as Administrator, then run the command below to install IIS. Install-WindowsFeature Web-WebServer Check after installing Get-WindowsFeature *Web*