ms sql server error 15195 – SQLSERVERLEARNER https://sqlserverlearner.com LEARN SQL SERVER ONLINE Mon, 04 Jun 2012 09:24:45 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 SQL Server error 15195 – The MUST_CHANGE option is not supported by this version of Microsoft Windows. https://sqlserverlearner.com/2012/06/04/sql-server-error-15195-the-must_change-option-is-not-supported-by-this-version-of-microsoft-windows/ https://sqlserverlearner.com/2012/06/04/sql-server-error-15195-the-must_change-option-is-not-supported-by-this-version-of-microsoft-windows/#respond Mon, 04 Jun 2012 09:24:45 +0000 https://sqlserverlearner.azurewebsites.net/2012/06/04/sql-server-error-15195-the-must_change-option-is-not-supported-by-this-version-of-microsoft-windows/ Error Message:
The MUST_CHANGE option is not supported by this version of Microsoft Windows.

Fix/Resolution:
If you are creating user using the UI then Uncheck User Must Change Password at Next Login option as schown below.

Uncheck User Must Change Password at Next Login

If you are using the script to create user then remove the word MUST_CHANGE from the syntax.
[sql]
CREATE LOGIN [username] WITH PASSWORD=N’pa@Ssword’ MUST_CHANGE, DEFAULT_DATABASE=[master], CHECK_EXPIRATION=ON, CHECK_POLICY=ON
[/sql]

After:
[sql]
CREATE LOGIN [username] WITH PASSWORD=N’pa@Ssword’ , DEFAULT_DATABASE=[master], CHECK_EXPIRATION=ON, CHECK_POLICY=ON
[/sql]

]]>
https://sqlserverlearner.com/2012/06/04/sql-server-error-15195-the-must_change-option-is-not-supported-by-this-version-of-microsoft-windows/feed/ 0