How to reinstall windows security properly and safely?

DarkUrbit 0 Reputation points
2023-10-18T08:15:28.34+00:00

Hello, i would like to know how to reinstall my window security safely

i will describe my problem in there

ive just download a unknown app from google and when i feel unsafe i scanned my pc but when i restart back the window security say: "security at a glance". i was confused and worried about that, i looked up on youtube for a tutorial but when i downloaded the Windows Security Service.reg or something i dont remember and then i restart my pc again and its weird because its only have 3 features, its missing. back then my window security have all of it features. so i want to reinstall window security safely again. please help, i signed up to windows tooUser's image

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,983 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wesley Li-MSFT 4,506 Reputation points Microsoft Vendor
    2023-12-15T08:51:41.1133333+00:00

    Hello

    I understand your concern. Here are the steps to reinstall Windows Security:

    Reset Windows Security App from Start Menu:

    Press the Win+I key on the keyboard to open Settings.

    Click on settings on the left side.

    Under Installed apps, search for Windows Security.

    Click on the 3 dots and select Advanced option.

    On the next page, click on the button in Settings. Click on to confirm. You can now exit Settings.

    Reset Windows Security App in PowerShell:

    Press Windows key + X to open the Power User Menu on the keyboard to launch PowerShell.

    In the PowerShell console, type in or copy and paste the command below and hit Enter: Get-AppxPackage Microsoft.Windows.SecHealthUI | Reset-AppxPackage

    Once the command executes, you can exit the PowerShell console.

    Reinstall and re-register Windows Security App in Command Prompt:

    Press Windows key + R to invoke the Run dialog.

    In the Run dialog box, type and hit Enter to open Command Prompt.

    In the command prompt window, type or copy and paste the command below and hit Enter: PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.Windows.SecHealthUI).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

    After following these steps, restart your computer and check if Windows Security is working properly. If the issue persists, you may need to perform a Repair Upgrade. Please remember to back up your data before proceeding with any system changes. Stay safe!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.