remove recent events from Protection History


I have read many ways to remove recent items from Defender's protection history but none work or only apply to Windows 10.
When I reboot these items are still listed.
I have built up quite a list over time.
Or am I better off leaving them there. I wonder why others can but I cannot; I suspect something wrong may be wrong with my system; I did get a reply from M.S. that some users are having trouble with this task but a cumulative update just came out and I still cannot remove them.
I prefer not to hack the reg as my skill level is not that good. I did follow file explorer 's folders to the end of the chain and deleted as told.
Is there some way to accomplish this?
 

FreeBooter

Well-known member
Power User
VIP
Local time
9:38 AM
Posts
949
Location
Adana
OS
Windows 11
You can use the attached batch script to remove Windows 11 protection history.
 

Attachments

  • Delete_Windows_Defender_Protection_History.bat
    2.5 KB · Views: 8

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Fabler2

Well-known member
Power User
VIP
Local time
7:38 AM
Posts
1,700
OS
Win 11 Pro & Dev.
Mine go back to 4 OCT 2020. It's not affecting anything so I leave well alone.
 

My Computers

System One System Two

  • OS
    Win 11 Pro & Dev.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
    CPU
    AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
    Motherboard
    ASUSTeK COMPUTER INC. X509DA (FP5)
    Memory
    12GB
    Graphics Card(s)
    RX Vega 10 Graphics
    Monitor(s) Displays
    Generic PnP Monitor (1920x1080@60Hz)
    Screen Resolution
    1920x1080@60Hz
    Hard Drives
    INTEL SSD 660p 512GB NVMe
    Internet Speed
    25 Mbps
    Browser
    Edge
    Antivirus
    Defender
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ACER
    CPU
    AMD Ryzen 7 5800H / 3.2 GHz
    Motherboard
    CZ Scala_CAS (FP6)
    Memory
    16 GB (2 x 8 GB) DDR4 SDRAM 3200 MHz
    Graphics card(s)
    NVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Sound Card
    Realtek Audio. NVIDIA High Definition Audio
    Monitor(s) Displays
    15.6" LED backlight 1920 x 1080 (Full HD) 144 Hz
    Screen Resolution
    1920 x 1080 (Full HD)
    Hard Drives
    1.024 TB SSD M.2 2280 - Samsung
    PSU
    180 Watt, 19.5 V
    Mouse
    Logitech
    Internet Speed
    25 Mbps
    Browser
    Edge
    Antivirus
    Defender

Maranna

Member
Thread Starter
Local time
2:38 AM
Posts
71
OS
11 pro
I tried which UAC balked at. It was not recognized as an operable command and could not be run either.
Thank you anyway.
Good advice Fabler 2 if you have the same issue with Win 11 and Windows reports users as having issues with it.
21H2 Build 22000.438 - is both of yours the same?
 

My Computer

System One

  • OS
    11 pro
    Computer type
    PC/Desktop
    CPU
    Intel Core i5- 8400 6 core 2.8 G
    Motherboard
    Asus Tuf z390-Plus Gaming WI FI
    Memory
    Corsair 16 GB DDR4-2400
    Graphics Card(s)
    EVGA GeForce GTX 1050 TI SC 4GB
    Hard Drives
    Samsung 500GB 860 EVO
    PSU
    EVA 650 W
    Case
    Corsair Carbide Series 100R Mid
    Antivirus
    Defender primary with MBAM free secondary

FreeBooter

Well-known member
Power User
VIP
Local time
9:38 AM
Posts
949
Location
Adana
OS
Windows 11
It works for me.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Maranna

Member
Thread Starter
Local time
2:38 AM
Posts
71
OS
11 pro

My Computer

System One

  • OS
    11 pro
    Computer type
    PC/Desktop
    CPU
    Intel Core i5- 8400 6 core 2.8 G
    Motherboard
    Asus Tuf z390-Plus Gaming WI FI
    Memory
    Corsair 16 GB DDR4-2400
    Graphics Card(s)
    EVGA GeForce GTX 1050 TI SC 4GB
    Hard Drives
    Samsung 500GB 860 EVO
    PSU
    EVA 650 W
    Case
    Corsair Carbide Series 100R Mid
    Antivirus
    Defender primary with MBAM free secondary

FreeBooter

Well-known member
Power User
VIP
Local time
9:38 AM
Posts
949
Location
Adana
OS
Windows 11
You need to double-click the batch script and i'm on DEV channel Windows 11 Insider Preview Build 22538.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Maranna

Member
Thread Starter
Local time
2:38 AM
Posts
71
OS
11 pro
Finally! I did not double click and UAC stopped me till I allowed it. I put a 1 where it asked for # of days.
So what does it do now because right now the entries are still there?
Do they go away in one day?
 

My Computer

System One

  • OS
    11 pro
    Computer type
    PC/Desktop
    CPU
    Intel Core i5- 8400 6 core 2.8 G
    Motherboard
    Asus Tuf z390-Plus Gaming WI FI
    Memory
    Corsair 16 GB DDR4-2400
    Graphics Card(s)
    EVGA GeForce GTX 1050 TI SC 4GB
    Hard Drives
    Samsung 500GB 860 EVO
    PSU
    EVA 650 W
    Case
    Corsair Carbide Series 100R Mid
    Antivirus
    Defender primary with MBAM free secondary

Nobody

Active member
Member
Local time
9:38 AM
Posts
126
OS
Windows 11 Pro 21H2 (22000.856)

My Computer

System One

  • OS
    Windows 11 Pro 21H2 (22000.856)
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600X
    Motherboard
    Asus TUF Gaming B550-Plus
    Memory
    Kingston 16GB (2 x 8GB) DDR4 3200MHz
    Graphics Card(s)
    Gigabyte Radeon RX 580 AORUS 8GB GDDR5
    Monitor(s) Displays
    Samsung
    Screen Resolution
    1920X11080
    Hard Drives
    Samsung 970 EVO Plus NVMe M.2 500GB (OS)
    Samsung 980 NVMe 1TB (Games)
    Samsung 860 EVO 250GB
    Samsung 850 EVO 250GB (Music)
    PSU
    Super Flower / Leadex 750W 80Plus Titanium
    Cooling
    SilentiumPC Fortis 3 HE1425 v2
    Keyboard
    Logitech K520
    Mouse
    Logitech G700S
    Internet Speed
    50mbps/10mbps
    Browser
    Firefox, Chrome, Edge, Opera
    Antivirus
    Windows Defender

Maranna

Member
Thread Starter
Local time
2:38 AM
Posts
71
OS
11 pro
I have done that before with file explorer to no avail.
I got as far as History and when clicked upon it said unknown. The tutorials show deleting the History folder. Should I have done that?
I am curious, why run the batch file if you then follow file explorer?
 

My Computer

System One

  • OS
    11 pro
    Computer type
    PC/Desktop
    CPU
    Intel Core i5- 8400 6 core 2.8 G
    Motherboard
    Asus Tuf z390-Plus Gaming WI FI
    Memory
    Corsair 16 GB DDR4-2400
    Graphics Card(s)
    EVGA GeForce GTX 1050 TI SC 4GB
    Hard Drives
    Samsung 500GB 860 EVO
    PSU
    EVA 650 W
    Case
    Corsair Carbide Series 100R Mid
    Antivirus
    Defender primary with MBAM free secondary

FreeBooter

Well-known member
Power User
VIP
Local time
9:38 AM
Posts
949
Location
Adana
OS
Windows 11
Finally! I did not double click and UAC stopped me till I allowed it. I put a 1 where it asked for # of days.
So what does it do now because right now the entries are still there?
Do they go away in one day?
You type 1 to CLEAR WINDOWS DEFENDER PROTECTION HISTORY.

You can type 2 to CHANGE NUMBER OF DAYS AFTER WHICH THE PROTECTION HISTORY LOG WILL BE CLEARED.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Nobody

Active member
Member
Local time
9:38 AM
Posts
126
OS
Windows 11 Pro 21H2 (22000.856)
I have done that before with file explorer to no avail.
I got as far as History and when clicked upon it said unknown. The tutorials show deleting the History folder. Should I have done that?
I am curious, why run the batch file if you then follow file explorer?

I can't say why it doesn't work for you. I tested it myself and it cleared history
Do not delete the hirstory folder itself, only its contents.

windows defender suojaushistoria2.jpg
 

My Computer

System One

  • OS
    Windows 11 Pro 21H2 (22000.856)
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600X
    Motherboard
    Asus TUF Gaming B550-Plus
    Memory
    Kingston 16GB (2 x 8GB) DDR4 3200MHz
    Graphics Card(s)
    Gigabyte Radeon RX 580 AORUS 8GB GDDR5
    Monitor(s) Displays
    Samsung
    Screen Resolution
    1920X11080
    Hard Drives
    Samsung 970 EVO Plus NVMe M.2 500GB (OS)
    Samsung 980 NVMe 1TB (Games)
    Samsung 860 EVO 250GB
    Samsung 850 EVO 250GB (Music)
    PSU
    Super Flower / Leadex 750W 80Plus Titanium
    Cooling
    SilentiumPC Fortis 3 HE1425 v2
    Keyboard
    Logitech K520
    Mouse
    Logitech G700S
    Internet Speed
    50mbps/10mbps
    Browser
    Firefox, Chrome, Edge, Opera
    Antivirus
    Windows Defender

Maranna

Member
Thread Starter
Local time
2:38 AM
Posts
71
OS
11 pro
after service you get detection history and I get unknown

Well I did clear after History to no avail. Would you recommend I reset my pc as it may be faulty or leave as is?
Btw, thank you very much for all the time and work! :)
 

My Computer

System One

  • OS
    11 pro
    Computer type
    PC/Desktop
    CPU
    Intel Core i5- 8400 6 core 2.8 G
    Motherboard
    Asus Tuf z390-Plus Gaming WI FI
    Memory
    Corsair 16 GB DDR4-2400
    Graphics Card(s)
    EVGA GeForce GTX 1050 TI SC 4GB
    Hard Drives
    Samsung 500GB 860 EVO
    PSU
    EVA 650 W
    Case
    Corsair Carbide Series 100R Mid
    Antivirus
    Defender primary with MBAM free secondary

Nobody

Active member
Member
Local time
9:38 AM
Posts
126
OS
Windows 11 Pro 21H2 (22000.856)
You could try restoring or repairing Windows security. Through apps & features. My own windows are in Finnish, but maybe someone with English windows (And with better English.) can help more if you need to. :)
 

My Computer

System One

  • OS
    Windows 11 Pro 21H2 (22000.856)
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600X
    Motherboard
    Asus TUF Gaming B550-Plus
    Memory
    Kingston 16GB (2 x 8GB) DDR4 3200MHz
    Graphics Card(s)
    Gigabyte Radeon RX 580 AORUS 8GB GDDR5
    Monitor(s) Displays
    Samsung
    Screen Resolution
    1920X11080
    Hard Drives
    Samsung 970 EVO Plus NVMe M.2 500GB (OS)
    Samsung 980 NVMe 1TB (Games)
    Samsung 860 EVO 250GB
    Samsung 850 EVO 250GB (Music)
    PSU
    Super Flower / Leadex 750W 80Plus Titanium
    Cooling
    SilentiumPC Fortis 3 HE1425 v2
    Keyboard
    Logitech K520
    Mouse
    Logitech G700S
    Internet Speed
    50mbps/10mbps
    Browser
    Firefox, Chrome, Edge, Opera
    Antivirus
    Windows Defender

Maranna

Member
Thread Starter
Local time
2:38 AM
Posts
71
OS
11 pro
I see where this can be done so thanks for that suggestion. SFC is fine.
I recently read Finnish folks are the happiest in the world-Google it.
So keep smiling. :)
 

My Computer

System One

  • OS
    11 pro
    Computer type
    PC/Desktop
    CPU
    Intel Core i5- 8400 6 core 2.8 G
    Motherboard
    Asus Tuf z390-Plus Gaming WI FI
    Memory
    Corsair 16 GB DDR4-2400
    Graphics Card(s)
    EVGA GeForce GTX 1050 TI SC 4GB
    Hard Drives
    Samsung 500GB 860 EVO
    PSU
    EVA 650 W
    Case
    Corsair Carbide Series 100R Mid
    Antivirus
    Defender primary with MBAM free secondary

Fabler2

Well-known member
Power User
VIP
Local time
7:38 AM
Posts
1,700
OS
Win 11 Pro & Dev.
You type 1 to CLEAR WINDOWS DEFENDER PROTECTION HISTORY.

You can type 2 to CHANGE NUMBER OF DAYS AFTER WHICH THE PROTECTION HISTORY LOG WILL BE CLEARED.
It doesn't work here either. I suspect this is why,

Screenshot_6.png
 

My Computers

System One System Two

  • OS
    Win 11 Pro & Dev.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
    CPU
    AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
    Motherboard
    ASUSTeK COMPUTER INC. X509DA (FP5)
    Memory
    12GB
    Graphics Card(s)
    RX Vega 10 Graphics
    Monitor(s) Displays
    Generic PnP Monitor (1920x1080@60Hz)
    Screen Resolution
    1920x1080@60Hz
    Hard Drives
    INTEL SSD 660p 512GB NVMe
    Internet Speed
    25 Mbps
    Browser
    Edge
    Antivirus
    Defender
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ACER
    CPU
    AMD Ryzen 7 5800H / 3.2 GHz
    Motherboard
    CZ Scala_CAS (FP6)
    Memory
    16 GB (2 x 8 GB) DDR4 SDRAM 3200 MHz
    Graphics card(s)
    NVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Sound Card
    Realtek Audio. NVIDIA High Definition Audio
    Monitor(s) Displays
    15.6" LED backlight 1920 x 1080 (Full HD) 144 Hz
    Screen Resolution
    1920 x 1080 (Full HD)
    Hard Drives
    1.024 TB SSD M.2 2280 - Samsung
    PSU
    180 Watt, 19.5 V
    Mouse
    Logitech
    Internet Speed
    25 Mbps
    Browser
    Edge
    Antivirus
    Defender

FreeBooter

Well-known member
Power User
VIP
Local time
9:38 AM
Posts
949
Location
Adana
OS
Windows 11
As you can see from the screenshot, i have cleared protection history.

2022-01-20_18-38-38.png
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Fabler2

Well-known member
Power User
VIP
Local time
7:38 AM
Posts
1,700
OS
Win 11 Pro & Dev.

My Computers

System One System Two

  • OS
    Win 11 Pro & Dev.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
    CPU
    AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
    Motherboard
    ASUSTeK COMPUTER INC. X509DA (FP5)
    Memory
    12GB
    Graphics Card(s)
    RX Vega 10 Graphics
    Monitor(s) Displays
    Generic PnP Monitor (1920x1080@60Hz)
    Screen Resolution
    1920x1080@60Hz
    Hard Drives
    INTEL SSD 660p 512GB NVMe
    Internet Speed
    25 Mbps
    Browser
    Edge
    Antivirus
    Defender
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ACER
    CPU
    AMD Ryzen 7 5800H / 3.2 GHz
    Motherboard
    CZ Scala_CAS (FP6)
    Memory
    16 GB (2 x 8 GB) DDR4 SDRAM 3200 MHz
    Graphics card(s)
    NVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Sound Card
    Realtek Audio. NVIDIA High Definition Audio
    Monitor(s) Displays
    15.6" LED backlight 1920 x 1080 (Full HD) 144 Hz
    Screen Resolution
    1920 x 1080 (Full HD)
    Hard Drives
    1.024 TB SSD M.2 2280 - Samsung
    PSU
    180 Watt, 19.5 V
    Mouse
    Logitech
    Internet Speed
    25 Mbps
    Browser
    Edge
    Antivirus
    Defender

FreeBooter

Well-known member
Power User
VIP
Local time
9:38 AM
Posts
949
Location
Adana
OS
Windows 11

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Maranna

Member
Thread Starter
Local time
2:38 AM
Posts
71
OS
11 pro
Just to compare which makes me wonder if I should clear all after scans?
Since I did a repair I have no history or service.
 

Attachments

  • Untitled.png
    Untitled.png
    97.5 KB · Views: 5

My Computer

System One

  • OS
    11 pro
    Computer type
    PC/Desktop
    CPU
    Intel Core i5- 8400 6 core 2.8 G
    Motherboard
    Asus Tuf z390-Plus Gaming WI FI
    Memory
    Corsair 16 GB DDR4-2400
    Graphics Card(s)
    EVGA GeForce GTX 1050 TI SC 4GB
    Hard Drives
    Samsung 500GB 860 EVO
    PSU
    EVA 650 W
    Case
    Corsair Carbide Series 100R Mid
    Antivirus
    Defender primary with MBAM free secondary
Top Bottom