howtothings.co.uk
Some hepful windows cmd commands - Printable Version

+- howtothings.co.uk (https://www.howtothings.co.uk)
+-- Forum: Computing (https://www.howtothings.co.uk/forumdisplay.php?fid=4)
+--- Forum: Hardware, Networking and Wireless (https://www.howtothings.co.uk/forumdisplay.php?fid=11)
+--- Thread: Some hepful windows cmd commands (/showthread.php?tid=1018)



Some hepful windows cmd commands - windows 7 was my idea - 29-09-2011

Here are some commands that will help you troubleshoot and do other things in the command line of windows operating systems.

Go to start>cmd

To test connectivity to devices use the ping command
Type ping then the ip address of the device.

Example - ping 192.168.1.1 [enter] 192.168.1.1 is usually the gateway address for your router so if its successful that means you have a successful connection from your pc to your router congrats!


To change a password, type "net user (username) *". Don't type the quotes, and do not forget the star.
To add a user, type "net user (username) /ADD". Don't type the quotes.
To delete a user, type "net user (username) /DELETE". Don't type the quotes.
Type in "net accounts/?" for help on the net accounts command. You can use this to force logoffs and set expiration times on user accounts.
If you need to do much more, try typing in all of the suggested net commands with a "/?" at the end. Try looking on a search engine for help on how to use the command.

Thanks. I will update this thread more later when i have time.




RE: Some hepful windows cmd commands - Mark - 29-09-2011

Ping is certain a useful tool, try adding "-t" into the syntax for a continuous ping, you can then see when the connection drops out rather than just if it's online.
Also might be worth noting that you need to be an administrator to use the net user commands. :happy


RE: Some hepful windows cmd commands - Clones - 11-11-2011

Can you explain it little, more its commands or guide?


RE: Some hepful windows cmd commands - Drumm - 11-11-2011

On linux it is automatically in an continuous ping automatically.. just sayin'


RE: Some hepful windows cmd commands - Mark - 13-11-2011


Hey Clones.

Quote:Can you explain it little, more its commands or guide?

Which ones do you need a little more explanation on?

Taken from the OP.

Quote:To test connectivity to devices use the ping command

So that's what the ping command does.

Quote:If you need to do much more, try typing in all of the suggested net commands with a "/?" at the end.

If I need to know a little more I can do that..

Quote:Try looking on a search engine for help on how to use the command.

or that.