HackGh Community Forum

Log in

I forgot my password

Who Is Online?
Guests : 0
Hidden : 0
Registered : 0
Users Online :
Refresh View the whole list

Latest topics
Yesterday at 1:20 pm by akokono

» Instagram Account hacked
Sun Aug 06, 2017 7:17 pm by saudseidu

Sat Aug 05, 2017 7:22 pm by kbasante

» Watch Free 2CTV on any Vodafone line for the month of July
Thu Aug 03, 2017 2:45 pm by WhIPL4$h

» Tricks on How To Download Paid Android Apps For Free
Thu Jul 20, 2017 11:28 am by franknart12

» Psiphon Pro v125 [Subscribed] Cracked APK
Thu Jul 20, 2017 9:29 am by franknart12

» NSS posts over 91,000 service personnel for 2017/2018
Thu Jul 13, 2017 3:00 pm by chinesta10

» Kotoko team bus involved in accident
Thu Jul 13, 2017 1:00 pm by chinesta10

» Airtel Sika kokoo promo
Sun Jul 09, 2017 12:18 pm by willspanner

» My pc constantly gives me black screen and freezes when playing games
Sat Jul 08, 2017 1:10 pm by kbasante


2000  keepCalmAndLoveHACKGH4Life  Unlimited  Tigo  1  christian  6  9  HackGh  5  busy  30  3  7  free  8  black  books  dumsormuststop  browsing  2  10  cheat  4  11  unlocking  

Top posting users this month

Free counters!
Staff Online
Staff Online
Most Online179
Newest Member

You are not connected. Please login or register

 » Computer Tricks And Technology Tips » Pc ( Windows ) Tips & Downloads » 

Virus Removal with Command Prompt

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Virus Removal with Command Prompt on Sat Jul 26, 2014 3:11 pm


Virus is a computer program that can copy itself and infect your computer. These viruses can spread via USB/flash drive or from one computer to other computer by few written codes. There are many antivirus software available to remove viruses from computer. But there are some viruses or suspicious files which can’t be removed by any antivirus software. Some suspicious files such as autorun.inf initiate all the viruses in pc. These files must be removed for safe operation of your pc, because they may lead to data loss, software damages etc. Such viruses and files can be removed by using cmd. In this article we will discuss how to remove a virus using command prompt. Following steps can be used to remove a virus using command prompt from your computer.

Go to start menu and type “cmd” in the search box or Start>all programs>accessories>command prompt.

Open the infected drive such as write , g: to go to G drive.
Now type dir/w/a . It will show all the files of the drive including hidden files.

Locate AUTORUN.INF or any Virus and other suspicious files in the directory.

there was no virus in my drive so only autorun.inf is been highlighted.

Type command attrib -r –a –s –h to remove attributes of corresponding file.

Type del autorun.inf to delete autorun.inf file.

Now type del virus name.exe t delete it, eg : del newfolder.exe .

(You can also delete viruses by using following steps:

When you find an Autorun.inf file or any other unusual .exe file just rename it.

Syntax for rename is (rename filename.extension new name , for example: (rename autorun.inf virus) to rename autorun.inf file. Here I have renamed it by “virus”.

Now you can access the defected drive without affecting the virus.
To delete the renamed file go to the defected drive and select the file you renamed.

Now delete the harmful renamed files.)
You have deleted that virus successfully but sometimes virus resides in the Recycler folder.To locate this folder:

Type cd recycler command.

Again type dir/w/a to locate all file of the folder.
Identify malicious files and delete them using above commands.

Follow the above steps carefully and i think this information is enough to remove a virus using command prompt easily.

Note: Make sure that no other processes being running while performing these actions. Best of luck.

Last edited by whiplash on Sat Jul 26, 2014 3:42 pm; edited 1 time in total (Reason for editing : Misleading topic)

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum