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

MSSQL: Fix error 'Consistency validation for SQL Server registry keys'

While installing Microsof SQL Server 2012, I ran into the following error. "The SQL Server registry keys from a prior installation cannot be modified. To continue, see SQL Server Setup documentation about how to fix registry keys." How to fix Replace the D:\x64\FixSqlRegistryKey_x86.exe file with the original file from the ENU\SQLFULL_ENU.iso file downloading from Microsoft Download Center. This ISO file is 4.2GB. So you can click FixSqlRegistryKey_x86.exe to download this file only. After replacing that file, press Re-run to check. All rules are passed.

Microsoft Photos App

Reset, uninstall and Reinstall Microsoft Photos app, the default photo viewer on Microsoft Windows 10.

Node.js: Free Online Courses

Free online courses to learn Node.js from zero.