Skip to main content

Ad

How To clean a virus from a Windows PC using command prompt?


1.
Restart your computer.Before the Windows logo appears, press the F8 key multiple times until you see the Advanced Boot Options menu. Select "Safe Mode" from the list using the arrow keys and press Enter.

2. After your computer boots into Safe Mode, log in to your user account. Press the Windows key + R to open the Run dialog box. Type "cmd" and press Enter to open the Command Prompt.

3. In the Command Prompt, type the following command and press Enter: sfc /scannow. The System File Checker will scan your system files for any errors or corrupt files and attempt to repair them.

4. In the Command Prompt, type the following command and press Enter: DISM /Online /Cleanup-Image /RestoreHealth. DISM will check your system image for any issues and try to repair them.

5. While still in Safe Mode, you can use the command-line version of your installed antivirus software to scan for and remove viruses. The specific command may vary depending on your antivirus software, so consult the documentation or support resources for your antivirus program. As an example, for Windows Defender, you can use the following command: MpCmdRun.exe -Scan -ScanType 3

6. After the antivirus scan is complete and any threats are removed, restart your computer normally. Allow your computer to boot into the regular Windows mode.

Comments

Most Popular

How to create Cross Reference in MS Word?

Set up the cross-reference target:     1. Place your cursor where you want the cross-reference to point. This is usually the location you want the reference to appear.     2. Create a bookmark at the target location by going to the "Insert" tab in the ribbon, clicking on "Bookmark" in the "Links" group, and giving it a name. Remember the name you assigned to the bookmark.    Insert the cross-reference:     1. Place your cursor where you want the cross-reference text to appear.     2. Go to the "References" tab in the ribbon.     3. In the "Captions" group, click on "Cross-reference." A dialog box will appear.     4. In the dialog box, under "Reference type," select the type of item you want to reference (e.g., heading, bookmark, figure, table, etc.).     5. In the "Insert reference to" section, choose the desired option (e.g., heading text, page number, etc.).     6. In the "For which bookmark" se

How To install Linux on your computer?

1. Choose a Linux distribution: There are many Linux distributions available, each with its own features and target audience. Popular choices include Ubuntu, Fedora, Debian, and Linux Mint. Research different distributions and choose the one that best suits your needs. 2. Download the Linux distribution: Visit the official website of the chosen Linux distribution and download the installation ISO file. Make sure to download the version compatible with your computer's architecture (e.g., 64-bit or 32-bit). 3. Create a bootable USB drive: You will need a USB flash drive with sufficient capacity (usually at least 4GB) to create a bootable installation media. Use a tool like Rufus (Windows) or balenaEtcher (Windows, macOS, Linux) to create a bootable USB drive from the downloaded ISO file. 4. Backup your data: Before proceeding with the installation, it's essential to back up any important data on your computer. While the installation process itself shouldn't delete your fil

How to Short in Microsoft Excel Worksheet?

It is very easy to "Sort" in Microsoft Excel.  To dot that- 1. .Select the range of cells or specific column that you want to apply the "sort". 2. In the "Home" tab in the Excel ribbon select "Sort & Filter" group and then click on the "Sort" button. You can go to "Sort" button from the "Data" tab of excel ribbon.   3. The Sort dialog box will have different options : "Sort by": Choose the column or columns you want to sort by from the drop-down list. If you have selected the entire data range, Excel will automatically detect the headers and display them in the drop-down list. "Sort smallest to largest": It arranges the cells depending its values from smallest to largest. "Sort largest to smallest": It arranges the cells depending its values from largest to smallest. "Custom sort": Here we can arrange our data on the basis of specific column, specific order and and sp