Clear all the Windows Event Logs, resetting reliability history, from the command line. Command Line Method for /F “tokens=*” %1 in (‘wevtutil.exe el’) do wevtutil.exe cl “%1” Batch Script Method @echo off for /F “tokens=*” %%E in (‘wevtutil.exe el’) do wevtutil.exe cl “%%E” Powershell Method wevtutil el | Foreach-Object {Write-Host “Clearing $_”; wevtutil cl “$_”}

Read More Clear Windows Event Log and Reliability History Command Line

Post thumbnail

One way to hide an application from Add/Remove programs is by settings a SystemComponent registry key for the application in the Uninstall path. For 32-bit applications, the Uninstall path can be found at: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall For 64-bit applications, the Uninstall path can be found at: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Inside the Uninstall path, find the application you want to…

Read More Hide Application from Add/Remove Programs

Input Validation Whitelist Protection Cacti Data Input methods that call a script can be exploited in ways that a non-administrator can perform damage to either files owned by the poller account, and in cases where someone runs the Cacti poller as root, can compromise the operating system allowing attackers to exploit your infrastructure. Therefore, several…

Read More Cacti Server

Here are some methods to remove the ManageEngine DesktopCentral Agent. @echo OFF Rem Manage Engine Desktopcentral Agent Uninstallation String Rem This bat file will uninstall the Desktopcentral Agent %SystemRoot%\system32\msiexec.exe /x{6AD2231F-FF48-4D59-AC26-405AFAE23DB7} MSIRESTARTMANAGERCONTROL=Disable REBOOT=”ReallySuppress” /qn Agent Uninstall Tool https://www.manageengine.com/products/desktop-central/desktop_agent_uninstallation.html Local Copy: Agent Uninstall VBScript ‘Manage Engine Desktopcentral Agent . ‘Script to Clean up ManageEngine Desktop Central Agent…

Read More Uninstall ManageEngine DesktopCentral Agent