I accidentally ran query Change authentication mode (T-SQL) in sql server: USE [master] GO EXEC xp_instance_regwrite N\'HKEY_LOCAL_MACHINE\', N\'Software\\Microsoft\\MSS