Powered by Blogger.
RSS
Showing posts with label Troubleshooting. Show all posts
Showing posts with label Troubleshooting. Show all posts

How To Delete Common Malware (Recycler) Using CMD




 Recycler is a malware or virus that creates shortcuts in a folder called "RECYCLER". It changes the attributes of the folder or a file into a hidden attribute and continue to resurface itself when deleted. External storage devices are prone to be infected easily with this kind of virus. Below is a step by step approach on how to handle this very situation.


Requirements: Infected external storage device such as usb flash drives or pc hard disk with recycler.

Step 1
Insert the affected external storage device i.e the external storage device that is infected with the recycler malware into a pc that has windows platform.

Step 2
Type "cmd.exe" in the search bar. Right click on the cmd.exe and click run as an administrator.

Step 3
Check the drive letter of the external storage device.

Step 4
Type the following command in the command line interface: 
atrrib -r -s -h /s /d F:\*.* 
and press enter.
Note that F is the drive letter of the external storage device that I used and it varies, yours might be different.

Step 5 
Wait for a while for the command to work on the malware on your external storage device and when it is done, exit the windows Command Line Interface (cmd).

Step 6
Navigate to your external storage device in "My computer" and check all your folders and files that was lost. If the command successfully worked on your storage device, all your missing files and folder will be restored back to your storage device together with their shortcuts created earlier by the malware.

Step 7
Lastly, all you need to do is highlight all the shortcuts in the external storage device and delete them permanently by pressing shift+delete.

 

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

How To Use The Traceroute Command

Traceroute is a command which can show you the path a packet of information takes from your computer to one you specify. It will list all the routers it passes through until it reaches its destination, or fails to and is discarded. In addition to this, it will tell you how long each 'hop' from router to router takes.


Step 1
In Windows, select Start > Programs > Accessories > Command Prompt. This will give you a window like the one below.

Step 2
Enter the word tracert, followed by a space, then the domain name.
The following is a successful traceroute from a home computer in New Zealand to mediacollege.com:
Firstly it tells you that it's tracing the route to mediacollege.com, tells you the IP address of that domain, and what the maximum number of hops will be before it times out.

Next it gives information about each router it passes through on the way to its destination.

1 is the internet gateway on the network this traceroute was done from (an ADSL modem in this case)
2 is the ISP the origin computer is connected to (xtra.co.nz)
3 is also in the xtra network
4 timed out
5 - 9 are all routers on the global-gateway.net.nz network (the domain that is the internet gateway out of New Zealand)
10 - 14 are all gnaps.net in the USA (a telecom supplier in the USA)
15 - 17 are on the nac network (Net Access Corporation, an ISP in the New York area)
18 is a router on the network mediacollege.com is hosted on
and finally, line 19 is the computer mediacollege.com is hosted on (sol.yourhost.co.nz)

Each of the 3 columns are a response from that router, and how long it took (each hop is tested 3 times). For example, in line 2, the first try took 240ms (240 milliseconds), the second took 421 ms, and the third took 70ms.
You will notice that line 4 'timed out', that is, there was no response from the router, so another one was tried (202.50.245.197) which was successful.
You will also notice that the time it took quadrupled while passing through the global-gateway network.

This is extremely useful when trying to find out why a website is unreachable, as you will be able to see where the connection fails. If you have a website hosted somewhere, it would be a good idea to do a traceroute to it when it is working, so that when it fails, you can do another traceroute to it (which will probably time out if the website is unreachable) and compare them. Be aware though, that it will probably take a different route each time, but the networks it passes through will generally be very similar.

If the example above had continued to time out after line 9, you could suspect that global-gateway.co.nz was the problem, and not mediacollege.com.
If it timed out after line 1, you would know there was a problem connecting to your ISP (in this case you would not be able to access anything on the internet).

It is generally recommended that if you have a website that is unreachable, you should use both the traceroute and ping commands before you contact your ISP to complain. More often that not, there will be nothing to your ISP or hosting company can do about it.

Read more about the ping command.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

How to use the ping command in the Command Line Interface.

 
Pinging is a command which tells you if the connection between your computer and a particular domain is working correctly. Read on to learn how to use the ping command  in the CLI (Command Line Interface) to check if connection is established between your PC and a particular domain.



Step 1
In Windows, select Start > Programs > Accessories > Command Prompt. This will give you a window like the one above.

Step 2
Enter the word ping, followed by a space, then the domain name.

Step 3
If the results show a series of replies, the connection is working. The time shows you how fast the connection is.

Note:
If you see a "timed out" error instead of a reply, there is a breakdown somewhere between your computer and the domain. In this case the next step is to perform a traceroute.

Learn more about traceroute, read this post How To Use The Traceroute Command.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

How To Turn On/Off Hibernate on Windows OS


Having problems with hibernate? Some windows OS have the hibernate function turned off, so you might be wondering if your system have a problem when you don't see the hibernate option. But be rest assured all you need to do is to turn it on and I will show you how through the command prompt.



Steps
    1. Using your mouse, navigate to the start menu at the bottom left corner of your screen or press the windows button on your keyboard.

     
           2.  Type cmd (command prompt) on the search bar. 

           3.  Right click the first option cmd and click on the Run as administrator.

         
              4.  A user account control security alert will pop up, click on Yes to accept. 

              5.  Type in the command prompt powercfg hibernate on then press enter.

             

                   6.  Close the window and check your hibernate option.

              • Digg
              • Del.icio.us
              • StumbleUpon
              • Reddit
              • RSS