Password reset for Windows machine using linux tool

In my earlier post , I have mentioned using ubuntu we can change the windows password using the command chntpw. Update to that there is a tool of chntpw which comes with bootable iso and makes the job easier.

Today I tried with this tool and reset the Administrator password for windows 2003 server. (Local account not domain admin).

Please find the application and procedure enclosed.

Application: –


More info:


Alternate command for Net Send

An alternate command for Net Send in windows is msg.

Net send command normally we use to send message from one computer to another computer.

In Vista  Microsoft introduce an alternate command called msg.

Eg: c:\>msg  /server: servername or IPaddress   Message

For more info:

C:\>msg  /?

Send a message to a user.

MSG {username | sessionname | sessionid | @filename | *}

[/SERVER:servername] [/TIME:seconds] [/V] [/W] [message]

username            Identifies the specified username.

sessionname         The name of the session.

sessionid           The ID of the session.

@filename           Identifies a file containing a list of usernames,

sessionnames, and sessionids to send the message to.

*                   Send message to all sessions on specified server.

/SERVER:servername  server to contact (default is current).

/TIME:seconds       Time delay to wait for receiver to acknowledge msg.

/V                  Display information about actions being performed.

/W                  Wait for response from user, useful with /V.

message             Message to send.  If none specified, prompts for it

or reads from stdin.


ITIL Certifications


Microsoft Certifications


RedHat Certifications









Easiest way to lock or unlock the user account in Linux

We traditionally use to lock an user account in Linux by doing “username:x:Pr.Group:Sec.Group ::/home/username: /sbin/nologin” in /etc/passwd file.

There is an easy way to lock and unlock the user account in Linux. The syntax given below

#passwd –l username —à to lock the account

#passwd –u username —à to unlock the account

To know the passwd creation date for the users

# passwd -S -a; this will list the dates along with users when the password was created.

For more interesting info about passwd # man passwd