p.s. Could you tell me what I should add in the batch file? If I want to use web browser to monitor it? I know I have to use the -api but I am not sure the syntax...
Thanks

Joe
I did not test it but when you look into the documentation then just add the param "-api 127.0.0.1:1880" or if you do not want access local then "0.0.0.0:1880" or which ever network you have configured. "0.0.0.0" means all networks so there you have to take care more for security so that no other can access it. The port number after the ":" can be any but greater than 1000 if not already used.
Scanning a miner for virus/backdoor is not an easy task because most virus scanner mark programs as virus when they use crypto libraries and miner like monero for CPU are often used by hackers to earn money these days.