Wednesday, October 30, 2013

Kill Processes using Command Prompt in windows machine

Kill Processes using Command Prompt in windows machine

Sometimes virus issue in system creates many problem and even it won't allow you to boot the system in safe mode or else to run any of the antivirus.

I found one work around to delete the tasks running. Which is a bit tricky to do using command prompt.

Here what I did. Opened command prompt (press Windows button + R)
1 - Disconnect from Internet if the system is connected over LAN or WIFI
2 - Type cmd then Enter.
3 - Type tasklist and press enter in the command prompt dialog box

See image
       (It will give you the all running processes list)
4 - Figure out the process name of that virus running, yes its a bit difficult to figure out still you can leave the default processes those normally runs on machine and to know detail about the process,
Click the link http://www.processlibrary.com/en/

5 - Once you find out the culprit. I mean the virus process name

Type in the command prompt taslkill /IM processname /F
Enter
i.e. taskkill /IM nvuvdie.exe /F

We can end task the process by using the PID also
i.e. taskkill /PID 2456 /F

To delete simultaneously more processes using PID

i.e. taskkill /PID 2456 4344 5456 /F

6 - Once you end task the running virus processes. Now there is a chance we can run any tool to clean the virus entries from the system else will have to do manually.
7 - To clean the virus entries manually. Go to run and type msconfig, then go to (startup tab) remove all the unwanted entries from there and also the entries in regedit and location in physical drive like in c:\program files or inside windows folder.
8 - Delete all the entries of virus from regedit and remove entries from msconfig startup tab and delete the installation folder.

9 - Now you are safe and hopefully we have deleted the all entries of virus and corresponding exe there in the machine.
10 - Download the free antimalware to do a full scan http://www.malwarebytes.org/products/malwarebytes_free/

Hope it will help you to get rid of virus entries. :)

Wednesday, October 9, 2013

Solution: How to reset the Windows 7 password

How to reset the Windows 7 password

1 - Boot from the Windows 7 CD/DVD

2 - Go and click " Repair your computer "

3 - Then Select " Command prompt " 

4 - Here System partition drive now changed to something other than C

5 - Find that like c: - Enter, type Dir, if you find the Windows folder then its fine else try with d:, e:

6 - Once you get into the System partition drive

7 - To keep backup of original file copy c:\windows\system32\sethc.exe c:\ (drive letter should be where Windows is installed)

8 - copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe (Then you’ll copy the command prompt executable (cmd.exe) over top of the sticky keys executable:)

9 - Now reboot the PC

10 - Once you get to the login screen, hit the Shift key 5 times, and you’ll see an administrator mode command prompt.

11 - net user durga MyNewPassword (durga - username, mynewpassword - type the new password)

12 - Now you can log in

13 - you’ll probably want to put the original sethc.exe file back, which you can do by rebooting into the installation CD, opening the command prompt, and copying the c:\sethc.exe file back to c:\windows\system32\sethc.exe.

Regards,
Durga

Saturday, August 31, 2013

Solution : yum "Couldn't resolve host 'mirrorlist.centos.org'" for CentOS 6

yum "Couldn't resolve host 'mirrorlist.centos.org'" for CentOS 6

Solution- sudo vi /etc/resolv.conf

Check the name server ip. else change it to
nameserver 4.4.4.4
nameserver 8.8.8.8

save and quit. That's it

Wednesday, July 31, 2013

To configure VPN connection using Junos Pulse in android devices

To configure VPN connection using Junos Pulse in android devices

1 - Find Junos Pulse app in android devices (gmail login required)

2 - Install it

3 - Configure with the server address, user name and password you have.

Then connect !

I have tested it on Samsung Galaxy and its perfect !

Thursday, June 13, 2013

Installation of MySql Server on MAC and my.cnf file does not exist” error on MySQL Workbench

To install MySql Server on MAC

1 - Download installer from this link - http://dev.mysql.com/downloads/mysql/#downloads

2 - Install it 

3 - Run the server setup wizard 
 
4 - You may need to restart the MAC to start the MySql service.

5 - After restart start the server setup wizard again

6 - Download and Install MySql workbench from the MySql site

7 - Open MySql and create a local server instance 

8 - Follow the steps and you may get an error at the end like "my.cnf file does not exist” error on MySQL Workbench "

9 - To resolve this, go to this location cd /usr/local/mysql/support-files/

10 - Copy using this command sudo cp my-huge.cnf /etc/my.cnf

11 - Then run the local server instance from Mysql Workbench again

That's it 

Durga