Some useful Windows commands to use in the cmd window. Get information about your user.

Posted: May 20, 2014. At: 2:09 PM. This was 4 years ago. Post ID: 7297
Page permalink: http://securitronlinux.com/bejiitaswrath/some-useful-windows-commands-to-use-in-the-cmd-window-get-information-about-your-user/

Now, we must convince Congress to stop the FCC. Can you display an alert?

This command lists the information about your user.

C:\Users\homer>net user Administrator
User name                    Administrator
Full Name
Comment                      Built-in account for administering the computer/domain
User's comment
Country code                 000 (System Default)
Account active               No
Account expires              Never
 
Password last set            11/2/2006 11:08:15 PM
Password expires             Never
Password changeable          11/2/2006 11:08:15 PM
Password required            Yes
User may change password     Yes
 
Workstations allowed         All
Logon script
User profile
Home directory
Last logon                   11/2/2006 11:02:01 PM
 
Logon hours allowed          All
 
Local Group Memberships      *Administrators
Global Group memberships     *None
The command completed successfully.

This command gives you information about your system user account settings.

C:\Users\homer>net accounts
Force user logoff how long after time expires?:       Never
Minimum password age (days):                          0
Maximum password age (days):                          42
Minimum password length:                              0
Length of password history maintained:                None
Lockout threshold:                                    Never
Lockout duration (minutes):                           30
Lockout observation window (minutes):                 30
Computer role:                                        WORKSTATION
The command completed successfully.

Use this command to get system information about your Windows Vista Ultimate machine.

C:\Users\homer>net config workstation
Computer name                        \\HOMER-PC
Full Computer name                   homer-PC
User name                            homer
 
Workstation active on
        NetbiosSmb (000000000000)
 
Software version                     Windows Vista (TM) Ultimate
 
Workstation domain                   WORKGROUP
Logon domain                         homer-PC
 
COM Open Timeout (sec)               0
COM Send Count (byte)                16
COM Send Timeout (msec)              250
The command completed successfully.

Use the net help command to get information about this utility.

C:\Users\homer>net help
The syntax of this command is:
 
NET HELP
command
     -or-
NET command /HELP
 
  Commands available are:
 
  NET ACCOUNTS             NET HELPMSG              NET STATISTICS
  NET COMPUTER             NET LOCALGROUP           NET STOP
  NET CONFIG               NET PAUSE                NET TIME
  NET CONTINUE             NET PRINT                NET USE
  NET FILE                 NET SESSION              NET USER
  NET GROUP                NET SHARE                NET VIEW
  NET HELP                 NET START
 
  NET HELP NAMES explains different types of names in NET HELP syntax lines.
  NET HELP SERVICES lists some of the services you can start.
  NET HELP SYNTAX explains how to read NET HELP syntax lines.
  NET HELP command | MORE displays Help one screen at a time.

The ipconfig command gives you information about your network IP addresses.

C:\Users\homer>ipconfig
 
Windows IP Configuration
 
 
Ethernet adapter Local Area Connection:
 
   Connection-specific DNS Suffix  . : waggit.local
   Link-local IPv6 Address . . . . . : fe80::b82b:a3c1:8ef6:30da%8
   IPv4 Address. . . . . . . . . . . : 172.18.31.53
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 172.18.31.1
 
Tunnel adapter Local Area Connection* 6:
 
   Connection-specific DNS Suffix  . : waggit.local
   Link-local IPv6 Address . . . . . : fe80::5efe:172.18.31.53%9
   Default Gateway . . . . . . . . . :
 
Tunnel adapter Local Area Connection* 7:
 
   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6ab8:2ca7:2e12:53ed:e0ca
   Link-local IPv6 Address . . . . . : fe80::2ca7:2e12:53ed:e0ca%10
   Default Gateway . . . . . . . . . : ::

Find more information about the net use command here: http://technet.microsoft.com/en-us/library/bb490717.aspx. These commands should be very helpful to any Windows user who likes to use CMD.

No comments have been made. Use this form to start the conversation :)

Leave a Reply