I\'m creating new login in SQL Server 2008 with following sql script:
CREATE LOGIN [xyz] WITH PASSWORD=\'xyz\', DEFAULT_DATABASE=[master], DEFAULT_LA
Login with Administrator in SQL Server Go to Securities >> Logins >> select your user name and go to properties
From Status >> uncheck user account lock check box Change password for the user Restart the sql server and login with your username.