How to clear the security log in Windows 10
Method 1: Registry Tools
Traditionally, security registry entries are removed through the plugin interface "Events viewer". This is the easiest and most obvious way for novice users.
- Open an internal app "Events viewer"., pressing the combination of Win + R to bring up the quick commands dialog, enter
eventvwr
and press the key I went into. - In the left column of the log window that opens, expand the branch "Application and Service Logs" → "Microsoft Windows" → "Windows Defender".
- Highlight a subitem "Operational." and click on the right column of the plugin window "Clear log".
- Confirm the action in the dialog box that appears. If you want to save a copy of the entries, select the option «Save and delete».If you don't want a backup, you can select "Clear"..
Backup logs can be saved in EVTX, CSV, XML and TXT formats.
Method 2: "Explorer"
Security registry entries in Windows 10 are physically represented by a set of files stored in one of the system folders. Removing them will clear this section of the general event log.
- Ir a "Options". folders and searches and enable the display of hidden files, folders and drives.
Read More: Turn on Show Hidden Folders in Windows 10
- Ir a "Explorer". in the deal
C:\ProgramData\Microsoft\Windows Defender\Scans\History
. - Find the folder there. "Service" and delete it with all its content.
Method 3: Automate the cleanup procedure
If you want, you can automate the cleaning procedure of the registry hive where the built-in antivirus saves its logs. Default "Windows Defender". keeps your records for 30 days, but you can reduce this period to one day.
- Run as administrator "Windows PowerShell".
- Run the command in the console
Set-MpPreference -ScanPurgeItemsAfterDelay 1
.
The amount «1» at the end of the command means that the protection log will be automatically cleared every day. Consequently, if the command is passed «2»Windows will start clearing the logs after a day.
We are glad that we were able to help you with your problem.
Our specialists will try to respond as quickly as possible.
Has this article helped you?
More articles on this topic:
What is the size in pixels of the sheets a4 a3 a2 a1 and a0 depending on the dpi
How to delete a Facebook account without password and email
How to know who is behind an instagram profile
How to know who canceled the message on instagram
How to know if the iPhone is hacked
How to install IPTV on the Fire TV Stick
What to do if images disappear from gallery on Android
Spotify cracked IOS 2021, How to install it?
How to copy the link to your instagram profile
How to know who is behind a Facebook profile
Troubleshooting the red LOS light on the router
How to find out the MI account id on your Xiaomi smartphone
How to install IPTV on the Fire TV Stick
How to change Supercell email id
How to unblock Iphone Telegram channels
how to hide who i follow on instagram
How to fix the error requires action with the Google account
e_fail 0x80004005 error in Virtualbox, causes and solutions
How to put your name on a WhatsApp list
How to delete your Shein account
Troubleshooting the red LOS light on the router
How to see how many messages are in a chat
How to unblock Iphone Telegram channels
How to send self-destructing photos or videos on Telegram
How to download Facebook stories from PC