Thursday, January 14, 2016

Basic Command Prompt syntaxes


1. To make a pendrive Bootable:

step-1:
Run your command prompt in Run as Administrator mode.

step-2:
DISKPART

step-3:
list disk.

step-4:
select your pendrive disk no
Eg:
select disk 1

step-5:
clean

step-6:
create partition primary.

step-7:
select partition 1

step-8:
active

step-9:
format fs= ntfs quick

step10:
exit. Now dont close the command prompt window till you copy your OS in pendrive.


2. How to make a normal user as Administrator using command Prompt.

step-1:
Run your cmd as Run as administartor.

                  Or
if not able to do that then Restart PC and keep pressing F8 and select safe mode with command Prompt.

step-2:
net localgroup administrators {youraccountname} /add

Here {youraccountname} is your user account.

That's All..!!

Basic Knowledge of operating computer
===================================================
http://www.gcflearnfree.org/windows7/managing-user-accounts-and-parental-controls/full/


How to set a static IP address for your computer in a network.
===================================================
http://www.howtogeek.com/howto/19249/how-to-assign-a-static-ip-address-in-xp-vista-or-windows-7/


3. How to create a new User account in windows 7 using Cmd.

step-1:

Run your cmd as Run as administartor.

                  Or
if not able to do that then Restart PC and keep pressing F8 and select safe mode with command Prompt.

step-2:

net user myusername /add

That's All..!!!

4. Some Information about the network you belongs to using Cmd.
1)How to get all Alive IP's from your network:
Ans:Open your command prompt and type arp-a and hit Enter.

2)How to get host name from IP
Ans:ping -a 192.168.1.179

3)How to get Mac Address
Ans:nbtstat -a 192.168.1.50
4)How to remotely ShutDown PC through CMD.
Ans: shutdown /s /t 0-------------this 0 represents 0secs.--shutdown
     shutdown /r /t 0-------------this 0 represents 0secs.--restart
5)How to get Change Window password in remote login.
Ans: first login then CTRL + ALT + END --for remote login.
CTRL + ALT + DELETE ---------------------for locally.
6)How to get all computer connected from your computer.
Ans: netstat -a and the command prompt will return a list of computers that your computer is connected to.
7)How to remotely shudown any computer within a network
Ans:Shutdown -m \\192.168.1. -r

8)How to get host name and IP from hostname
Ans:ping -a om-pc

9)How to get al users connected to the same network.
net view /all
https://superuser.com/questions/522296/windows-command-to-display-all-ip-addresses

10)Remote desktop full screen shortcut
      alt+ctrl+pausebreak

How to set any person as admin in the skype group:
/setrole live:de2da8f7d9302e3b MASTER





No comments:

Post a Comment

Things to carry while travelling

 Kapda 1)3 jeans. 2)5 chaddi. 3)4 short pant. 4)1 taulia. 5)1 Topi. 6)1 paijama. 7)3 T-shirt. 8)3 Shirt. 9)Ganji 5. 10)1 inner ware mota. Fr...