8 Advanced Commands for Command Prompt users that Advanced Users should know:


Every now and then, we use our Windows PC’s or Laptops. That’s fine! Though, have you ever thought that you could do more……

Check it out!

 

Before we begin…

For opening command prompt in administrative mode, follow the steps:

  • Open start menu
  • Go to command prompt right click and select run as administrative

 

1.How to enable regular copy and paste commands in command prompt:

 

  • Run command prompt as administrator
  • Then, right click on the top and click on properties
  • For windows 7 and lower go to options and check “quick edit option”
  • For windows 8 and latter: Go to the experimental tab, then check “Enable experimental console features” And now check on “Enable new Ctrl key shortcuts”

 

2.How to find I.P address of your computer:

 

The command for finding the I.P of the computer you’re using is

          ipconfig /all

And for renewing the I.P address if your using Dynamic I.P

First you need to release the I.P address, for that

ipconfig/release 

Then to renew it

ipconfig/renew

 

 

3.How to find I.P address of a website:

 

To know the I.P address of a website? You can use the nslookup command

First, let’s use the nslookup command to find the IP address of apple.com:

Now, execute nslookup apple.com and view the result.

Now let’s try using the ping command to find it:

 

Execute ping apple.com and then look at the IP address between the brackets in the first                 line shown. Don’t worry if the ping command “times out” during execution; all we needed    here was the IP address.

You can use the same procedure with any website or any hostname on your local network.

 

4.How to speed up your internet connection:

 

There are two commands for this, you can use either Flushdns or Netsh int tcp

 

For using Flushdns type ipconfig/Flushdns. This will slow your connection down for sometime as it would have to find DNS for every website but there would definitely be a better browsing experience in longer run.

 

For using Netsh int tcp

 

Type this command in your command prompt window and observe carefully:

 

If you do not see Receive Window Autotuning level as ‘Normal’ as shown above then run the following command:

 

  • netsh int tcp set global autotuninglevel=normal

 

This command will set your TCP receive window to Normal from the disabled or restricted state. TCP receive window is one of the key factors in the internet download speed. Thus making the TCP receive window to ‘Normal’ will surely help you in increasing your internet speed.

 

After this command, let’s check for another parameter of Windows in terms of the slow internet connection called ‘Windows scaling heuristics’. To check for this parameter, type

 

  • netsh interface tcp show heuristics

 

Windows scaling heuristics disable to speed up internet using command prompt

 

Well, in my case, it’s disabled. However, in some case, you might it enabled. That means Microsoft in some ways, is trying to limit your internet connection. So avoid it and to get faster internet, type the below command and press enter:

 

  • netsh interface tcp set heuristics disabled

 

Once pressed enter, you will receive an ‘ok’ message and now your internet speed has surely got boosted up.

 

5.How to create a Wi-Fi hotspot on your computer:

 

First of all, you need to open Control Panel and find Change adapter settings in the Network and Sharing option. There, click on the connection you are using and click on Properties. Now find the sharing tab and check the option “Allow other network users to connect through this computer’s internet connection”.

To enable it use the next command (do not use the double inverted commas )

netsh wlan set hostednetwork mode=allow ssid=”yourWi-Fi ssid” key=”your password”

Then, to start the hotspot

netsh wlan start hostednetwork

To stop the hotspot,

netsh wlan stop hostednetwork

 

6.How to get all the connected Wi-Fi passwords:  

 

To see all the Wi-Fi the computer is connected to, use the command

  • Netsh wlan show profile

Now, to see the password of the Wi-Fi you wish to know about

(do not use the double inverted commas)

 

  • netsh wlan show profile “Wi-Fi-ssid” key=clear

 

7.How to hide any drive on your computer:

For this you need to use the command

  • Diskpart

Then type list volume and you will get all the names and numbers for the disks in the computer. Now, type select “whatever disk no. you choose”

Please also note the letter of the disk you have chosen

(do not use the double inverted commas)

 

Now, type remove letter “the letter of the disk you’ve chosen”

 

For getting the disk back follow the steps till select “whatever disk no. you choose”

And then assign “the letter of the disk you’ve chosen”

 

 

8.How to shutdown or restart other computers on the same network:

 

For shut downing some other computer on the same network you need to use the command shutdown/i

This would open a Remote shutdown dialog and just enter the name of the remote computer you wish to shutdown

And then just click OK.

 

With these tips on your list, you can do lots of cool stuffs. (Probably show off these cool tricks  to your friends and they’ll start giving you more attention!)