OP 28 November, 2022 - 05:29 PM
Hello guys,
I'm going write how to Scrubbing PC logs via CMD (Command Prompt)
Simple commands using CMD to remove your system logs that everyone might not know.
Delete previous DNS server
Purges the contents of the NetBIOS name cache
Clear File explorer history and dialog box history
CBS.log file records entries when a static file changes.
Clear Windows Events logs
I'm going write how to Scrubbing PC logs via CMD (Command Prompt)
Simple commands using CMD to remove your system logs that everyone might not know.
Delete previous DNS server
Quote:ipconfig /flushdns
Purges the contents of the NetBIOS name cache
Quote:nbtstat -R
Clear File explorer history and dialog box history
Quote:Del /F /Q %APPDATA%\Microsoft\Windows\Recent\*
Del /F /Q %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\*
Del /F /Q %APPDATA%\Microsoft\Windows\Recent\CustomDestinations\*
REG Delete HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU /VA /F
REG Delete HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths /VA /F
CBS.log file records entries when a static file changes.
Quote:del “C:\Windows\Logs\CBS\CbsPersist*.cab” /s /f /q
del “C:\Windows\Logs\CBS\CbsPersist*.log” /s /f /q
del “C:\Windows\Logs\CBS\Cbs*.log” /s /f /q
Clear Windows Events logs
Quote:for /F "tokens=*" %1 in ('wevtutil.exe el') DO wevtutil.exe cl "%1"
pause>null
Don't Forget To Leave LIKE & REP