


Windows Security history is missing or not showing up in Windows 11
Feb 28, 2024 pm 03:58 PMAre you worried that your lost Windows Defender history hides infections? Windows Security's protection history tracks defenders' behavior to help you easily identify and remove threats. But what if your Windows security history is empty, missing, or not showing up? In this article, we'll look at the possible causes and the steps you can take to correct the problem.
Why is Windows protection history missing?
If you haven't cleared your Windows Defender protection history recently but it still appears blank, the reasons may be:
Fix the issue where Windows protection history is empty, missing, or not displayed
If your Windows security history is empty, missing, or not showing up in Windows 11, here's how to fix it:
For most solutions you may need to obtain permission from Amdin
1]Delete Defender history file
This problem can be effectively solved by cleaning the Defender history files by deleting any old files that may be corrupted or causing conflicts.
- Open Windows Terminal by typing cmd on the desktop search bar.
- Right click on it and select Run as administrator
- On the terminal prompt type,
Del“C:ProgramDataMicrosoftWindows Defenderscansmpcache*”/S>;nul 2>;&;1 <img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/164/170910709136225.jpg" class="lazy" alt="Windows 11中缺少或未顯示W(wǎng)indows安全保護(hù)歷史記錄">
DEL: Delete command to delete files.
"C:ProgramDataMICROSOFTWindows DefenderSCANSMPCACHE*: Indicates a delete command scan directory for erasing files starting with MPCACHE under...
The/S flag helps the delete command execute recursively, not only deleting files in the specified directory, but also deleting files in its subdirectories.
NUL plays a role in the command line similar to the pipe symbol | in PowerShell, used to redirect the output of the del command. By using NUL, you can ensure that no output messages are displayed on the terminal, such as confirmation messages when files are deleted.
2>&1: Used to suppress the display of any error messages encountered during the deletion process.
- After entering the above command type,
Del“C:ProgramDataMicrosoftWindows DefenderScansHistoryServiceDetectionHistory*”
After that,
Del“C:ProgramDataMicrosoftWindows Defenderscansmpenginedb.db”
After the removal process is complete, restart the system and check for errors.
(2)Reset Windows Defender application
Resetting Windows Security will restore the app to its default settings, which can help fix issues that have been preventing it from running. To reset,
From [Start] Menu
- Press the Windows I key to open the settings options.
- Click Application Settings.
- Look for Windows Security under the list of installed applications.
- Once found, scroll down to find the reset option.
- Click the reset button to reset the application.
From Windows PowerShell
- Type Windows PowerShell in the desktop search bar.
- Click to run as administrator.
- Enter the below mentioned command on the terminal prompt:
Get-AppxPackage Microsoft.SecHealthUI-所有用戶|Reset-AppxPackage
explain:
Get-AppxPackage: Used to retrieve information about the installed Appx package. AppX happens to be the app packaging format used by Microsoft for Microsoft App Store apps.
Microsoft.SecHealthUI: is the full name of Microsoft security package.
-AllUsers: Option is used to specify the package information to be retrieved for all users in the system.
|(pipeline): Helps pass the output of Get-AppxPackage to the command on the right side of the pipe.
Reset-AppxPackage: Reset related packages for all users in the system.
In summary, this command retrieves the Microsoftinformation.SecHealthUI package and resets or reinstalls the package.
- 執(zhí)行完上述命令后,重新啟動系統(tǒng)。
- 重新啟動后,再次以管理員身份打開PowerShell。
- 在終端提示符下輸入以下命令:
Add-Appx軟件包-注冊-DisableDevelopmentMode“C:WindowsSystemAppsMicrosoft.Windows.SecHealthUI_cw5n1h2txyewyAppXManifest.xml”
解釋:
Add-AppxPackage:在系統(tǒng)上添加或安裝APPX包。
-注冊:應(yīng)用程序安裝后進(jìn)行注冊。注冊過程包括將有關(guān)該程序包的信息添加到Windows應(yīng)用程序存儲庫并使其可用。
-DisableDevelopments模式:關(guān)閉開發(fā)模式;開發(fā)模式允許用戶打開帶有調(diào)試和部署選項的應(yīng)用程序,這種情況下不需要。
“C:WindowsSystemAppsMicrosoft.Windows.SecHealthUI_cw5n1h2txyewyAppXManifest.xml”:提到了AppXManifest.xml文件的路徑,該文件包含應(yīng)用程序的元數(shù)據(jù)和配置信息,如應(yīng)用程序的描述和顯示名稱。
總而言之,該命令在修復(fù)或重新安裝后注冊Microsoft.SecHealthUI和appx程序包。
執(zhí)行完上述命令后,重新啟動系統(tǒng),檢查是否出現(xiàn)錯誤。
3]運行DISM工具
損壞的系統(tǒng)映像也可能導(dǎo)致保護(hù)歷史記錄丟失。在這種情況下,運行DISM工具可以幫助解決問題。
4]檢查第三方軟件沖突
第三方應(yīng)用程序有時可能會與Microsoft Defender應(yīng)用程序發(fā)生沖突并限制其功能,因此可能不會顯示保護(hù)歷史記錄。在這種情況下,在干凈啟動狀態(tài)下對問題進(jìn)行故障排除也有助于解決錯誤。
我希望這篇文章能幫助解決這個問題。
The above is the detailed content of Windows Security history is missing or not showing up in Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

InstallthedesiredlanguagepackviaSettings→Time&Language→Language®ion,ensuring"SetasmyWindowsdisplaylanguage"isselected.2.Changethesystemdisplaylanguageinthesamemenuandrestart.3.OpenControlPanel→Region→Administrativetab,click"

ResettheMicrosoftStoreviaSettingsbygoingtoApps>Installedapps,selectingMicrosoftStore,clickingAdvancedoptions,thenRepairandResetifneeded.2.Ifthatfails,re-registertheStoreusingPowerShellasadminwiththecommand:Get-AppXPackage-NameMicrosoft.WindowsStor

Without BootCamp, installing Windows on Mac is feasible and works for different chips and needs. 1. First check compatibility: The M1/M2 chip Mac cannot use BootCamp, it is recommended to use virtualization tools; the Intel chip Mac can manually create a boot USB disk and install it in partition. 2. Recommended to use virtual machines (VMs) for M1 and above chip users: Windows ISO files, virtualization software (such as ParallelsDesktop or UTM), at least 64GB of free space, and reasonably allocate resources. 3. IntelMac users can manually install it by booting the USB drive: USB drive, WindowsISO, DiskU is required

ToresolvenetworkconnectivityissuesinWindows,resettheTCP/IPstackbyfirstopeningCommandPromptasAdministrator,thenrunningthecommandnetshintipreset,andfinallyrestartingyourcomputertoapplychanges;ifissuespersist,optionallyrunnetshwinsockresetandrebootagain

ForIntel-basedMacs,useBootCampAssistanttocreateadual-bootsystemwithWindowsbypreparingaUSBdrive,downloadingaWindowsISO,partitioningthedisk,andinstallingWindowsalongsidemacOSwithsupportdrivers.2.ForAppleSiliconMacs(M1/M2/M3),usevirtualizationsoftwareli

DownloadtheWindowsISOfromMicrosoft’sofficialsite.2.CreateabootableUSBusingMediaCreationToolorRufuswithaUSBdriveofatleast8GB.3.BootfromtheUSBbyaccessingthebootmenuoradjustingBIOS/UEFIsettings.4.InstallWindowsbyselectingcustominstallation,choosingtheco

EnableAppLockerviaGroupPolicybyopeninggpedit.msc,navigatingtoApplicationControlPolicies,creatingdefaultrules,andconfiguringruletypes;2.Createcustomrulesusingpublisher,path,orhashconditions,preferringpublisherrulesforsecurityandflexibility;3.Testrules

Choose"Custom:InstallWindowsonly(advanced)"forfullcontrol,asitallowsacleaninstallthatremovesoldissuesandoptimizesperformance.2.Duringsetup,managepartitionsbydeletingoldones(afterbackingupdata),creatingnewpartitions,formatting(usingNTFS),ors
