No. A restart is not always required to remove threats.
For Microsoft Defender Antivirus updates, a restart is usually not required. A restart is only needed if required services cannot be stopped or required files are in use.
For malware removal, some threats can be cleaned immediately, and Windows Security may simply remove or quarantine them. If a threat is detected, the available actions can include:
- Remove – permanently deletes the software.
- Quarantine – moves it to a safe location so it cannot run.
- Allow – lets it run and stops future alerts for that item.
If the same threat still appears after restarting, two supported causes are described:
- The malware may be getting reinstalled by a hidden component, especially if it returns right after restart.
- The item may still be present in a folder such as Downloads even though Defender has already detected it and is tracking it.
A practical next step is to run an offline scan, which is specifically recommended for recurring or hidden malware:
- Open Start > Settings > Update & Security > Windows Security > Virus & threat protection.
- Under Current threats, select Scan options.
- Select Windows Defender Offline scan or Microsoft Defender Antivirus (offline scan).
- Select Scan now.
- Save open work first, because the PC will restart before the scan begins.
- After the scan completes, open Windows Security and check Protection history for the results.
If a detected file was previously allowed, Windows Security will not act on it again until it is removed from Allowed threats. In that case, open Allowed threats, select the item, and choose Don't allow.
If a full scan is offered after malware is found, it is recommended, but it can take several hours and may scan all fixed and removable drives. There is also a risk of some data loss when infected files are cleaned.
- Troubleshoot problems with detecting and removing malware
- Endpoint Protection client frequently asked questions
- Microsoft Malware Protection Engine deployment information
- Virus and Threat Protection in the Windows Security App
- Antivirus and antimalware software: FAQ
- Remove specific prevalent malware with Windows Malicious Software Removal Tool (KB890830)