First open Notepad and copy below code into it:
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
- Save the file as virus.exe.
- As soon as you will run this file you antivirus will detect it as software. If not then you need to change your program.
