Table of Contents
This tip is about the how to Use Microsoft Defender Antivirus from Command Prompt on Windows 10. So read this free guide, How to Use Microsoft Defender Antivirus from Command Prompt on Windows 10 step by step. If you have query related to same article you may contact us.
How to Use Microsoft Defender Antivirus from Command Prompt on Windows 10 – Guide
Windows has built-in antivirus to protect and keep your computer safe from malware. However, the antivirus needs to be accessed through “Settings” or by searching the “Start Menu”, which most professional users don’t like very much. If you’re one of them, Windows 10 lets you use Microsoft Defender Antivirus from the command line in Windows 10. It’s a pretty simple process and you just need to remember the command to use the antivirus or you can write it down. Once you got the hang of it, you wouldn’t go through the settings to run a scan, you would use the command to do that. This is significantly less time consuming than the traditional approach and just as effective, which is what attracts users.
With the Windows Defender command line you can do all the basic things like: For example, you can run different types of scans, list and restore quarantined files, add dynamic signatures and remove or update virus definitions. The Microsoft Defender antivirus program – also known as Windows Defender – included with Windows 10 has a command-line interface. Instead of using the Windows Security graphical app, you can run Windows 10’s built-in antivirus from Command Prompt, PowerShell, or Windows Terminal.
How to use Microsoft Defender Antivirus from command prompt in Windows 10
Running a Quick Virus Scan with Command Prompt
A quick virus scan looks for malware and viruses in folders and the Windows Registry rather than the entire system, which makes it a little less effective than a full scan, but if you’re short on time, this might be your option. .
Running a Full Virus Scan with Command Prompt
A full virus scan is comprehensive and scans your system thoroughly for viruses and malware. This scan is more time consuming than a quick scan, but it should be performed periodically to keep your computer and data safe.
Running a Custom Virus Scan with Command Prompt
Often, the need arises to check a specific folder or location on your hard drive. To do this, you don’t necessarily need to run a full scan, instead you can check that specific location using the command prompt. To run a custom virus scan, enter the following command in the ‘Command Prompt’.
All you have to do is replace ‘Address’ in the above command with the actual path of the folder or file you intend to check. For this article, we will check the folder with the following path. Likewise, you can use the address of the folder you want to check and add it to the command in place of ‘Address’.
Running a scan of the boot sector files
Your computer’s boot sector stores all the files responsible for booting.up. In case you are having trouble booting the system, you should run a scan of the boot sector files. This usually happens when a virus or malware infects the boot sector, affecting up. To run a boot sector scan, type the following command at the command prompt and press ENTER.
Restore file with command prompt
Microsoft Defender Antivirus quarantines files that could harm your computer, however, you may need them later and want to restore/recover the file. This can also be done using a few simple commands at the command prompt. Also, sometimes the antivirus moves certain files that we trust to the quarantine folder, another reason to know how to restore files. Before starting to restore files, you will first need to view the list of files that have been quarantined. Use the following command to view these files.
Once you have the list of files or program names that have been quarantined, you can restore it using the following command by replacing ‘File’ in the command below with the name of the application or file you want to restore.
Updating Microsoft Defender Antivirus Using Command Prompt
Windows checks for updates for Microsoft Defender Antivirus regularly and updates it if one is available, but you can also check for it using the command prompt. This increases its effectiveness by adding new viruses and malware to the list, making your system more secure than ever. To update Microsoft Defender Antivirus, type the following command and press ENTER.
The update will start right after you press ENTER and will continue until the signature update is complete.
Final note
I hope you like the guide How to Use Microsoft Defender Antivirus from Command Prompt on Windows 10. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.