We don’t recommend removing a virus using the command prompt unless you’re an experienced computer user or it’s the last resort. Run your computer inSafe Mode and try the following steps:
Type cmd in the search bar.
Run Command Prompt as an administrator.
Type attrib -s -h -r /s /d *.* and press the Enter key.
Type dir and press the Enter key to see all the files in the drive.
Identify files that are viruses by examining their extensions.
Use the del command to delete suspicious files.
Restart your computer.