Thursday, 6 August 2015

How to map System IP and Switch port

Many times it is required to get the trace from system IP to switch port it is plugged in. It can be for MAC binding or for other security reasons. So, tracing LAN cable manually from each system to switch can be a tedious task plus it is not the smart way to perform this. So, today I will tell you how you can easily map IP-MAC easily from any terminal emulator program.Here, I will proceed with Putty.

Before beginning, I assume your switch is a layer 2 device, i.e it can perform only switching.

So, connect to your Router and Switch through Putty separately. In router window, type sh arp or sh ip arp. This will give you a list of all devices IP which is connected to router along with their MAC addresses.



And in switch window, type sh mac address-table. This will generate a list of all devices' MAC address along with the port they are associated.



Now, just map system and port number with the help of matching MAC addresses. Simple.

Happy to help!!

Tuesday, 28 July 2015

How to make a bootable USB via CMD in simple steps

Before starting, you should have Windows ISO image, which you want to install, or Windows DVD, plus a USB of at least 4GB.

So, here are the steps:
  • Run CMD with Administrator privileges.
  • Type 'diskpart'. Diskpart utility is used to manage disks, partitions or volumes via script or direct command prompt.
  • Type 'list disk'. It will give you a list of all online disks attached.


  • Select your USB device with select disk command. (select disk 1)
  • Type following commands one by one: 
  1. create partition primary
  2. select partition 1
  3. active
  4. format fs= ntfs quick
  • Create bootsector in your USB now. For this, locate directory where you have stored Windows ISO image. Give path, (i.e. f:\Winiso)
  • Type 'cd boot'.
  • Type 'bootsect \nt60 H:'   (Replace H: with your USB mount letter)
  • Now copy Windows image to your USB with following commands:
           xcopy f:\Winiso\*.* /s/e/f H:
  • It will take about 15 minutes to copy.
  • That's it. Your bootable USB is ready.

Thursday, 30 April 2015

USB Not Showing Contents

Few days back, I handed over my sister USB full with bollywood movies as she was enjoying her holidays. But, later she called me and told that USB is blank. So, I started with the basic solution:

Synchronizing internal clock with server via CMD

Recently, in our organization we need to synchronize internal clock of our system with network server. Systems which were not in any domain were easily synchronized via internet time tab in clock settings.

Friday, 30 January 2015

Batch files are fun

A notepad is seem to be a simple text editor, but what it can do with file-name extension is so much fun. I am showing you some simple tips and tricks with '.bat' extension, what you can do to make the best out of it.

Thursday, 22 January 2015

Link Your Facebook And Twitter Account


In this fast moving world and so many social networks, wouldn't it be much simpler if you can link your fb status to twitter or make your tweets also your fb statuses. Yes that is possible. Today I am going to tell you how you can interlink your Facebook and twitter accounts.

Monday, 19 January 2015

Continuous PING Batch File


Hello friends, previously I told you about ping command for windows to test your link. Today, I am going to tell you about its batch file. 
Batch files are basically those text files which has a .bat extension to their filename and when opens cmd.exe executes them sequentially as they appear in .file.

Friday, 16 January 2015

Adding Another Email Account To Existing Gmail Account


Hello friends, In today's world it is very often that we are using more than one email provider services (Gmail, Hotmail, Rediffmail, etc.) or we have more than one account of single mail provider at the same time. So, we have to open and check each and every mail services individually. It is very tedious task to perform all this actions. So, today I am telling you a simple way to avoid opening each mail services differently.

Thursday, 15 January 2015

PING : Packet Internet Groper


Hello friends, I think you all are familiar with the  basic 'ping' command. If not, no need to worry, that's why I am here for.

Ping is windows console command used to test your network connectivity. It sends out ICMP (Internet Control Message Protocol) echo request and and listens to its reply to check physical or logical connectivity of  your internetwork.

Sunday, 11 January 2015

How to Shutdown a computer remotely


Many times it is required to shutdown a computer remotely. So, today I will tell you how you can perform this via console command/cmd.

    Open 'cmd' with Administrator Privilege. Type 'shutdown -m \\[computer name] or system ip'

Monday, 5 January 2015

Some Examples Of WMIC


WMIC stands for Windows Management Instrumentation Command Line. It is a tool assisting WMI. It is a resource which can be used to find out useful info about your system. You can search for aliases by typing '/?' .

Write 'wmic' on run command and press enter or write 'wmic' on console command. It gives a number of options when we type '/?' on wmic console.

Friday, 2 January 2015

How To Enable Remote Desktop Connection Remotely


Hello friends. When working as a network or system admin, u came across situation where you have to take a system on remote but RDP is not enabled on remote client. Oops!!!! What can be done now. Do we have to go in person there.

Thursday, 1 January 2015

How To Access Command Prompt Of Another System In Network


         Hello friends, many times there comes a situation where we have to access other system's command prompt, i.e to enable Remote Desktop connection, to see what processes are ongoing on that system, etc. Obviously, it will cost you some bucks and a lot of your time to manually go there, sat on system and then do your specified task.