How to Find and Remove virus Using the Attrib Command

preview_player
Показать описание
We teaches you how to find and remove a virus that you know by name from your Windows computer. To do so, you'll use the Command Prompt program.
steps
1-Open the Start menu. Click the Windows logo in the bottom-left corner of the screen, or press the ⊞ Win key on your keyboard.
2-Type command prompt into the "Search" field. Doing so will search your computer for the Command Prompt app, which will pop up at the top of the search menu.
3-Right-click Command Prompt. It resembles a black box. Doing this will invoke a drop-down menu.
4-Click Run as administrator. It's near the top of the drop-down menu. Doing so will open Command Prompt with administrator privileges.
5-Type in your directory's name. This will typically be the letter on the disk drive (e.g., "C:").
6-Press ↵ Enter. This will change the Command Prompt's search location to your selected directory.
7-Type attrib -r -a -s -h *.* into Command Prompt. The "attrib" command forces all hidden, read-only, archived, and system files to display in Command Prompt, and the "-r -a -s -h *.*" section of the command removes these attributes from non-legitimate files.
8-Press ↵ Enter. Doing so will display all previously hidden system files' names.
9-Scroll up to find your virus. If you know the virus' name, you'll simply need to scroll up to it. Otherwise, look for files ending in ".inf" and ".exe" that don't look familiar.
10-Type del [file name] and press ↵ Enter. Doing so will remove the virus from your computer.
11-Close Command Prompt. The virus should no longer affect your system. You may even notice a slight increase in computer running speed or app response time.
#windows11 #windows7 #cmd #commandprompt #virus #attrib #command
Рекомендации по теме