in admin command prompt?
I installed a faulty program that deleted my windows defender
Hello, same as this thread:
I installed a faulty program which deleted my windows defender.. I ran FRST and will attach it below. https://drive.google.com/drive/folders/1JNDSz-cVonZ-AxJSSRKinzCK6iuT-heN?usp=share_link
Can someone please help me?
Windows for home | Windows 10 | Security and privacy
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
75 answers
Sort by: Newest
-
Anonymous
2024-12-24T16:15:17+00:00 -
Ramesh 181.6K Reputation points Volunteer Moderator2024-12-24T16:13:05+00:00 Run:
- del c:\windows\system32\recovery\reagent.xml /a
- md C:\Recovery\WindowsRE
- xcopy /h C:\Windows\System32\Recovery\winre.wim C:\Recovery\WindowsRE\
- reagentc /setreimage /path C:\Recovery\WindowsRE /target C:\Windows
- reagentc /enable
- reagentc /info
Then, run:
- diskpart
- sel disk 0
- sel part 3
- set id=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
- gpt attributes=0x0000000000000000
- exit
Post the output.
-
Anonymous
2024-12-24T16:07:42+00:00 did everything from above
-
Ramesh 181.6K Reputation points Volunteer Moderator2024-12-24T15:56:50+00:00 The disk might be faulty. Maybe you can clone it to Disk 1 (using third-party apps like Macrium) and discard Disk 0. In that case, backup the data on Disk 1 to an external drive beforehand.
(or)
Let's try another option. Moving WinRE to the OS partition might help.
Extract winre.wim from the install.esd/install.wim image in your USB setup disk.
See: https://answers.microsoft.com/en-us/windows/forum/windows_10-update/windows-10-updating-problems/9f1e8504-6461-4991-ad82-fcf64566a524?messageId=31b14158-c07e-4b87-be94-f66117f30c8d (Follow steps 3 to 7) No need to download the ISO as you have the USB setup disk already.
After extracting Winre.wim to the desktop, copy it to C:\Windows\System32\Recovery\
Let me know after completing the above steps.