- Step 1:Search for “cmd” using the search bar, right-click the Command Prompt menu and then choose Run as administrator.
- Step 2:In the command prompt window, enter “drive_letter:” that you wish to scan and press Enter.
- Step 3:Input the command line “attrib –s –h –r /s /d *.*” and then press the Enter key.
- Step 4:Next, type “dir” and press Enter. Now, all the hidden files and folders of the drive will be listed.
- Step 5:Look for any suspicious virus file on the list.
- Step 6:Mostly, the virus contains the name ‘autorun’ or ‘.inf’ file extension.
- Step 7:If you want to delete the file, enter “del filename” where filename is the name of the suspicious file.
- Step 8:Close the command prompt window after removing virus files from the system.
- Step 9:By using these steps we can execute that how to remove virus from laptop without antivirus.