Your Windows computer is infected with a virus or worse, you can’t even start it. If you own a CD or Ubuntu Live USB, you can use it to clean your PC and try to recover Windows.
Every Microsoft Windows user knows how easily the operating system is vulnerable to malware and viruses. If your Windows PC is infected with viruses, there are several ways to “clean up” your PC.
In this guide, Bestshares.net will show you how to clean your Windows computer from infected virus by using CD or Ubuntu Live USB and ClamAV antivirus software. ClamAV is a free and open source antivirus program that can be used on Ubuntu.
Remove viruses from Windows PC with Ubuntu Live USB
Before you begin, make sure that you have changed the BIOS settings on your computer to boot from USB or CD first. Now, start by inserting the Ubuntu Live drive (USB or CD) into the computer and then turning on the power.
Step 1: When the Ubuntu Install window appears, select the “Try Ubuntu” option.
Step 2: When the live Ubuntu session starts successfully, open a terminal and use the following command to update the Ubuntu repository.
sudo apt update
Step 3: To install ClamAV antivirus software on Ubuntu, you can use the following command:
sudo apt install clamav
Step 4: After the ClamAV antivirus software is installed successfully, you need to know the location of the Windows drive to perform the scan. You can find your Windows drive location by opening Ubuntu File Explorer and searching for Windows drive.
Step 5: After locating the Windows drive, right-click on the tab named Windows drive from the top panel in File Explorer and select the Properties option.
When the Properties window opens successfully, get the path and the drive letter from here, as you can see in the screenshot below.
Step 7: Now go back to the terminal, look for the path of the Windows drive, as shown in the screenshot below.
Step 8: Next, you can start scanning your Windows drive with the following command:
clamscan -r --bell -i WIN_DRIVE_PATH
The previous ClamAV scan command means searching for all infected files and giving notice when found.
After the ClamAV scan command finishes successfully, you will get a summary of the scanning process, as you can see in the screenshot above.
Here are some ClamAV scan options:
–Scan-mail = yes / no - Option to include mail files found during system scans.
–Remove = yes / no - Option to delete all scanned files or not. Be careful when using this option!
Step 9: To know more about the ClamAV scanning options, use the next command.
Hope you enjoy cleaning up your Windows system with Ubuntu Live USB.
Hope you are succesful.