Skip to main content

25 docs tagged with "clear-windows-log-and-caches"

View all tags

Clear "Cryptographic Services" diagnostic traces

This script removes specific files associated with the "Cryptographic Services". The files include: "%SYSTEMROOT%\\System32\\catroot2\\dberr.txt" • "%SYSTEMROOT%\\System32\\catroot2.log" • "%SYSTEMROOT%\\System32\\catroot2.jrs" • "%SYSTEMROOT%\\System32\\catroot2.edb" • "%SYSTEMROOT%\\System32\\catroot2.chk" The "Cryptographic Services" ("CryptSvc") service manages services such as key management for the computer. This service is used by different features, including Windows Updates. There is no official d...

Clear Defender scan (protection) history

This script deletes the scan history kept by Microsoft Defender on your computer. Microsoft Defender logs detected threats but also gathers and stores data about various other files it scans. While removing this history enhances your privacy, it might decrease security, as these logs assist in monitoring threats. By eliminating traces of your system's files, activities and any threats detected, you ensure no residual data can be utilized to study or analyze your computer's activities, thus prote...

Clear diagnostics tracking logs

This script deletes primary telemetry files in Windows. These files store event trace logs that are collected by the "DiagTrack" service. This service is also known as "Diagnostics Tracking Service" or "Connected User Experiences and Telemetry" service. These files are stored as Event Trace Log (".etl") files, also known as a trace logs. Contents of these files are transmitted to Microsoft servers. This services uses AutoLogger logs. AutoLogger allows saving trace logs early in the operating...

Clear logs for pending/unsuccessful file rename operations

This script is used to clear the log files created by Windows whenever there are pending file rename operations that are not successfully completed. The logged operations might include renaming, moving or deleting a file that is currently in use.

Clear logs generated by Disk Cleanup Tool ("cleanmgr.exe")

This script is used to clear the log files generated by the Disk Cleanup Tool (cleanmgr.exe). These logs are generated when the Disk Cleanup Tool is used to free up disk space. Log files for this tool are stored in "C:\\Windows\\System32\\LogFiles\\setupcln\\". Erasing these logs can enhance user privacy by removing traces of the cleanup process. These logs are known to be used in forensic analysis.

Clear Server-initiated Healing Events system logs

These are logs related to Windows Update. It stores event trace log (ETL) files. While the logs are largely technical, like many diagnostic logs, there's a potential for some data that could be considered personally identifiable information (PII), such as usernames or machine names, to be included. From a forensic standpoint, they offer valuable data for reconstructing system events related to software updates : any that were automatically remediated. when reconstructing events leading up to a p...

Clear thumbnail cache

This script configures Windows using Batch (batchfile). It runs ":: Delete files matching pattern:...".

Clear Windows setup logs

This script configures Windows using Batch (batchfile). It runs ":: Delete files matching pattern:...".

Clear Windows system log files

This category configures Windows using 19 scripts. These scripts are organized in 1 categories. The category includes 14 subscripts and 1 subcategories that include more scripts and categories.

Clear Windows update files

This script clears the contents of the "%SYSTEMROOT%\\SoftwareDistribution\\" directory. This action is sometimes called resetting the Windows Update Agent or resetting Windows Update components by Microsoft. This directory contains Windows Update files. It includes logs of Windows updates, downloaded updates, and database files related to the updates. Over time, the size of this folder can increase, leading to potential disk space issues. Clearing this directory can help free up disk space. T...

Clear Windows update installation logs

This script is used to clear the log files created during the Windows update installation process. This includes both the actions log ("setupact.log") and the error log ("setuperr.log"). These files contains information about initializing setup and typically used if setup fails to launch.